// Based on ETPro Global 5on5 Config
// Legacy Stopwatch
//
// !!! IMPORTANT NOTE !!!
// Ensure all values are surrounded by quotes, the parser can't properly deal with negative values otherwise.

configname "^1Legacy ^7Competition ^25on5"

init
{
	setl sv_pure "1"
	setl sv_cheats "0"
	setl sv_fps "40"
	setl sv_floodProtect "0"

	setl g_gameType "3"
	setl g_warmup "15"
	setl g_doWarmup "1"
	setl g_voiceChatsAllowed "100"
	setl g_spectatorInactivity "0"
	setl g_friendlyFire "1"
	setl g_heavyWeaponRestriction "16"
	setl g_medicChargeTime "45000"
	setl g_fieldopsChargeTime "35000"
	setl g_engineerChargeTime "30000"
	setl g_soldierChargeTime "30000"
	setl g_covertopschargetime "30000"
	setl g_stickyCharge "2"
	setl g_landminetimeout "0"
	setl g_dropAmmo "0"
	setl g_dropHealth "0"
	setl g_teamForceBalance "0"
	setl g_filtercams "1"
	setl g_fastres "0"
	setl g_noTeamSwitching "1"
	setl g_alliedmaxlives "0"
	setl g_axismaxlives "0"
	setl g_speed "320"
	setl g_gravity "800"
	setl g_knockback "1000"
	setl g_autoFireteams "2"
	setl g_countryFlags "1"
	setl g_misc "0"
	setl g_skillrating "0"
	setl g_dropObjDelay "3000"

	setl team_maxSoldiers "1"
	setl team_maxMedics "-1"
	setl team_maxEngineers "-1"
	setl team_maxFieldops "-1"
	setl team_maxCovertops "-1"

	setl team_maxFlamers "1"
	setl team_maxMachineguns "0"
	setl team_maxMortars "0"
	setl team_maxRockets "1"
	setl team_maxRiflegrenades "1"

	setl team_maxAirstrikes "0.0"
	setl team_maxArtillery "0.0"

	setl team_riflegrenades "1"

	setl match_latejoin "1"
	setl match_minplayers "2"
	setl match_readypercent "100"
	setl match_timeoutcount "2"
	setl match_timeoutlength "240"
	setl match_warmupDamage "2"
	setl team_maxplayers "0"
	setl team_nocontrols "0"

	setl sv_minping "0"
	setl sv_maxping "0"

	setl pmove_fixed "0"
	setl pmove_msec "8"

	set nextmap "map_restart 0"

	setl g_allowVote "1"
	setl vote_allow_balancedteams "0"
	setl vote_allow_config "1"
	setl vote_allow_friendlyfire "0"
	setl vote_allow_gametype "0"
	setl vote_allow_kick "1"
	setl vote_allow_map "1"
	setl vote_allow_matchreset "1"
	setl vote_allow_mutespecs "1"
	setl vote_allow_muting "1"
	setl vote_allow_nextmap "0"
	setl vote_allow_referee "1"
	setl vote_allow_shuffleteams "0"
	setl vote_allow_shuffleteams_norestart "0"
	setl vote_allow_surrender "1"
	setl vote_allow_swapteams "1"
	setl vote_allow_timelimit "1"
	setl vote_allow_warmupdamage "0"
	setl vote_allow_maprestart "1"
	setl vote_allow_cointoss "1"
	setl vote_allow_antilag "0"
	setl vote_limit "99"
	setl vote_percent "51"

	setl g_mapscriptdirectory "mapscripts"
	setl g_mapConfigs ""

	setl skill_battlesense "-1"
	setl skill_engineer "-1"
	setl skill_medic "-1"
	setl skill_fieldops "-1"
	setl skill_lightweapons "-1"
	setl skill_soldier "-1"
	setl skill_covertops "-1"

	setl g_intermissiontime "20"
	setl g_multiview "0"
	setl g_shove "60"
	setl g_shoveNoZ "1"
	setl g_antiwarp "1"
	setl g_maxWarp "4"
	setl g_antilag "1"
	setl g_realHead "1"
	setl g_fixedphysics "1"
	setl g_fixedphysicsfps "125"
	setl g_campaignfile ""

	setl g_pronedelay "3"

	// set this to disable wolfadmin or enable custom Lua files
	//setl lua_modules ""

	set g_log "legacy5.log"

	command "sv_cvarempty"

	command "sv_cvar cl_freelook EQ 1"
	command "sv_cvar cl_pitchspeed EQ 0"
	command "sv_cvar cl_yawspeed EQ 0"
	command "sv_cvar cl_timenudge EQ 0"

	command "sv_cvar cg_simpleItems IN 0 1"
	command "sv_cvar cg_visualEffects EQ 0"
	command "sv_cvar cg_fov IN 75 130"
	command "sv_cvar cg_shadows IN 0 1"
	command "sv_cvar cg_autoaction WB 1"

	command "sv_cvar rate IN 25000 45000"
	command "sv_cvar cl_maxpackets IN 100 125"
	command "sv_cvar snaps EQ 40"
	command "sv_cvar com_maxfps IN 40 250"

	command "sv_cvar m_pitch OUT -0.015 0.015"
	command "sv_cvar m_yaw IN -0.022 0.022"

	command "sv_cvar r_ambientScale EQ 0.5"
	command "sv_cvar r_drawentities EQ 1"
	command "sv_cvar r_drawworld EQ 1"
	command "sv_cvar r_lightmap EQ 0"
	command "sv_cvar r_showtris EQ 0"
	command "sv_cvar r_znear EQ 3"
	command "sv_cvar r_allowextensions EQ 1"
	command "sv_cvar r_ati_fsaa_samples EQ 0" // vanilla clients only
	command "sv_cvar r_ati_truform_tess EQ 0" // vanilla clients only
	command "sv_cvar r_clamptoedge EQ 1" // vanilla clients only
	command "sv_cvar r_colorMipLevels EQ 0"
	command "sv_cvar r_depthbits OUT 1 23"
	command "sv_cvar r_detailtextures EQ 0"
	command "sv_cvar r_flares IN 0 1"
	command "sv_cvar r_ext_ATI_pntriangles EQ 0" // vanilla clients only
	command "sv_cvar r_nv_fogdist_mode INCLUDE NV GL_EYE_RADIAL_NV" // vanilla clients only
	command "sv_cvar r_subdivisions IN 1 20"
	command "sv_cvar r_lodcurveerror GE 60"
	command "sv_cvar r_wolffog EQ 0"
	command "sv_cvar r_zfar EQ 0"
}
map default
{
	set g_userTimeLimit "0"
	setl g_useralliedrespawntime "0"
	setl g_useraxisrespawntime "0"
	setl g_moverScale "1.0"
	setl team_maxLandmines "4"
	command "sv_cvar r_drawfoliage EQ 1"
}
map fueldump
{
	set g_userTimeLimit "15"
	setl g_moverScale "1.5"
	mapscripthash ""
}
map radar
{
	set g_userTimeLimit "12"
	command "sv_cvar r_drawfoliage EQ 0"
	mapscripthash ""
}
map battery
{
	set g_userTimeLimit "10"
	setl team_maxLandmines "0"
	mapscripthash ""
}
map goldrush
{
	set g_userTimeLimit "15"
	setl g_moverScale "1.5"
	mapscripthash ""
}
map sw_goldrush_te
{
	set g_userTimeLimit "15"
	setl g_moverScale "1.0"
	mapscripthash ""
}
map sw_oasis_b3
{
	set g_userTimeLimit "15"
	setl g_useralliedrespawntime "15"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map railgun
{
	set g_userTimeLimit "15"
	setl g_useralliedrespawntime "30"
	setl g_useraxisrespawntime "15"
	setl g_moverScale "1.0"
	mapscripthash ""
}
map et_ice
{
	set g_userTimeLimit "12"
	setl g_useraxisrespawntime "25"
	setl team_maxLandmines "0"
	mapscripthash ""
}
map etl_ice_v8
{
	set g_userTimeLimit "12"
	setl g_useraxisrespawntime "25"
	setl team_maxLandmines "0"
	mapscripthash ""
}
map tc_base
{
	set g_userTimeLimit "12"
	setl team_maxLandmines "0"
	mapscripthash ""
}
map reactor_final
{
	set g_userTimeLimit "12"
	setl g_useralliedrespawntime "20"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map dubrovnik_final
{
	setl g_useraxisrespawntime "30"
	setl g_useralliedrespawntime "10"
	mapscripthash ""
}
map braundorf_b4
{
	set g_userTimeLimit "12"
	mapscripthash ""
}
map frostbite
{
	set g_userTimeLimit "10"
	setl g_useralliedrespawntime "25"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map etl_frostbite_v15
{
	set g_userTimeLimit "10"
	setl g_useralliedrespawntime "25"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map adlernest
{
	set g_userTimeLimit "10"
	mapscripthash ""
}
map etl_adlernest_v2
{
	set g_userTimeLimit "10"
	mapscripthash ""
}
map warbell
{
	set g_userTimeLimit "15"
	setl g_useralliedrespawntime "30"
	setl g_useraxisrespawntime "15"
	mapscripthash ""
}
map supply
{
	set g_userTimeLimit "15"
	mapscripthash ""
}
map etl_supply_v6
{
	set g_userTimeLimit "15"
	mapscripthash ""
}
map supplydepot2
{
	set g_userTimeLimit "15"
	mapscripthash ""
}
map sw_battery
{
	set g_userTimeLimit "12"
	mapscripthash ""
}
map sp_delivery_te
{
	set g_userTimeLimit "12"
	setl g_useralliedrespawntime "20"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map bremen_b2
{
	set g_usertimelimit "15"
	mapscripthash ""
}
map bremen_b3
{
	set g_usertimelimit "15"
	mapscripthash ""
}
map et_beach
{
	set g_userTimeLimit "10"
	mapscripthash ""
}
map karsiah_te2
{
	set g_userTimeLimit "12"
	mapscripthash ""
}
map wolken1_b1
{
	set g_userTimeLimit "12"
	mapscripthash ""
}
map te_escape2
{
	set g_userTimeLimit "15"
	setl g_useralliedrespawntime "20"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map mp_sub_rc1
{
	set g_userTimeLimit "15"
	setl g_useralliedrespawntime "20"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map et_ufo_final
{
	set g_userTimeLimit "15"
	setl g_useralliedrespawntime "20"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map erdenberg_t1
{
	set g_userTimeLimit "12"
	setl g_useralliedrespawntime "20"
	setl g_useraxisrespawntime "30"
	mapscripthash ""
}
map missile_b3
{
	mapscripthash ""
}
