//******************************************************************************
// G E N E R A L     G A M E T Y P E    S E T T I N G S
//******************************************************************************
//There are curently 3 types of BTD gametypes
// elim = Elimination - Players fight against waves of angry zombies
// ons = Onslaught - Zombies keep Spawning till everyone is dead or time limit is reached
// sur = SURVIVAL - Players fight against timed waves of angry zombies
//Make sure the map rotation matches this value!   
set g_gametype "sur"


//******************************************************************************
// E L I M I N A T I O N     S E T T I N G S
//******************************************************************************

// Number of player respawns
set scr_elim_numlives "3"

// Respawn delay
set scr_elim_playerrespawndelay "2"

// Grace time in seconds ( Range = 10 - 300 | Default = 60 )
set scr_elim_grace_time "60"

// Time between each zombie spawn (Range: 0.05 - 5 | Default 0.5)
set scr_elim_zom_spawn_delay "0.05"

// Use automatic spawn delay based on player count instead of the above^ ( 1 = On, 0 = off | Default = On )
set scr_elim_zom_delay_auto "0"

// Zombie kill points: current wave # multiplied by scr_elim_point_scale value. ( Range = 0 - 100 | Default = 0 )
// Kicks in at wave 2. Setting to zero disables this.
set scr_elim_point_scale "50"

// Spawn a boss zombie at end of each wave. ( 1 = On, 0 = Off | Default = On )
set scr_elim_end_boss "1"

// How many bosses to spawn at end of wave. ( Range = 1 - 10 | Default = 1 )
set scr_elim_end_boss_count "10"

// Number of zombie waves ( Range = 5 - 10 | Default = 5 )
set scr_elim_num_waves "10"

// Number of start zombies used when wave settings are set to 1 ( Range = 5 - 100 | Default = 50 )
set scr_elim_start_zoms "30"

// Max number of zombies on the map at once ( Range 10 - 100 | Default 32 )
set scr_elim_max_zoms "35"

// Max number of zombies on screen plus wave number ( Range 10 - 100 | Default 26 )
// Usage: scr_elim_max_zoms -minus- scr_elim_num_waves = scr_elim_min_zoms
// To disable set the same as scr_elim_max_zoms
set scr_elim_min_zoms "30"

// Wave settings ( 1 = Dynamic, 2 = Custom | Default = Dynamic )
// Dynamic = based on number of players and wave number
// Custom = admins can set number of zoms per wave with a max of 10 waves
set scr_elim_wave_settings "1"

// Dynamic Factor - increasing this will make more zombies per player per wave ( Range = 5 - 15 | Default = 5 )
set scr_elim_dynamic_factor "15"

// next 10 dvars for custom number of zombies per wave ( Range = 10 - 10000 | Default = Wave x 100 )
set scr_elim_zoms_wave1 "500"
set scr_elim_zoms_wave2 "1000"
set scr_elim_zoms_wave3 "1500"
set scr_elim_zoms_wave4 "2000"
set scr_elim_zoms_wave5 "2500"
set scr_elim_zoms_wave6 "3000"
set scr_elim_zoms_wave7 "3500"
set scr_elim_zoms_wave8 "4000"
set scr_elim_zoms_wave9 "4500"
set scr_elim_zoms_wave10 "5000"


//******************************************************************************
// S U R V I V A L     S E T T I N G S
//******************************************************************************
// Survival is a mix between Elimination and Onslaught. It is timed waves of zombies

// Number of player respawns
set scr_sur_numlives "2"

// Respawn delay
set scr_sur_playerrespawndelay "2"

// Grace time in seconds ( Range = 10 - 300 | Default = 60 )
set scr_sur_grace_time "60"

// Time between each zombie spawn (Range: 0.05 - 5 | Default 0.5)
set scr_sur_zom_spawn_delay "0.05"

// Use automatic spawn delay based on player count instead of the above^ ( 1 = On, 0 = off | Default = On )
set scr_sur_zom_delay_auto "0"

// Zombie kill points: current wave # multiplied by scr_elim_point_scale value. ( Range = 0 - 100 | Default = 1 )
// Kicks in at wave 2. Setting to zero disables this.
set scr_sur_point_scale "50"

// Spawn a boss zombie at end of each survival wave. ( 1 = On, 0 = Off | Default = On )
set scr_sur_end_boss "1"

// How many bosses to spawn at end of wave. ( Range = 1 - 10 | Default = 1 )
set scr_sur_end_boss_count "10"

// Number of zombie waves ( Range = 5 - 10 | Default = 5 )
set scr_sur_num_waves "5"

// Wave time in seconds. ( Range = 120 - 1800 | Default = 300 )
set scr_sur_wave_time "180"

// Wave time is multiplied by this number ( Range 1 - 2 | Default 1.25 )
set scr_sur_time_multiplier "1.15"

// Max number of zombies on the map at once ( Range 10 - 100 | Default 32 )
set scr_sur_max_zoms "35"

// Max number of zombies on screen plus wave number ( Range 10 - 100 | Default 26 )
// Usage: scr_sur_max_zoms -minus- scr_sur_num_waves = scr_sur_min_zoms
// To disable set the same as scr_elim_max_zoms
set scr_sur_min_zoms "30"


//******************************************************************************
// O N S L A U G H T     S E T T I N G S
//******************************************************************************
// Onslaught is non-stop zombies for specified time.

// Number of player respawns
set scr_ons_numlives "2"

// Respawn delay
set scr_ons_playerrespawndelay "2"

// Grace time in seconds ( Range = 10 - 300 | Default = 60 )
set scr_ons_grace_time "60"

// Time between each zombie spawn (Range: 0.05 - 5 | Default 0.5)
set scr_ons_zom_spawn_delay "0"

// Use automatic spawn delay based on player count instead of the above^ ( 1 = On, 0 = off | Default = On )
set scr_ons_zom_delay_auto "0"

// Max number of zombies on the map at once ( Range 10 - 100 | Default 32 )
set scr_ons_max_zoms "35"

//Onslaught timelimit (range 0 - 1440 | Default 15)
set scr_ons_timelimit "15"

