//******************************************************************************
//  _____                  _    _             __
// |  _  |                | |  | |           / _|
// | | | |_ __   ___ _ __ | |  | | __ _ _ __| |_ __ _ _ __ ___
// | | | | '_ \ / _ \ '_ \| |/\| |/ _` | '__|  _/ _` | '__/ _ \
// \ \_/ / |_) |  __/ | | \  /\  / (_| | |  | || (_| | | |  __/
//  \___/| .__/ \___|_| |_|\/  \/ \__,_|_|  |_| \__,_|_|  \___|
//       | |               We don't make the game you play.
//       |_|                 We make the game you play BETTER.
//
//            Website: http://openwarfaremod.com/
//******************************************************************************
// WEAPON OPTIONS
// 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.
//******************************************************************************

// Allow players to dynamically attach/detach weapon attachments
// 0 = Disabled (default), 1 = Enabled (only Silencer), 2 = Enabled (Silencer and ACOG Scope)
set scr_dynamic_attachments_enable "2"

// Set at which point planted explosives (Claymores and C4s) should be removed from the map
// 0 = Disabled, 1 = Enabled (default)
// set scr_deleteexplosivesonspawn "1"

// 0 = Disabled (default), 1 = Enabled
// set scr_deleteexplosivesondeath "0"

// Allow players to disarm/retrieve explosives from the map 
// 0 = Disabled (default), 1 = Enabled
set scr_explosives_allow_disarm "1"

// Baseline time in seconds a player will take to disarm an explosive (default is 5 seconds)
set scr_explosives_disarm_time "3"

// Show the icon over claymores identifying the owner team
// 0 = Disabled, 1 = Enabled (default)
// set scr_claymore_show_headicon "1"

// Show the laser beams on claymores
// 0 = Disabled, 1 = Enabled (default)
// set scr_claymore_show_laser_beams "1"

// Set friendly fire for planted claymores
// 0 = Detonation by enemies only (default)
// 1 = Enemies and friendlies (except owner)
// 2 = Everyone (including owner)
// set scr_claymore_friendly_fire "0"

// Time it will take the claymore to be armed after planting
// 0 = Disabled (default), 1-10 = Enabled
// set scr_claymore_arm_time "0"

// Check for an invalid plant (too much distance between the player and the claymore)
// 0 = Disabled (default), 1 = Enabled
// set scr_claymore_check_plant_distance "0"

// Show the C4's blinking light effect once planted
// 0 = Disabled, 1 = Enabled (default)
// set scr_show_c4_blink_effect "1"

// Allow stationary turrets on the maps
// 0 = Disabled, 1 = Enabled (default)
// set scr_allow_stationary_turrets "1"

// NOTE: If any nades are delayed then it is recommended to also delay 'remote' streaks (Reaper etc)
// This is so the player doesnt lose his nades before they are given to him.

// Delay the use of frag grenades at the beginning of the round or every time the player spawns
// 0 = Disabled (default), 1-30 = Enabled (time in seconds)
// set scr_delay_frag_grenades "0"

// Delay the use of grenade launchers at the beginning of the round or every time the player spawns
// 0 = Disabled (default), 1-30 = Enabled (time in seconds)
// set scr_delay_grenade_launchers "0"

// Delay the use of smoke grenades at the beginning of the round or every time the player spawns
// 0 = Disabled (default), 1-30 = Enabled (time in seconds)
// set scr_delay_smoke_grenades "0"

// Delay the use of flash grenades at the beginning of the round or every time the player spawns
// 0 = Disabled (default), 1-30 = Enabled (time in seconds)
// set scr_delay_flash_grenades "0"

// Delay the use of concussion grenades at the beginning of the round or every time the player spawns
// 0 = Disabled (default), 1-30 = Enabled (time in seconds)
// set scr_delay_concussion_grenades "0"

// Delay the use of RPGs at the beginning of the round or every time the player spawns
// 0 = Disabled (default), 1-30 = Enabled (time in seconds)
// set scr_delay_rpgs "0"

// Delay the use of C4s at the beginning of the round or every time the player spawns
// 0 = Disabled (default), 1-30 = Enabled (time in seconds)
// set scr_delay_c4s "0"

// Delay the use of Claymores at the beginning of the round or every time the player spawns
// 0 = Disabled (default), 1-30 = Enabled (time in seconds)
// set scr_delay_claymores "0"

// Controls whether the delay of weapon will happen just at the beginning of the round or every time the player spawns
// 0 = Disabled, 1 = Enabled (default)
// set scr_delay_only_round_start "1"

// Play a sound when to the player indicating that the weapon has been assigned
// 0 = Disabled, 1 = Enabled (default)
// set scr_delay_sound_enable "1"

// This variable controls the base time used to calculate how long the concussion grenade effects will last for. 
// Allowed values: 4-15 = Time in seconds (default is 4)
// set scr_concussion_grenades_base_time "4"

