//***************************************************************************************************************************
// COD5 - Server Gametype Config Setup.
//***************************************************************************************************************************
// Server Configuration File for Call of Duty 5 Multiplayer.
// Updated : December 22 2008 by Wildcard.
// Email   : wildcard@wildcardsonline.nl
// Support WebSite: http://www.wildcardonline.nl
// This config file controls the Gametype settings.
//***************************************************************************************************************************


//***************************************************************************************************************************
// Team switch.
//***************************************************************************************************************************
// Do not have both set to "1" - otherwise switching wont work!
set ace_switchteams "0" 			// set this to "1" to switch every round, default = 0.
set ace_switchteams_halftime "2" 	// set this to HALF your roundlimit (roundlimit must be an even number).


//***************************************************************************************************************************
// Anti Sprint.
//***************************************************************************************************************************
// Setting this disables sprinting for all players. This prevents players rushing objectives in objective-based gametypes.
// set time (in seconds) until sprint is enabled (default = 0). Max = 999.
set ace_anti_sprint "0"


//***************************************************************************************************************************
// Readyup and strategy setup.
//***************************************************************************************************************************
// Enter player's GUIDs who are Marshals, in the server to observe matches (separate each GUID with a semicolon).
// This option can also be used to identify admins on the server (marshal icon in front of their names in status).
set ace_game_spectate_freelook_guids "74fe2df4d53095329a4d6ffced676dca"

// Ready up period for matches.
// 0 = Disabled (default), 1 = Enabled.
//set ace_match_readyup_period "1"

// Strategy time before each round.
// 0 = Disabled (default), 0.5 - 60 = Time in seconds for the strategy time.
//set ace_match_strategy_time "30"

// Strategy bypass.
// 0 = Disabled, 1 = Enabled (default).
//set ace_match_strategy_allow_bypass "1"

// Strategy bypass by message.
// 0 = Disabled, 1 = Enabled (default).
//set ace_match_strategy_show_bypassed "1"

// Value in seconds between 0.5 and 5.0 for players to get ready once strategy time is over.
//set ace_match_strategy_getready_time "5"


// Turn on or off the forfeiting of the game when only 1 player remains on the server and then rotates to another map
// 0 = off, 1 = on, default = 1
set ace_gameforfeit "0"


//***************************************************************************************************************************
// Unified spawning, suposidly helps with better spawns.
// Its a stock dvar and just needs trying out to see if it indeeds helps with better spawning on the gametypes.
//***************************************************************************************************************************
set scr_disableUnifiedSpawning "1"


//*********************************************************************************************************************************************
// Ace score override for the stock gametypes (Values = Positive would give an increase, negative is a reduction. (-9999 to 9999, default = 0)
// you need to enable the global switch and uncomment the settings below in order to use them.
//*********************************************************************************************************************************************
// global switch, 0 = off, 1 = on, default = 0
//set ace_scoreoverride "1"

// Score settings
// Score for a kill.	
//set ace_score_kill "20"	

// Score for a headshot.
//set ace_score_headshot "20"	

// Score for an assist of 75%.	
//set ace_score_assist_75 "8"

// Score for an assist of 50%.
//set ace_score_assist_50 "6"

// Score for an assist of 25%.	
//set ace_score_assist_25 "4"

// Score for an assist less than 25%.	
//set ace_score_assist "2"

// Score for a suicide.	
//set ace_score_suicide "-2"	

// Score for a team kill.	
//set ace_score_teamkill "-4"

// Score for a dog kill.	
//set ace_score_dogkill "3"

// Score for a dog kill assist.	
//set ace_score_dogassist "1"	

// Score for killing a carrier.	
//set ace_score_killcarrier "4"	

// Score for a win.	
//set ace_score_win "1"	

// Score for a loss.	
//set ace_score_loss "0.5"	

// Score for a tie.	
//set ace_score_tie "0.75"	

// Score for a capture.	
//set ace_score_capture "30"	

// Score for a defend.	
//set ace_score_defend "30"	

// Score for a defend assist.	
//set ace_score_defendass "10"	

// Score for an assault.	
//set ace_score_assault "30"	

// Score for an assault assist.	
//set ace_score_assaultass "10"	

// Score for a plant.	
//set ace_score_plant "30"	

// Score for a defuse.	
//set ace_score_defuse "30"	

// Score for a challenge.	
//set ace_score_challenge "250"


