]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - gamemodes.cfg
Fix spider freezing dead monsters/players
[xonotic/xonotic-data.pk3dir.git] / gamemodes.cfg
index f5509c64f6056d625a4c2769a5928f5c3930aa97..40e0f09873d50118a3e08102e398c280d778150e 100644 (file)
@@ -37,7 +37,7 @@ alias cl_hook_gamestart_nb
 alias cl_hook_gamestart_cts
 alias cl_hook_gamestart_ka
 alias cl_hook_gamestart_ft
-alias cl_hook_gamestart_td
+alias cl_hook_gamestart_invasion
 alias cl_hook_gameend
 alias cl_hook_activeweapon
 
@@ -59,7 +59,7 @@ alias sv_hook_gamestart_nb
 alias sv_hook_gamestart_cts
 alias sv_hook_gamestart_ka
 alias sv_hook_gamestart_ft
-alias sv_hook_gamestart_td
+alias sv_hook_gamestart_invasion
 alias sv_hook_gamerestart
 alias sv_hook_gameend
 
@@ -84,6 +84,7 @@ seta g_keyhunt_point_leadlimit -1     "Keyhunt point lead limit overriding the mapin
 seta g_race_laps_limit -1      "Race laps limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
 seta g_nexball_goallimit -1 "Nexball goal limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
 seta g_nexball_goalleadlimit -1 "Nexball goal lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
+seta g_invasion_round_limit -1 "Invasion round limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
 
 
 // =================================
@@ -91,7 +92,7 @@ seta g_nexball_goalleadlimit -1 "Nexball goal lead limit overriding the mapinfo
 // =================================
 // when variables are set to anything other than 0, they take over the global setting...
 // to force disable delay or waves, set them to 0.125
-set g_ctf_respawn_delay 0
+set g_ctf_respawn_delay 5
 set g_ctf_respawn_waves 0
 set g_ctf_weapon_stay 0
 set g_dm_respawn_delay 0
@@ -136,9 +137,9 @@ set g_cts_weapon_stay 2
 set g_ft_respawn_waves 0
 set g_ft_respawn_delay 0
 set g_ft_weapon_stay 0
-set g_td_respawn_waves 0
-set g_td_respawn_delay 0
-set g_td_weapon_stay 0
+set g_invasion_respawn_waves 0
+set g_invasion_respawn_delay 0
+set g_invasion_weapon_stay 0
 
 
 // =======
@@ -426,37 +427,11 @@ set g_race_qualifying_timelimit 0
 set g_race_qualifying_timelimit_override -1
 set g_race_teams 0     "when 2, 3, or 4, the race is played as a team game (the team members can add up their laps)"
 
-// ===============
-//  tower defense
-// ===============
-set g_td 0 "Tower Defense: protect the generator/s from waves of monsters"
-set g_td_force_settings 0 "if enabled, don't use map settings (monster count, start wave etc.)"
-set g_td_start_wave 1
-set g_td_generator_health 700
-set g_td_generator_damaged_points 20 "player loses this many points if the generator was damaged during the wave"
-set g_td_current_monsters 10 "maximum monsters that can be spawned simultaneously"
-set g_td_monster_count 10
-set g_td_monster_count_increment 5
-set g_td_buildphase_time 20
-set g_td_generator_dontend 0 "don't change maps when a generator is destroyed (only if there is more than 1 generator)"
-set g_td_pvp 0
-set g_td_monsters_skill_start 1 "set to 0 to use g_monsters_skill instead"
-set g_td_monsters_skill_increment 0.1
-set g_td_monsters_spawnshield_time 2
-set g_td_monsters_ignore_turrets 0
-set g_td_max_waves 8
-set g_td_kill_points 5
-set g_td_turretkill_points 3
-set g_td_turret_max 4
-set g_td_turret_plasma_cost 50
-set g_td_turret_mlrs_cost 80
-set g_td_turret_walker_cost 100
-set g_td_turret_towerbuff_cost 70
-set g_td_turret_barricade_cost 20
-set g_td_turret_flac_cost 40
-set g_td_turret_upgrade_cost 100
-set g_td_turret_repair_cost 20
-set g_td_barricade_damage 10
-set g_td_monsters_speed_walk 150
-set g_td_monsters_speed_run 170
-set g_td_monsters_spawn_delay 1.5
+// ==========
+//  invasion
+// ==========
+set g_invasion 0 "Invasion: survive against waves of monsters"
+set g_invasion_round_timelimit 120 "maximum time to kill all monsters"
+set g_invasion_warmup 10 "time between waves to prepare for battle"
+set g_invasion_monster_count 10 "number of monsters on first wave (increments)"
+set g_invasion_zombies_only 1 "only spawn zombies"