//***************************************************************************************************************************
// COD5 - Player Control.
//***************************************************************************************************************************
// Server / Client side modification for Call of Duty 5 multiplayer.
// Updated : December 22 by Wildcard.
// Email   : wildcard@wildcardsonline.nl
// Support WebSite: http://www.wildcardonline.nl
// This config  file controls the CoD5 Player settings.
//***************************************************************************************************************************


//***************************************************************************************************************************
// Forced clientside dvars.
//***************************************************************************************************************************
// This features allows you to control the clientside dvars.

// Sound Occlusion, 0 = disable, 1 = enable, default = 1.
set ace_enable_soundocclusion "0"

// Enable or disable thirdperson spectator view, 0 = disable, 1 = enable, default = 1
set ace_allowspectthirdpers "0"

// Grenade indicators, 0 = disable, 1 = enable, default = 0.
set ace_shownadeindicator "1"		

// Crosshairs, 0 = disable, 1 = enable, default = 1.
set ace_showcrosshair "0"

// Color change on aiming enemy, 0 = disable, 1 = enable, default = 0.
set ace_showredcrosshairs "0" 

// Deathicons, 0 = disable, 1 = enable, default = 0.
set ace_showdeathicon "0"

// Mantlehints, 0 = disable, 1 = enable, default = 1.
set ace_showmantlehint "0"

// Enemynames, if set to 0 enemy names will not be shown, 0 = disable, 1 = enable, default = 0.
set ace_showenemynames "0"  

// Friendlynames, if set to 0 friendly names will not be shown, 0 = disable, 1 = enable, default = 1.
set ace_showfriendlynames "1"

// Bodyarmor hint, 0 = disable, 1 = enable, default = 1.
set ace_showifhasbodyarmor "0"

// Hiticon 0 = off, 1 = on, 2 = on but not through walls,
// 3 = on but off for all grenades, 4 = on but off for walls / stuns / flashes, default = 1.
// Stock hiticon dvar is obsolete.
set ace_hiticon "0" 

// Show grenade throwback, weapon pickup, bombplant hints.
// 0= off, 1 = on, default = 1.
set ace_cursorhints "0"

// Move in prematch, if set to 1 players can walk around and shoot in prematch (no damage will be done tho).
// 0 = no, 1 = yes, default = 0.
set ace_moveinprematch "1"   

// Force "com_maxfps"? (prevent FPS jumping hacks), it will force the maxfps for all players to this value.
set ace_maxfps "80"	// lower or equal to 84 = off, 85 - 999 = on, default = 84 = off.

// Force "rate"?, it will force the maxrate for all players to this value.
set ace_maxrate "25000"		// lower or equal to 4999 = off, 5000 - 25000 = on, default = 25000.


//***************************************************************************************************************************
// Objective pointers.
//***************************************************************************************************************************
set ace_objective_floatpoints "0"  // enables/disables floating objective pointers 1 = on, 0 = off, default  = 0.
set ace_objective_compasspoints "1"  // enables/disables compass objective pointers 1 = on, 0 = off, default  = 0.


//***************************************************************************************************************************
// Fall damage modifiers  
//***************************************************************************************************************************
// Fall damage MIN height in feet, min = 1, max = 999, default = 21.
set ace_falldamage_min "15"

// Fall damage MAX height in feet, min = 1, max = 999, default = 40.
set ace_falldamage_max "30"


//***************************************************************************************************************************
// Realism options.
//***************************************************************************************************************************
// Drop weapon on hand hit.
// Percentage setting 0 - 100, default = 0.
//set ace_droponhandhit "25"

// Drop weapon on lower arm hit.
// Percentage setting 0 - 100, default = 0.
//set ace_droponarmhit "25"

// Trip on lower leg hit.
// Percentage setting 0 - 100, default = 0.
//set ace_triponleghit "25"

// Trip on foot hit.
// Percentage setting 0 - 100, default = 0.
//set ace_triponfoothit "25"


//***************************************************************************************************************************
// Server Redirection
//***************************************************************************************************************************
// Global switch
// 0 = disable (default)
// 1 = enable
set ace_redirect "1"

// The IP:port of the new target server
// default = (empty)
set ace_redirect_ip "78.143.44.222:28960"

// How long to display the redirection notice in seconds
// min = 5, max = 60 (default = 10)
set ace_redirect_pause "15"