//***************************************************************************************************************************
// DEATHMATCH.
//***************************************************************************************************************************
set scr_dm_scorelimit "0"		// 0 - 9999, default = 1000.
set scr_dm_timelimit "20"		// 0 - 9999, default = 10.
set scr_dm_roundlimit "1"		// 0 - 9999, default = 1.
set scr_dm_numlives "0"		// 0 - 9999, default = 0.
set scr_dm_playerrespawndelay "0"
set scr_dm_waverespawndelay "0"
set scr_dm_globalbattlechatterprobability "100"


//***************************************************************************************************************************
// DOMINATION.
//***************************************************************************************************************************
set scr_dom_scorelimit "200"  	// 0 - 9999, default = 300.
set scr_dom_timelimit "0"		// 0 - 9999, default = 30.
set scr_dom_roundlimit "1"		// 0 - 9999, default = 1.
set scr_dom_numlives "0"		// 0 - 9999, default = 0.
set scr_dom_playerrespawndelay "0"
set scr_dom_waverespawndelay "0"
set scr_dom_globalbattlechatterprobability "100"
set scr_dom_teamBalanceEndOfRound "1" 	// 0 = off, 1 = on, default = 0
set ace_dom_basefx "1"

//***************************************************************************************************************************
// TWAR.
//***************************************************************************************************************************
set scr_twar_globalbattlechatterprobability "0"
set scr_twar_numlives "0"			// 0 - 9999, default = 0
set scr_twar_roundlimit "2"			// 0 - 9999, default = 2
set scr_twar_roundswitch "1"			// 0 - 9999, default = 1
set scr_twar_scorelimit "5"			// 0 - 9999, default = 5
set scr_twar_timelimit "10"			// 0 - 9999, default = 15
set scr_twar_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0

set twar_captureAccelBonus "35"		// default = 25
set twar_captureAccelLimit "50"
set twar_captureTime "40"			// default = 40
set twar_finalFightFlagRespawnPenalty "3" // default = 3
set twar_finalFightTimeLimit "5"		// default = 5
set twar_momentumArtillery "10"		// default = 10
set twar_momentumBlitzkriegTime "30"	// default = 30
set twar_momentumDogs "10"			// default = 10
set twar_momentumEnabled "1"			// default = 0
set twar_momentumFlagCap "25"			// default = 25
set twar_momentumKillPlayer "5"		// default = 5
set twar_momentumMax "70"			// default = 70
set twar_momentumMaxMultiplier "3"		// default = 3
set twar_momentumMultiplierBonus "25"	// default = 25
set twar_momentumMultiplierBonusLimit "75" // default = 75
set twar_momentumRadar "10"			// default = 10
set twar_neutralFlagLockTime "0"			// default = 10
set twar_secondaryInfluencerBonus "0.5"		// default = 0.5
set twar_showEnemyCount "1"				// default = 1
set twar_spawnPointFacingAngle "60"			// default = 60
set scr_dom_teamBalanceEndOfRound "1" 	// 0 = off, 1 = on, default = 0

//***************************************************************************************************************************
// TDM.
//***************************************************************************************************************************
set scr_tdm_scorelimit "0"		// 0 - 9999, default = 500.
set scr_tdm_timelimit "20"		// 0 - 9999, default = 10.
set scr_tdm_roundlimit "1"		// 0 - 9999, default = 1.
set scr_tdm_numlives "0"		// 0 - 9999, default = 0.
set scr_tdm_playerrespawndelay "0"
set scr_tdm_waverespawndelay "0"
// Snipetdm, replaces spawnpoints in war gametype so they dont mix.
// 0 = No, 1 = yes, default = 0.
set ace_snipetdm "0"
set scr_tdm_globalbattlechatterprobability "100"
set scr_tdm_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0


//***************************************************************************************************************************
// SABOTAGE.
//***************************************************************************************************************************
set scr_sab_scorelimit "5"			// 0 - 9999, default = 0.
set scr_sab_timelimit "10"			// 0 - 9999, default = 10.
set scr_sab_roundlimit "0"			// 0 - 9999, default = 1.
set scr_sab_roundswitch "1"			// 0 - 9999, default = 0.
set scr_sab_numlives "0"			// 0 - 9999, default = 0.
set scr_sab_playerrespawndelay "7.5"
set scr_sab_waverespawndelay "0"
set scr_sab_bombtimer "30"			// 1 - 300, default = 45.
set scr_sab_planttime "2.5"			// 0 - 20, default = 5.
set scr_sab_defusetime "5"			// 0 - 20, default = 5.
set scr_sab_hotpotato "0"			// 0 = off, 1 = on, default = 1.
set scr_sab_globalbattlechatterprobability "100"
set scr_sab_teamBalanceEndOfRound "1"     // 0 = off, 1 = on, default = 0

