//******************************************************************************
//  _____                  _    _             __
// |  _  |                | |  | |           / _|
// | | | |_ __   ___ _ __ | |  | | __ _ _ __| |_ __ _ _ __ ___
// | | | | '_  / _  '_ | |/| |/ _` | '__|  _/ _` | '__/ _ 
//  _/ / |_) |  __/ | |   /  / (_| | |  | || (_| | | |  __/
//  ___/| .__/ ___|_| |_|/  / __,_|_|  |_| __,_|_|  ___|
//       | |               We don't make the game you play.
//       |_|                 We make the game you play BETTER.
//
//            Website: http://openwarfaremod.com/
//******************************************************************************

//******************************************************************************
// GAMETYPE DESCRIPTION
//******************************************************************************
// In Capture the Flag players on both teams need to steal the other team's flag
// and return to their base. Each team will also need to protect their flag from
// being taken as they won't be able to score a point if they return the enemy's
// flag to their base and their own flag is missing.
// 
// There are 3 modes for this gametype. In mode 0 the players will be able to 
// return their flag when the enemy drops it by touching it. In mode 1, the flag
// will remain on the location where it was dropped and it will be returned
// automatically after certain amount of time if no enemy player captures it 
// again. In mode 2, the players will have to recover the flag and return it 
// themselves to their own base.

//******************************************************************************
// CAPTURE THE FLAG SETTINGS
// ALL VARIABLES WORK IN RANKED AND UNRANKED MODES
//******************************************************************************
// PLEASE REMEMBER TO UNCOMMENT THE LINES BY REMOVING THE DOUBLE SLASHES (//)
// WHEN CHANGING A VALUE. PLEASE DO NOT UNCOMMENT LINES SET TO DEFAULT VALUES.
//******************************************************************************

// Gametype mode to play (check gametype description)
set scr_ctf_ctfmode "0"

// Time it will take for the flag to automatically return to its base when idle (mode 1)
// 0-120 = Time in seconds (default is 60)
set scr_ctf_idleflagreturntime "60"

// Ends the round when a team successfully returns the enemy flag to their base
// 0 = Disabled (default), 1 = Enabled
set scr_ctf_endround_on_capture "0"

// Show enemies on the radar if the time limit is reached and no team has captured the flag
// Only applies for scr_ctf_endround_on_capture set to "1"
// 0 = Disabled, 1 = Enabled (default)
set scr_ctf_suddendeath_show_enemies "1"

// Time limit for the overtime period once the round time has ended and the flag hasn't been captured
// 0 = No time limit, > 0 - 600 = Seconds for the overtime limit
set scr_ctf_suddendeath_timelimit "90"

// Number of lives that each player will have.
// 0 = Unlimited, 1-10: Number of lives for the round.
set scr_ctf_numlives "0"

// Seconds it will take the player to respawn again once killed.
// -1 = Instance respawn, 0 = 10 seconds, > 0 Time in seconds
set scr_ctf_playerrespawndelay "1.5"

// Number of total rounds that will be played
set scr_ctf_roundlimit "1"

// Number of rounds to play before switching sides
set scr_ctf_roundswitch "1"

// Score limit to win the match
// When the score limit is set to 0 the game will be played based on the time limit 
set scr_ctf_scorelimit "4"

// Time limit for each round. Round will finish once the team limit is reached.
set scr_ctf_timelimit "15"

// Seconds it will take to spawn new waves of players (default is 15)
set scr_ctf_waverespawndelay "0"

// Indicates if a player carrying the enemy flag can return his own flag in mode 1.
// 0 = Disabled, 1 = Enabled (default)
set scr_ctf_flag_carrier_can_return "1"

// Show the a flag icon next to the player that is currently carrying the flag
// 0 = Disabled, 1 = Enabled (default)
set scr_ctf_scoreboard_flag_carrier "1"

// Show the player carrying the flag to the enemy team
// 0 = Disabled (default), 1 = Always Enabled, 2 = AntiFlag Camping
set scr_ctf_show_flag_carrier "2"

// Seconds to show the flag carrier to the enemy when scr_ctf_show_flag_carrier is set to
// "2" and distance is set to "0". If distance is set to a greater value than 0 then the
// time will be used to show the flag carrier in the case he/she doesn't move enough
// distance in the set time.
// Values: Between 5-600
set scr_ctf_show_flag_carrier_time "5"

// Distance that the player needs to move between each check to not be considered camping
// with the flag and be shown to the enemy player.
// 0 = Disabled (default), 1-1000 = Enabled (distance in inches, 1 unit = 2.54cm)
set scr_ctf_show_flag_carrier_distance "4"

// Wait until the end of the round to perform a team-balance
// 0 = Disabled (default), 1 = Enabled
set scr_ctf_teambalanceendofround "0"