// Set reason for redirection.
// When set to 1, players still need to pass the full server test
// 0 = full server: redirecting to other server (default)
// 1 = private server (only known clans): redirecting to public server
// 2 = old server: redirecting to new server
// 3 = being serviced: redirecting to other server
set ace_redirect_reason "0"

// Set logic for full server redirection
// 0 = redirect if number of players = max clients - 1 (default)
// 1 = redirect if number of players = max clients - private slots - 1
set ace_redirect_logic "1"

// Clan priority mode
// Redirect existing players to make room for clan player.
// It will always try to redirect non-clan players first, if available.
// Before enabling this feature you should order the clan tags (see admin.cfg)
// clan1 (ace_clantag1) has the highest priority. clan4 (ace_clantag4) the lowest.
// 0 = disable (default)     - Redirect order: any connecting player
// 1 = prioritize clan 1     - Redirect order: non-clan » clan4 » clan3 » clan2
// 2 = prioritize clan 1+2   - Redirect order: non-clan » clan4 » clan3
// 3 = prioritize clan 1+2+3 - Redirect order: non-clan » clan4
// 4 = prioritize all clans  - Redirect order: non-clan
set ace_redirect_priority "0"

// Show a hint
// 0 = disable
// 1 = enable (default)
set ace_redirect_hint "1"


//***************************************************************************************************************************
// Teams
//***************************************************************************************************************************
set scr_team_respawntime "0"

// Teambalance
set scr_teambalance "1"

// the intervals when the server checks if it needs to teambalance
// 1 - 120, default = 60 (in seconds)
set ace_teambalance_check "30"

// the delay after the check (when teambalance message appears (when enabled)) it actually does the teambalancing 
// 0 - 60, default = 15 (in seconds)
set ace_teambalance_delay "30"


// TKers
set scr_teamKillPunishCount "0"
set scr_team_artilleryTeamKillPenalty "0.25"
set scr_team_kickteamkillers "0"
set scr_team_teamkillerplaylistbanpenalty "0"
set scr_team_teamkillerplaylistbanquantum "0"
set scr_team_teamkillpointloss "1"
set scr_team_teamkillspawndelay "20"
set scr_team_fftype "0"  // 0 - 3 (disabled, enabled, reflect, shared).


//***************************************************************************************************************************
// Player.
//***************************************************************************************************************************
set scr_player_suicidespawndelay "0"
set scr_player_healthregentime "20"
set scr_player_forcerespawn "1"
set scr_player_respawndelay "0"
set scr_player_numlives "0"
set scr_player_sprinttime "5"

// Revive players?  Don't know what this does
set scr_player_allowrevive "1"
set g_revive "0"
set revive_time_taken "2"

// Force auto assign, when set to 1 players are auto asigned to a team..they can not choose.
// 0 = off, 1 = on, default = 0.
set ace_force_autoassign "1"


//****************************************************************************************
// Parachuting
//****************************************************************************************
// 0 = disabled (default)
// 1 = once for each map
// 2 = roundbased: never parachute in after matchstarts
// 3 = always
set ace_parachutes "0"

// Only attackers parachute (0 = no, 1 = yes) (default 0)
set ace_parachutes_only_attackers "0"

// Limit altitude (0 = no limit) (default 1700) (0 to 2500)
// Some maps have a really high sky and not using a limit could mean
// parachuting for 30 seconds or more before landing.
set ace_parachutes_limit_altitude "2500"

//***************************************************************************************************************************
// Night Mod.
// Nightmodes 0 = off, 1 = night, 2 = Light , 3 = Medium, 4 = Heavy, 5 = Nuclear(test), default = 0.
// Setting this to 1 - 5 enables nightmode for every map in your rotation..except for the (possible) ones set
// by the dvar per map settings below.
// Setting this to 0 disables the nightmode for every map ..except for the (possible) ones set
// by the dvar per map settings below.
//***************************************************************************************************************************
set ace_nightmode "0"

// Use the following Dvars to set nightmode off or on per map ( 0 = off, 1 = on, default = 0 ).
// These are only examples, you can use any map you have.
set ace_nightmode_mp_airfield "0"
set ace_nightmode_mp_shrine "0"
set ace_nightmode_mp_downfall "0"

// Play the "prepare for battle" sound
// 0 = no, (default 0)
// 1 = yes at every spawn
// 2 = at players FIRST spawn of the map, there after its off
set ace_preparebattle "2"