set ace_hide_bombcarrier "1"		// 0 = off, 1 = on, default = 0.

// Random bomb detonation time, if set to 1 the bomb will explode randomly between the 2 below set values.
// 0 = off, 1 = on, default = 0.
set ace_random_bombtime_sab "0"

// Minimum bomb detonation time, can be between 1 and 300, default = 45.
set ace_min_bombtime_sab "45"

// Maximum bomb detonation time, can be between 1 and 300, default = 75.
set ace_max_bombtime_sab "50"


//***************************************************************************************************************************
// SEARCH AND DESTROY CLASSIC.
//***************************************************************************************************************************
set scr_sd_scorelimit "4"		// 0 - 9999, default = 4.
set scr_sd_timelimit "10"		// 0 - 9999, default = 2.5.
set scr_sd_roundlimit "0"		// 0 - 9999, default = 0.
set scr_sd_roundswitch "3" 		// 0 - 9999, default = 3.
set scr_sd_numlives "1" 		// 0 - 9999, default = 1.
set scr_sd_playerrespawndelay "0"
set scr_sd_waverespawndelay "0"
set scr_sd_bombtimer "45"		// 1 - 300, default = 45.
set scr_sd_planttime "5"		// 0 - 20, default = 5.
set scr_sd_defusetime "5"		// 0 - 20, default = 5.
set scr_sd_multibomb "0"		// 0 = off, 1 = on, default = 0.
set scr_sd_globalbattlechatterprobability "100"
set scr_sd_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0

// Random bomb detonation time, if set to 1 the bomb will explode randomly between the 2 below set values.
// 0 = off, 1 = on, default = 0.
set ace_random_bombtime_sd "0"

// Minimum bomb detonation time, can be between 1 and 300, default = 45.
set ace_min_bombtime_sd "45"

// Maximum bomb detonation time, can be between 1 and 300, default = 75.
set ace_max_bombtime_sd "50"


//***************************************************************************************************************************
// KING OF THE HILL.
//***************************************************************************************************************************
set scr_koth_scorelimit "250"		// 0 - 9999, default = 300.
set scr_koth_timelimit "15"			// 0 - 9999, default = 30.
set scr_koth_numlives "0"			// 0 - 9999, default = 0.
set koth_autodestroytime "60"		// default = 60.
set koth_spawntime "0"			// default = 0.
set koth_kothmode "0"				// default = 1.
set koth_capturetime "20"			// default = 20.
set koth_destroytime "10"			// default = 10.
set koth_delayPlayer "0"			// default = 1.
set koth_spawnDelay "60"			// default = 0.
set scr_koth_waverespawndelay "0"
set scr_koth_globalbattlechatterprobability "100"
set scr_koth_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0


//***************************************************************************************************************************
// CAPTURE THE FLAG.
//***************************************************************************************************************************
set scr_ctf_scorelimit "5"			// 0 - 9999, default = 5.
set scr_ctf_timelimit "10"			// 0 - 9999, default = 15.
set scr_ctf_roundlimit "3"			// 0 - 9999, default = 2.
set scr_ctf_numlives "0"			// 0 - 9999, default = 0.
set scr_ctf_playerrespawndelay "0"
set scr_ctf_waverespawndelay "10"

set scr_ctf_player_points_for_flag "4"   	// 0 - 9999, default = 8.//
set scr_ctf_player_kill_points "2"   	// 0 - 9999, default = 5.//
set scr_ctf_defence_points "2"  		// 0 - 9999, default = 6.//

set scr_ctf_enemycarriervisible "0"       // 0 - 2, default = 0
set scr_ctf_flagrespawntime "0"           // 0 - 120, default = 0
set scr_ctf_globalbattlechatterprobability "100"  
set scr_ctf_idleflagreturntime "30"		// 0 - 120, default = 30
set scr_ctf_roundswitch "1"			// 0 - 9999, default = 1
set scr_ctf_touchreturn "1"			// 0 - 1, default = 0
set scr_ctf_spawnPointFacingAngle "60" 	// default = 60
set scr_ctf_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0

set ace_ctf_basefx "1"

//***************************************************************************************************************************
// CAPTURE AND HOLD (IHTF).
//***************************************************************************************************************************
set scr_ch_scorelimit "150"		// 0 - 9999, default = 500.
set scr_ch_timelimit "30"		// 0 - 9999, default = 2.
set scr_ch_roundlimit "2"		// 0 - 9999, default = 2.
set scr_ch_numlives "0"		// 0 - 9999, default = 0.
set scr_ch_playerrespawndelay "0"
set scr_ch_waverespawndelay "0"	
set scr_ch_heavyflag "0"       	// 0 = off, 1 = on, default = 0.

