// this file is updated by NWI to define rules for matchmaking servers.
// it must match the client's version of the file in order to work.
"mm_playlists.txt"
{
	"tacticalop"
	{
		"print_name"		"#Playlist_TacticalOp"
		"description"		"#Playlist_TacticalOp_Desc"
		
		"mapcycle"
		{
			"district" 	"firefight"
			"peak" 		"searchdestroy"
			"ministry" 	"firefight"
			"siege" 	"searchdestroy"
			"contact" 	"firefight"
			"market" 	"searchdestroy"
			"heights" 	"firefight"
			"district" 	"searchdestroy"
			"peak" 		"firefight"
			"ministry" 	"searchdestroy"
			"siege" 	"firefight"
			"heights" 	"searchdestroy"
			"market" 	"firefight"
			"siege" 	"vip"
			"contact" 	"firefight"
			"ministry" 	"vip"
			"heights" 	"firefight"
			"district" 	"vip"
			"siege" 	"firefight"
			"market" 	"vip"
			"district" 	"firefight"
			"contact" 	"vip"
			"ministry" 	"firefight"
			"heights" 	"vip"	
		}
		
		// recommended settings but can be changed
		"cvars"
		{
			"mp_friendlyfire"								"1"		// friendly fire
			"mp_tkpunish"									"1"		// How to punish team killing ( 0 = none, 1 = warning, 2 = kill )
			"sv_hud_deathmessages"							"0"		// death messages
			"sv_hud_deathmessages"							"0"		// death messages
			"sv_hud_scoreboard_show_kd"						"1"		// show k:d on scoreboard
			"sv_hud_targetindicator"						"1"		// show friendly player names when looking at them
			"mp_timer_pregame"								"10"	// timer for the pre-game (before the game starts, usually after map change or on mp_restartgame 1)
			"mp_timer_preround"								"15"	// timer for the pre-round (before the round starts, usually after a previous round ends or on mp_restartround 1)
			"mp_timer_postround"							"15"	// timer for the post-round (after the round starts)
			"mp_timer_postgame"								"21"	// timer for the post-game (at the end of a game / map rotation)
			"mp_voice_use_3d_voip"							"1"		// disabling this will turn off the 3d voip system and allow all players to hear one another
		}

		"forced_cvars"
		{
			"sv_password"									""
			"mp_theater_override"							""
			"ins_bot_quota"									"0"		// if set higher than 0, the server will add this many bots to each team
			"mp_teams_auto_join"							"1"		// when enabled, players are automatically assigned to a team on join
			"mp_teams_unbalance_limit"						"1"		// the amount of player difference between each team the server considers to be imbalanced
			"mp_autoteambalance"							"1"		// should the server auto balance the teams if they are imbalanced?
			"mp_minteamplayers"								"1"		// min players on each team to start the match
			"sv_deadchat"									"0"		// enabling this will allow the dead and living to chat text each other
			"sv_deadchat_team"								"1"		// is deadchat limited to just your team?
			"sv_deadvoice"									"0"		// enabling this will allow the dead and living to VOIP each other
			"mp_voice_min_distance_friendly"				"8"		// min distance you can hear friendly players who are not in your squad	
			"mp_voice_max_distance_friendly"				"1080"	// max distance you can hear friendly players who are not in your squad		
			"mp_voice_max_friendly_volume"					"0.6"	// max volume it will play friendly player VOIP for those who are not in your squad	at the min distance
			"mp_voice_min_squad_volume"						"0.3"	// min volume it will play squad member VOIP if they are further than the max distance
			"mp_voice_min_distance_enemy"					"8"		// min distance you can hear enemy players	
			"mp_voice_max_distance_enemy"					"1080"	// max distance you can hear enemy players		
			"mp_voice_max_enemy_volume"						"0.5"	// max volume it will play enemy player VOIP at the min distance	
			"mp_voice_indirect_talker_volume" 				"0.4"	// frac applied to voip volume if the talker is not facing the listener
			"mp_voice_indirect_listener_volume" 			"0.7"	// frac applied to voip volume if the listener is not facing the talker	
			"mp_voice_blocked_lineofsight_friendly_volume"	"0.35"	// frac applied to voip volume if the speaker is a friendly and line of sight is blocked
			"mp_voice_blocked_lineofsight_enemy_volume"		"0.0"	// frac applied to voip volume if the speaker is an enemy and line of sight is blocked
			"sv_vote_issue_changegamemode_allowed"			"0"		// no changegamemode
		}
		
		"filters"	
		{
			"map"					"1"
			"realism"				"1"
			
			"maxplayers"
			{
				"total"				"16"
				"total"				"24"
				"total"				"32"
			}
		}

	}
	
	"sustained"
	{
		"print_name"		"#Playlist_Sustained"
		"description"		"#Playlist_Sustained_Desc"

		"mapcycle"
		{
			"siege" 	"skirmish"
			"district"	"push"
			"ministry" 	"skirmish"
			"peak" 		"push"
			"market" 	"skirmish"
			"heights" 	"push"
			"district" 	"skirmish"
			"siege" 	"push"
			"contact" 	"skirmish"
			"district" 	"strike"
			"peak" 		"skirmish"
			"ministry" 	"strike"
			"heights" 	"skirmish"
			"siege" 	"strike"
			"district" 	"skirmish"
			"market" 	"strike"
			"peak" 		"skirmish"
			"heights" 	"strike"
		}

		"cvars"
		{
			"mp_friendlyfire"								"1"		// friendly fire
			"mp_tkpunish"									"1"		// How to punish team killing ( 0 = none, 1 = warning, 2 = kill )
			"sv_hud_deathmessages"							"0"		// death messages
			"sv_hud_scoreboard_show_kd"						"1"		// show k:d on scoreboard
			"sv_hud_targetindicator"						"1"		// show friendly player names when looking at them
			"mp_timer_pregame"								"10"	// timer for the pre-game (before the game starts, usually after map change or on mp_restartgame 1)
			"mp_timer_preround"								"15"	// timer for the pre-round (before the round starts, usually after a previous round ends or on mp_restartround 1)
			"mp_timer_postround"							"15"	// timer for the post-round (after the round starts)
			"mp_timer_postgame"								"21"	// timer for the post-game (at the end of a game / map rotation)
			"mp_voice_use_3d_voip"							"1"		// disabling this will turn off the 3d voip system and allow all players to hear one another
		}

		"forced_cvars"
		{
			"sv_password"									""
			"mp_theater_override"							""
			"ins_bot_quota"									"0"		// if set higher than 0, the server will add this many bots to each team
			"sv_deadvoice"									"0"		// enabling this will allow the dead and living to VOIP each other
			"sv_deadchat"									"0"		// enabling this will allow the dead and living to chat text each other
			"sv_deadchat_team"								"1"		// is deadchat limited to just your team?
			"mp_minteamplayers"								"1"		// min players on each team to start the match
			"mp_teams_auto_join"							"1"		// when enabled, players are automatically assigned to a team on join
			"mp_teams_unbalance_limit"						"1"		// the amount of player difference between each team the server considers to be imbalanced
			"mp_autoteambalance"							"1"		// should the server auto balance the teams if they are imbalanced?
			"mp_voice_min_distance_friendly"				"8"		// min distance you can hear friendly players who are not in your squad	
			"mp_voice_max_distance_friendly"				"1080"	// max distance you can hear friendly players who are not in your squad		
			"mp_voice_max_friendly_volume"					"0.6"	// max volume it will play friendly player VOIP for those who are not in your squad	at the min distance
			"mp_voice_min_squad_volume"						"0.3"	// min volume it will play squad member VOIP if they are further than the max distance
			"mp_voice_min_distance_enemy"					"8"		// min distance you can hear enemy players	
			"mp_voice_max_distance_enemy"					"1080"	// max distance you can hear enemy players		
			"mp_voice_max_enemy_volume"						"0.5"	// max volume it will play enemy player VOIP at the min distance	
			"mp_voice_indirect_talker_volume" 				"0.4"	// frac applied to voip volume if the talker is not facing the listener
			"mp_voice_indirect_listener_volume" 			"0.7"	// frac applied to voip volume if the listener is not facing the talker	
			"mp_voice_blocked_lineofsight_friendly_volume"	"0.35"	// frac applied to voip volume if the speaker is a friendly and line of sight is blocked
			"mp_voice_blocked_lineofsight_enemy_volume"		"0.0"	// frac applied to voip volume if the speaker is an enemy and line of sight is blocked
			"sv_vote_issue_changegamemode_allowed"			"0"		// no changegamemode
		}
		
		"filters"	
		{
			"map"					"1"
			"realism"				"1"
			
			"maxplayers"
			{
				"total"				16
				"total"				24
				"total"				32
			}
		}
	}

	"coop"
	{
		"print_name"		"#Playlist_Coop"
		"description"		"#Playlist_Coop_Desc"

		"mapcycle"
		{
			"contact_coop" 		"checkpoint"
			"district_coop" 	"checkpoint"
			"siege_coop" 		"checkpoint"
			"market_coop" 		"checkpoint"
			"heights_coop" 		"checkpoint"
			"ministry_coop" 	"checkpoint"
		}

		"cvars"
		{
			"mp_friendlyfire"								"1"		// friendly fire
			"mp_tkpunish"									"1"		// How to punish team killing ( 0 = none, 1 = warning, 2 = kill )
			"sv_hud_deathmessages"							"0"		// death messages
			"sv_hud_scoreboard_show_kd"						"1"		// show k:d on scoreboard
			"sv_hud_targetindicator"						"1"		// show friendly player names when looking at them
			"mp_timer_preround"								"15"	// timer for the pre-round (before the round starts, usually after a previous round ends or on mp_restartround 1)
			"mp_timer_postround"							"15"	// timer for the post-round (after the round starts)
			"mp_timer_postgame"								"21"	// timer for the post-game (at the end of a game / map rotation)
			"mp_timer_pregame"								"10"	// timer for the pre-game (before the game starts, usually after map change or on mp_restartgame 1)
			"mp_voice_min_distance_friendly"				"8"		// min distance you can hear friendly players who are not in your squad	
			"sv_deadvoice"									"0"		// enabling this will allow the dead and living to VOIP each other
			"sv_deadchat"									"0"		// enabling this will allow the dead and living to chat text each other
			"sv_deadchat_team"								"1"		// is deadchat limited to just your team?
		}

		"forced_cvars"
		{
			"sv_password"									""
			"mp_theater_override"							""
			"mp_minteamplayers"								"1"		// min players on each team to start the match
			"mp_voice_use_3d_voip"							"1"		// disabling this will turn off the 3d voip system and allow all players to hear one another
			"mp_voice_max_distance_friendly"				"1080"	// max distance you can hear friendly players who are not in your squad		
			"mp_voice_max_friendly_volume"					"0.6"	// max volume it will play friendly player VOIP for those who are not in your squad	at the min distance
			"mp_voice_min_squad_volume"						"0.3"	// min volume it will play squad member VOIP if they are further than the max distance
			"mp_voice_indirect_talker_volume" 				"0.4"	// frac applied to voip volume if the talker is not facing the listener
			"mp_voice_indirect_listener_volume" 			"0.7"	// frac applied to voip volume if the listener is not facing the talker	
			"mp_voice_blocked_lineofsight_friendly_volume"	"0.35"	// frac applied to voip volume if the speaker is a friendly and line of sight is blocked
			"mp_coop_min_bots"								"6"		// number of bots when there is 1 player on the server
			"mp_coop_max_bots"								"18"	// number of bots when there are 8 players on the server
			"mp_coop_min_bot_difficulty"					"0"		// bot difficulty towards the beginning of the mission
			"mp_coop_max_bot_difficulty"					"2"		// bot difficulty towards the end of the mission
			"bot_damage"									"0.6"	// the amount of damage bots give off compared to normal players
			"sv_vote_issue_changegamemode_allowed"			"0"		// no changegamemode
		}	
		
		"filters"	
		{
			"map"					"1"
		}
	}
}