MUTATOR_ADD(gamemode_ctf);
have_team_spawns = -1; // request team spawns
}
-
- if(g_td)
- {
- ActivateTeamplay();
- leadlimit_override = 0; // not supported by TD
- timelimit_override = 0;
- MUTATOR_ADD(gamemode_towerdefense);
- }
if(g_lms)
{
{
MUTATOR_ADD(gamemode_keepaway);
}
+
+ if(g_invasion)
+ {
+ timelimit_override = 0; // no timelimit in invasion, round based
+ fraglimit_override = autocvar_g_invasion_round_limit;
+ MUTATOR_ADD(gamemode_invasion);
+ }
if(teamplay)
entcs_init();
else
g_race_qualifying = 0;
}
+
+ if(g_invasion)
+ {
+ maxrounds = cvar("fraglimit");
+ cvar_set("fraglimit", "0");
+ }
if(g_race || g_cts)
{
modifications = strcat(modifications, ", Cloaked");
if(g_grappling_hook)
modifications = strcat(modifications, ", Hook");
- if(g_midair)
- modifications = strcat(modifications, ", Midair");
- if(g_pinata)
- modifications = strcat(modifications, ", PiƱata");
if(g_weapon_stay && !g_cts)
modifications = strcat(modifications, ", Weapons stay");
- if(g_bloodloss > 0)
- modifications = strcat(modifications, ", Blood loss");
if(g_jetpack)
modifications = strcat(modifications, ", Jet pack");
if(autocvar_g_powerups == 0)