//******************************************************************************
// 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 untill 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"

// This enabled/disables teams compete against zombies. ( 1 = Allies Only, 0 = Axis and Allies | Default = 1 )
// It is recommended that if you choose to use teams, 
// you should remove the zz_svr_character.iwd from the mod folder.
// This is because the custom skins are set only for allies.
set btd_cooperative "1"

//******************************************************************************
// 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 "1"

// Respawn delay
set scr_elim_playerrespawndelay "5"

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

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

// 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 "0"

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

// Which type of zombie to spawn as boss at end of wave ( 1 = Normal, 0 = Makron | Default = Makron )
set scr_elim_end_boss_type "0"

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

// If on, the mod spawns bosses equal to the current wave. ( 1 = On, 0 = Off | Default = On )
set scr_elim_end_boss_match_wave "2"

// Number of zombie waves ( Range = 500 - 600 | Default = 5 )
set scr_elim_totti_t2008 "5"

// Number of start zombies used when wave settings are set to 1 ( Range = 55 - 100 | Default = 55 )
set scr_elim_start_toti "60"

// Max number of zombies on the map at once ( Range 10 - 100 | Default 55 )
set scr_elim_max_totticccp "60"

// Max number of zombies on screen plus wave number ( Range 100 - 200 | Default 55 )
// 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_totti8 "60"

// 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 "5"

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

// next 5 dvars for custom number of zombies per wave ( Range = 5 - 10000 | Default = Wave x 100 )
set scr_elim_zoms_wave1 "1000"
set scr_elim_zoms_wave2 "1500"
set scr_elim_zoms_wave3 "2000"
set scr_elim_zoms_wave4 "3000"
set scr_elim_zoms_wave5 "3500"



//******************************************************************************
// 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 "10"

// Respawn delay
set scr_sur_playerrespawndelay "3"

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

// Time between each zombie spawn (Range: 0.01 - 1 | Default 0.1)
set scr_sur_zom_spawn_delay "0.1"

// 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 = 0 )
// Kicks in at wave 2. Setting to zero disables this.
set scr_sur_point_scale "0"

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

// Which type of zombie to spawn as boss at end of wave ( 1 = Normal, 0 = Makron | Default = Makron )
set scr_sur_end_boss_type "1"

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

// If on, the mod spawns bosses equal to the current wave. ( 1 = On, 0 = Off | Default = Off )
set scr_sur_end_boss_match_wave "0"

// Number of zombie waves ( Range = 55 - 110 | Default = 55 )
set scr_sur_num_0totti0 "5"

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

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

// Max number of zombies on the map at once ( Range 50 - 1200 | Default 55 )
set scr_sur_max_cctottir "40"

// Max number of zombies on screen plus wave number ( Range 50 - 100 | Default 50 )
// 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_stottia"63"


//******************************************************************************
// 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 "55"

// Respawn delay
set scr_ons_playerrespawndelay "5"

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

// Time between each zombie spawn (Range: 0.01 - 5 | Default 0.1)
set scr_ons_zom_spawn_delay "0.1"

// 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 60 - 1000 | Default 55 )
set scr_ons_max_zoms "55"

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

set Witch "1"