float autocvar_g_touchexplode_edgedamage;
float autocvar_g_touchexplode_force;
float autocvar_g_invasion_round_timelimit;
-float autocvar_g_invasion_round_limit;
+#define autocvar_g_invasion_round_limit cvar("g_invasion_round_limit")
float autocvar_g_invasion_warmup;
float autocvar_g_invasion_monster_count;
float autocvar_g_invasion_zombies_only;
MUTATOR_HOOKFUNCTION(invasion_SetStartItems)
{
- start_armorvalue = 100;
+ start_health = 200;
+ start_armorvalue = 200;
return FALSE;
}
{
timelimit_override = 0; // no timelimit in invasion, round based
fraglimit_override = autocvar_g_invasion_round_limit;
- maxrounds = fraglimit_override;
- fraglimit_override = 0; // also no frag limit
MUTATOR_ADD(gamemode_invasion);
}
else
g_race_qualifying = 0;
}
+
+ if(g_invasion)
+ {
+ maxrounds = cvar("fraglimit");
+ cvar_set("fraglimit", "0");
+ }
if(g_race || g_cts)
{