// Time before the flag respawns, in seconds.
set scr_ch_flagspawndelay "15"		// 0 - 9999, default = 15.

// Use random flag spawns for every flag spawn except the first one (0 = no, 1 = yes, default = 1).
set scr_ch_randomflagspawns "1"

//Score received for killing regular players.
set scr_ch_pointsforkillingplayers "0"	// 0 - 100, default = 2.

// Score received for killing flag carriers.
set scr_ch_pointsforkillingflagcarrier "1"	// 0 - 100, default = 1.

// Score received for stealing the flag.
set scr_ch_pointsforstealingflag "1"	// 0 - 100, default = 2.

// Score received for holding the flag.
set scr_ch_pointsforholdingflag "3"	// 0 - 100, default = 3.

set scr_ch_pointsforholdingflag_maxtime 10
set scr_ch_flagtimeout 60

// Time required to hold the flag before scoring, in seconds.
set scr_ch_holdtimetoscore "30"		// 1 - 99999, default = 10.

// Max hold time, in seconds.
set scr_ch_maxholdtime "180"		// 1 - 99999, default = 60.

//Minimum distance a player can spawn from the flag, in COD units.
set scr_ch_spawndistance "1000"		// 1 - 99999, default = 1000.

// Maximum distance a player can spawn from the flag, in COD units.
set scr_ch_spawndistance_max "3000"	// spawndistance - 99999, default = 3000.


//***************************************************************************************************************************
// HOLD THE FLAG.
//***************************************************************************************************************************
set scr_htf_scorelimit "500"  	// 0 - 9999, default = 500.
set scr_htf_timelimit	"10" 		// 0 - 9999, default = 5.
set scr_htf_roundlimit "4"  	// 0 - 9999, default = 1.
set scr_htf_numlives "0"  		// 0 - 9999, default = 0.
set scr_htf_playerrespawndelay "0"
set scr_htf_waverespawndelay "0"
set scr_htf_heavyflag "0"   		// 0 = off, 1 = on, default = 0.
set scr_htf_returnflag_delay "60"   	// 0 - 140, default = 60.
set scr_htf_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0

// Mode controlling how the hold time is handled (default = 2).
// 0 = holdtime for each time is kept no matter which team currently has the flag.
// 1 = enemy hold time is decreased to zero before own hold time is increased.
// 2 = enemy hold time is zero:ed as the flag is stolen.
// 3 = enemy hold time is zero:ed as your team score.
set scr_htf_mode "2"

// Time in seconds required to hold the flag before scoring.
//set scr_htf_holdtime "50"	// 1 - 99999, default = 90.

// Time in seconds before the flag respawns.
set scr_htf_flagspawndelay "20"				// 0 - 9999, default = 15.

// Use random flag spawns for every flag spawn except the first one (default = 2).
// 0 = disabled (flag always spawn at the same location).
// 1 = flag spawns randomly regardless of players positions.
// 2 = flag spawns at the farthest position from the majority of players, so it will depend on the actual position of 
// players, though the flag won't respawn at the same location twice in a row.
set scr_htf_randomflagspawns "2"

// Minimum distance a player can spawn from the flag, in COD units.
set scr_htf_spawndistance "1000"				// 1 - 999999, default = 1000.

// Maximum distance a player can spawn from the flag, in COD units.
set scr_htf_spawndistance_max "3000"			// spawndistance - 99999, default = 3000.

// Individual score received for stealing the flag from the enemy.
set scr_htf_pointsforstealingflag "3"			// 0 - 100, default = 3.

// Individual score received for holding the flag when team scores.
set scr_htf_pointsforholdingflag "2"			// 0 - 100, default = 2.

// Individual score received for killing the flag carrier.
// Points are lost when teamkilling the flag carrier !
set scr_htf_pointsforkillingflagcarrier "2"		// 0 - 100, default = 2.

// Individual score received for assisting the flag carrier.
set scr_htf_pointsforassistingflagcarrier "1"		// 0 - 100, default = 1.

// Distance under which a kill is considered as protection - distance is from the killed player to the flag carrier.
// No reason to change this value unless map has unusual dimensions...
set scr_htf_flagprotectiondistance "800"		// 1 - 999999, default = 800.


