//******************************************************************************
// Call of Duty 2 - eXtreme+ modification
//******************************************************************************
// author   : Astoroth and the eXtreme+ Support Crew
// email    : astoroth@gom.me.uk
// website  : http://www.mycallofduty.com
//
// mod      : eXtreme+
// version  : 2.3
// update   : November 2007
//******************************************************************************


//******************************************************************************
// Command Monitor
//******************************************************************************
// 0 = disabled, 1 = enabled, default = 0
set ex_cmd_monitor "1"

// The player model changing adds around 1000 to the initial gamestate, so if you experience
// gamestate errors, it is recommended you leave this set to disabled.
// 0 = disabled, 1 = enabled, default = 0
//set ex_cmdmonitor_models "0"

// The following is for informational purposes only. Do NOT uncomment!
// Commands available from RCON. To use type /rcon set COMMAMDLISTEDBELOW #
// where # is client number from rcon status.
// To affect all players use -1 as client number

// EXAMPLE: /rcon set torch 2  (will torch player in client slot 2)

// set funmode #          turns the player into misc objects
// set mattress #         turns the player into a mattress
// set barrel #           turns the player into a barrel
// set bathtub #          turns the player into a bathtub
// set toilet #           turns the player into a toilet
// set tree #             turns the player into a tree
// set tombstone #        turns the player into a tombstone, 11 different styles, picked at random
// set original #         resets the player back to their original state

// set warp #             shoots the player into the air (while displaying server rules)
// set lock #             locks a player inplace
// set unlock #           unlocks the player from place
// set suicide #          kills a player
// set smite #            blows up a player
// set torch #            torches a player and kills them
// set fire #             sets a player on fire. player can move. fire will not kill player
// set spank #            spanks a player by going prone, shellshock, disable weapons for 15 seconds.
// set arty #             throw artillery on player.
// set endmap #           end the map and move on to the next one (still show stats and map vote)
// set disableweapon #    disables the player weapons
// set enableweapon #     enables the player weapons
// set cheater #          ruins the gaming experience for the player (hehe)

// set sayall #           display a message on lower left of HUD
// set sayallcenter #     display a message on screen center

// You can apply commands to a whole team
// To set teams you MUST do the team cvar BEFORE doing any of the commands above.

// set team allies
// set team axis

// TEAM CONTROL: do NOT use the "set team" command for this!

// set switchplayerallies #   switches a player to allies
// set switchplayeraxis #     switches a player to axis
// set switchplayerspec #     switches a player to spectator

// This setting has a value of 1 only.  Used to swap both teams
// set switchsidesallplayers 1


//******************************************************************************
// Name Checker
//******************************************************************************
// This is a small routine which is launched by the mod at the start of every game.
// It monitors player names for Unknown Soldiers if Unknown Soldier handling is enabled, and it
// monitors names for duplicates. If it finds two that match, it renames the second player to
// Unknown Soldier, which forces the player to change his name to something else (for duplicate
// names it will start the Unknown Soldier handling code regardless of the ex_uscheck setting)
// disabled = 0, enabled = 1 (default = 1)
set ex_namechecker "1"

// The Name checker will hand over the player to the Unknown Soldier handling code.
// Define if you want this procedure to include the initial warning and wait time, or if the code
// should immediately rename the offending player to a (clan) quest name.
// disabled = 0, enabled = 1 (default = 1)
set ex_ncskipwarning "1"


//******************************************************************************
// Unknown Soldier handling
//******************************************************************************
// If players join your server as Unknown Soldier, the mod will ask them to change their name.
// If they refuse to comply, the mod will assign a new name.
// disabled = 0, enabled = 1 (default = 1)
//set ex_uscheck "1"

// What the mod will do after the first warning, depends on the ex_usclanguest setting.
// When enabled, Unknown Soldiers are handled as clan guests (final name from ex_usclanguestname;
// When disabled, they are handled as non-clan guests (temporary name from ex_usguestname, they
// get a second chance to change their name. If they don't, the mod will punish them).
// disabled = 0, enabled = 1 (default = 0)
set ex_usclanguest "1"

// New name for clan guests. You can include your own clan tag.
// A number will be added automatically.
// default = "Guest#"
set ex_usclanguestname "^7{CLAN^7}_^3Guest_#^2"

// New name for non-clan guests. Be creative.
// A number will be added automatically.
// default = "UnacceptableName#"
//set ex_usguestname "I-Must-Change-My-Name#"