// Controls whether the player will move toward the enemy a few feet when using the knife
// 0 = Disabled, 1 = Enabled (default)
// set scr_enable_auto_melee "1"

// Limit the maximum number of claymores that can be planted by one team at any given time
// 0 = Disabled (default), 1-50 = Limit of explosives per team that can be planted
// set scr_limit_planted_claymores "0"

// Limit the maximum number of C4s that can be planted by one team at any given time
// 0 = Disabled (default), 1-50 = Limit of explosives per team that can be planted
// set scr_limit_planted_c4s "0"

// Controls whether tracer bullets should be used when firing weapons
// Allowed values: 0-1 (chance of bullet being a tracer) (default is 0.2)
// set scr_fire_tracer_chance "0.2"

// Controls whether exploding barrels or vehicles should cause damage to the players
// 0 = Disabled, 1 = Enabled (default)
// set scr_barrel_damage_enable "1"
// set scr_vehicle_damage_enable "1"


//******************************************************************************
// RUN AND GUN OPTIONS
//******************************************************************************
// Enable R&G. If enabled then players will be penalized with a damage reduction 
// if the they don't use the weapon sights. The damage reduction will be based on
// the distance from the attacker to the victim. 
// 0 = Disabled (default), 1 = Enabled, 2 = Enabled (except for shotguns)
// set scr_rng_enabled "0"

// Distance in inches from the attacker to the victim to calculate damage
// 0-10000 = Distance in inches (1 unit = 2.54cm) (default is 200)
// set scr_rng_distance "200"

// Percentage of damage when distance is lower than scr_rng_distance
// Allowed values: 0-100 (default is 50)
// set scr_rng_damage_closer "50"

// Percentage of damage when distance is higher than scr_rng_distance
// Allowed values: 0-100 (default is 5)
// set scr_rng_damage_longer "5"


//******************************************************************************
// WEAPON JAMS OPTIONS
//******************************************************************************
// Enable or disable the weapon jams
// 0 = Disabled (default), 1 = Enabled
// set scr_weaponjams_enable "0"

// Probability of a weapon to jam (the higher the value the less the probability).
// 10-1000 = Probability: 1 in X chance of jamming (default is 250)
// set scr_weaponjams_probability "250"

// Seconds that need to pass between jams for a single player for the weapon to jam again
// Allowed values: 0-300 (default is 0)
// set scr_weaponjams_gap_time "0"


//******************************************************************************
// SNIPER OPTIONS
//******************************************************************************
// Enable the sniper zoom for sniper rifles
// 0 = Disabled (default), 1 = Enabled
set scr_sniperzoom_enable "1"

// Set how many levels of lower zoom should be enabled (default is 8)
// 0=16x, 1=14x, 2=12x, 3=10x, 4=8x, 5=6x, 6=4x, 7=2x, 8=1x
set scr_sniperzoom_lower_levels "8"

// Set how many levels of higher zoom should be enabled (default is 9)
// 0=16x, 1=18x, 2=20x, 3=22x, 4=24x, 5=26x, 6=28x, 7=30x, 8=32x, 9=34x
set scr_sniperzoom_upper_levels "9"

// Controls whether a range should be shown when aiming down the sights with a sniper rifle
// 0 = Disabled (default), 1 = Enabled (yards), 2 = Enabled (meters)
set scr_rangefinder_enable "1"


//******************************************************************************
// OBJECTIVE SAFEZONE OPTIONS
//******************************************************************************
// SETTINGS ONLY APPLY TO CTF, DOM, KOTH, SAB, AND SD.
//******************************************************************************
// Enables or disables objective safezones so Claymores and C4s cannot be placed
// around objectives
// 0 = Disabled (default), 1 = Enabled
// set scr_objective_safezone_enable "0"
  
// Controls the radius of the safezone around the objective
// Allowed values: 50-500 (default is 100)
set scr_objective_safezone_radius "250"


//******************************************************************************
// WEAPON SWITCH FIRE MODES
//******************************************************************************
// ATTENTION! THIS FUNCTIONALITY HAS BEEN DEACTIVATED FROM THE MOD AS THE NEW
// WEAPONS WITH THE NEW FIRING MODES CAUSE AN ISSUE WITH THE LIMITATION OF THE
// ENGINE WITH 1000 XMODELS. IF YOU WANT TO USE THIS FUNCTIONALITY YOU WILL NEED
// TO CREATE YOUR OWN CUSTOM VERSION OF THE MOD BY RE-ENABLING THE FUNCTIONALITY
// AND DEACTIVATING OTHER THINGS LIKE THE NEW MODELS BEING USED IN FREEZETAG,
// RETRIEVAL, ETC.
//******************************************************************************
// 0 = Disabled (default), 1 = Enabled
// set scr_switch_firing_mode_enable "0"

// 0 = Disabled, 1 = Enabled (default)
// set scr_switch_firing_mode_allow_m16 "1"
// set scr_switch_firing_mode_allow_ak47 "1"
// set scr_switch_firing_mode_allow_m4 "1"
//******************************************************************************