//***************************************************************************************************************************
// CAPTURE THE FLAG BACK.
//***************************************************************************************************************************
set scr_ctfb_scorelimit "1500"		// 0 - 9999, default = 500.
set scr_ctfb_timelimit "15"			// 0 - 9999, default = 2.
set scr_ctfb_roundlimit "2"			// 0 - 9999, default = 1.
set scr_ctfb_numlives "0"			// 0 - 9999, default = 0.
set scr_ctfb_playerrespawndelay "0"
set scr_ctfb_waverespawndelay "0"
set scr_ctfb_heavyflag "0"			// 0 = off, 1 = on, default = 0.
set scr_ctfb_returnflag_delay "500"	// 0 - 200, default = 60.
set scr_ctfb_pointsfor_flag "10"		// 0 - 99, default = 10.
set scr_ctfb_player_points_for_flag "3"  	// 0 - 99, default = 8.
set scr_ctfb_player_kill_points "5"  	// 0 - 99, default = 5.
set scr_ctfb_assist_points "2"  		// 0 - 99, default = 6.
set scr_ctfb_defence_points "2"  		// 0 - 99, default = 6.
set scr_ctfb_return_points "5"   		// 0 - 99, default = 5.
set scr_ctfb_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0

//show spinning flagbase effect.          // 0 = off, 1 = on, default = 1.
set ace_ctfb_basefx "1"


//***************************************************************************************************************************
// V.I.P.
//***************************************************************************************************************************
set scr_vip_scorelimit "400"		// 0 - 9999, default = 500.
set scr_vip_timelimit "30" 			// 0 - 9999, default = 30.
set scr_vip_roundlimit "2" 			// 0 - 9999, default = 1.
set scr_vip_numlives "0" 			// 0 - 9999, default = 0.
set scr_vip_playerrespawndelay "5" 
set scr_vip_waverespawndelay "30"

// Give the vip access to radar when he stays alive for X minutes.
set scr_vip_giveradar "1"			// 0 = no, 1 = yes, default = 1.

// Time before the vip gets radar.
set scr_vip_radarwait "180"		// 0 - 99999, default = 180.

// Give the vip a permanent radar as long as he's alive.	
set scr_vip_permanentradar "1"		// 0 = no, 1 = yes, default = 0.

// Give the vip access to artillery when he stays alive for X minutes.			
set scr_vip_giveartillery "1"		// 0 = no, 1 = yes, default = 1.

// Time before vip gets artillery.
set scr_vip_artillerywait "300"		// 0 - 99999, default = 300.

// The time (in seconds) the vip has to wait before getting a new artillery.	
set scr_vip_artillerycooldown "120"		// 120 - 99999, default = 180.

// Makes the vips visible on the minimap.	
set scr_vip_visible_on_compass "1"		// 0 = on, 1 = off, default = 1.

// Delay before a new vip gets choosen.
set scr_vip_vipdelay "30"			// 0 - 99999, default = 10.

set scr_vip_pointsforbecomvip "3"		// 0 - 100, default = 6.
set scr_vip_pointssurvivevip "5"		// 0 - 100, default = 5.
set scr_vip_pointsforprotectingvip "2"	// 0 - 100, default = 3.
set scr_vip_pointsforkillingvip "40"	// 0 - 100, default = 5.
set scr_vip_protectiondistance "800" 	// 0 - 99999, default = 800.
set scr_vip_protectiontime "10"		// 0 - 99999, default = 15.
set scr_vip_viphealth "150"			// 30 - 200, default = 150.
set scr_vip_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0


//***************************************************************************************************************************
// ACE5 DOMINATION.
//***************************************************************************************************************************
set scr_adom_globalbattlechatterprobability "100"
set scr_adom_roundlimit "2"
set scr_adom_scorelimit "200"
set scr_adom_timelimit "12"
set scr_adom_numlives "0"
set scr_adom_playerrespawndelay "0"
set scr_adom_waverespawndelay "0"
set scr_adom_teamBalanceEndOfRound "1"    // 0 = off, 1 = on, default = 0

//points awarded for each kill. Default = 5
set scr_adom_player_kill_points "5"

//team objective points
set scr_adom_team_objective_points "10"

//player objective points
set scr_adom_player_objective_points "10"

//Capture progress bar: set this to "0" to have instant pickup/return. Max = 20 (default = 5)
set scr_adom_captime "1"

//Set this to "1" to decide if winner of last round played becomes attackers next map
set scr_adom_campaign "0"

//Role Swap - set this to "1" if you want to swap attacker and defender roles 
// depending on who won last round. NB: CANNOT TO BE USED WITH TEAMSWAP
set scr_adom_swap_roundwinner "1"

set ace_adom_basefx "1"