// The mod will ask the player to change his name, wait, and rename the player.
// Set the number of seconds the mod should wait before assigning a new name.
// min = 20, max = 60 (default = 30)
set ex_uswarndelay1 "20"

// After assigning non-clan quest names, they get a second chance to change their name.
// Set the number of seconds the mod should wait before punishing the player, by randomly freezing
// them, and drop or disable their weapon.
// This function is not available when using clan guests.
// min = 20, max = 120 (default = 30)
set ex_uswarndelay2 "40"

// The punishment routine can loop several times and then allow them to play as normal.
// Once they die this process will repeat itself, until they change their name!
// Set how many times the player will be punished before letting them off the hook.
// This function is not available when using clan guests.
// min = 1, max = 999 (default = 5)
set ex_uspunishcount "10"


//******************************************************************************
// Anti Camping System
//******************************************************************************
// time before being warned to move on for players not using a sniper rifle in seconds
// 0 = disable, max = 300, default = 0
//set ex_campwarntime "60"

// time in seconds before being punished for camping! (non snipers)
// min = warntime+5, max = 600 (default = warntime+10)
//set ex_campobjtime "80"

// time before being warned to move on for players using a sniper rifle in seconds
// 0 = disable, max = 600, default = 0
//set ex_campsniper_warntime "300"

// time in seconds before being punished for camping! (snipers)
// min = warntime+5, max = 1200, (default = warntime+10)
//set ex_campsniper_objtime "320"

// time in seconds that campers will be punished!
// 0 = never, max = 300, default = 20
//set ex_camptimer "0"

// camper punishment
// 0 = random (default)
// 1 = marked on compass
// 2 = made to fart
// 3 = blown up
// 4 = shellshock
// 5 = shellshock & drop weapon
//set ex_camp_punish "1"


//******************************************************************************
// Spawn protection
//******************************************************************************
// spawn protected time in seconds
// 0 = disabled, max = 60, default = 0
set ex_protection_time "10"

// the allowed distance to move before spawn protection is disabled in feet
// 0 = disabled, max = 100, default = 10
set ex_protection_range "50"

// show HUD element indicating protection
// 0 = disabled (default)
// 1 = enabled
set ex_protection_hud "1"

// headicon indicating protection
// 0 = disabled (default)
// 1 = enabled
//set ex_protection_headicon "1"

// force protected players to drop their weapon if they are shooting another player
// 0 = disabled (default)
// 1 = enabled
//set ex_protection_punish_self "1"

// punish an attacker if they are shooting a protected player
// 0 = disabled (default)
// 1 = enabled
//set ex_protection_punish_attacker "1"

// disable weapon while spawnprotected
// 0 = weapon enabled (default)
// 1 = weapon disabled
//set ex_protection_weapon_disable "0"

// invisible while spawnprotected
// 0 = disabled (default)
// 1 = enabled
//set ex_protection_invisible "0"

// spawn protection system messages
// 0 = left, above compass (default)
// 1 = centre screen
// 2 = scroll text area centre top -- adds to gamestate!
set ex_protection_msg "0"


//******************************************************************************
// Team Kill System (SINBIN)
//******************************************************************************
// randomly switches between freezing the player to the spot without the use of their
// weapon and lifting the player in to the air, then dropping them to their death!

// team Kill System
// 0 = disabled, 1 = enabled, default = 0
//set ex_tksystem "1"

// how many TK's before we start messing with them?
// min = 1, max = 10, default = 1
//set ex_tkmax "2"

// when freezing a player to the spot, how long in seconds to hold them?
// min = 1, max = 60, default = 5
//set ex_tktime "10"

// team kill system messages
// 0 = left, above compass (default)
// 1 = centre screen
//set ex_tkmsg "0"


//******************************************************************************
// Obituary Messages
//******************************************************************************
// options, 0 = none (off) still does stats!
// 1 = stock obituary with stats!
// 2 = stock obituary with stats! and personal sound
// 3 = stock obituary with stats! and personal message
// 4 = stock obituary with stats!, personal sound and personal messages
// 5 = eXtreme+ obituary with stats!
// 6 = eXtreme+ obituary with stats! and personal sound
// 7 = eXtreme+ obituary with stats! and personal messages
// 8 = eXtreme+ obituary with stats!, personal sound and personal messages
set ex_obituary "8"

// set unit of measurement for range
// 0 = metres
// 1 = yards
set ex_obitunit "1"
