//******************************************************************************
// 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
//******************************************************************************


//******************************************************************************
// IF YOU ARE GOING TO USE A DEFAULT SETTING ITS BEST TO LEAVE IT COMMENTED OUT.
//   (e.g. leave the // in front of the set command)
// COD2 has a max dvar limit (1280), and to avoid reaching this limit all settings that
// have a default setting you were going to use anyway should be best left commented out.
//******************************************************************************


//******************************************************************************
// Rank system
//******************************************************************************
// 8 ranks for each nationality!
// As you progress through the ranks, you are awarded additional ammo, and granted
// extra abilities....e.g. Mortar strikes, Artillery strikes and Airstrikes!
// 0 = disable (default)
// 1 = enable
set ex_ranksystem "1"

// hud display of your rank -- adds to gamestate
// 0 = disable
// 1 = enable (default)
set ex_rankhud "1"

// rank announce - turns the promotion/demotion announcement on or off
// 0 = disable
// 1 = enable (default).
set ex_rank_announce "1"

// rank setup - if you set this to 1 you will go through the ranks, but you will
// not get demoted when killed (ranks per playerscore)
// 0 = disable (default)
// 1 = enable
set ex_rank_score "1"

// add grenades and landmines on rank promotion - if enabled the new grenades
// are added to the ones the player already has. If disabled it takes away all
// nades, and gives new ones based on the rank (losing the ones he picked up)
// 0 = disable
// 1 = enable (default)
//set ex_rank_promo_addnades "1"


//******************************************************************************
// Rank system Overview
//******************************************************************************
// American
// Private, Corporal, Sergeant, Lieutenant, Captain, Major, Colonel, and General

// British
// Private, Corporal, Sergeant, Lieutenant, Captain, Major, Colonel, and General

// Russian
// Soldat, Kapral, Podpraporshchik, Leytenant, Kapitan, Mayor, Polkovnik, and General-Poruchik

// German
// Grenadier, Unteroffizier, Unterfeldwebel, Leutnant, Hauptmann, Major, Oberst, and General


//******************************************************************************
// Rank system - Points to achieve ranks
//******************************************************************************
// Players start at rank 0!
set ex_rank_points_1	"5" //Corporal
set ex_rank_points_2	"10" //Sergeant
set ex_rank_points_3	"15" //Lieutenant
set ex_rank_points_4	"20" //Captain
set ex_rank_points_5	"25" //Major
set ex_rank_points_6	"30" //Colonel
set ex_rank_points_7	"35" //General

// Suggested rank points for CNQ - the higher you set obj and bonus player
// points, the higher you will need to set these
set ex_rank_points_1_cnq "10"
set ex_rank_points_2_cnq "20"
set ex_rank_points_3_cnq "30"
set ex_rank_points_4_cnq "40"
set ex_rank_points_5_cnq "50"
set ex_rank_points_6_cnq "60"
set ex_rank_points_7_cnq "70"


//******************************************************************************
// Rank system - Primary and Secondary Gun Clips (min 0 - max 12)
//******************************************************************************
// how many for each rank? (NB: one clip already loaded).
// The rank system uses the default stock ammo loadouts. The clip numbers you add
// here are ammo in addition of that loadout.
set ex_rank_gunclips_0	"2"
set ex_rank_gunclips_1	"4"
set ex_rank_gunclips_2	"6"
set ex_rank_gunclips_3	"8"
set ex_rank_gunclips_4	"10"
set ex_rank_gunclips_5	"12"
set ex_rank_gunclips_6	"12"
set ex_rank_gunclips_7	"12"


//******************************************************************************
// Rank system - Pistol Clips  (min 0 - max 12)
//******************************************************************************
// how many for each rank? (NB: one clip already loaded)
// The rank system uses the default stock ammo loadouts. The clip numbers you add
// here are ammo in addition of that loadout.
set ex_rank_pistolclips_0		"2"
set ex_rank_pistolclips_1		"4"
set ex_rank_pistolclips_2		"6"
set ex_rank_pistolclips_3		"8"
set ex_rank_pistolclips_4		"10"
set ex_rank_pistolclips_5		"12"
set ex_rank_pistolclips_6		"12"
set ex_rank_pistolclips_7		"12"


//******************************************************************************
// Rank system - Frag Grenades (min 0 - max 9)
//******************************************************************************
// how many for each rank?
set ex_rank_grenades_0		"1"
set ex_rank_grenades_1		"1"
set ex_rank_grenades_2		"1"
set ex_rank_grenades_3		"2"
set ex_rank_grenades_4		"2"
set ex_rank_grenades_5		"2"
set ex_rank_grenades_6		"3"
set ex_rank_grenades_7		"3"


//******************************************************************************
// Rank system - Smoke Grenades  (min 0 - max 9)
//******************************************************************************
// how many for each rank?
set ex_rank_smoke_0		"1"
set ex_rank_smoke_1		"1"
set ex_rank_smoke_2		"1"
set ex_rank_smoke_3		"2"
set ex_rank_smoke_4		"2"
set ex_rank_smoke_5		"2"
set ex_rank_smoke_6		"3"
set ex_rank_smoke_7		"3"


//******************************************************************************
// Rank system - Landmines  (min 0 - max 9)
//******************************************************************************
// how many for each rank?
set ex_rank_landmines_0		"0"
set ex_rank_landmines_1		"1"
set ex_rank_landmines_2		"1"
set ex_rank_landmines_3		"2"
set ex_rank_landmines_4		"2"
set ex_rank_landmines_5		"2"
set ex_rank_landmines_6		"3"
set ex_rank_landmines_7		"3"


//******************************************************************************
// Rank system - First Aid (Medi Kits)  (min 0 - max 9)
//******************************************************************************
// how many for each rank?
set ex_rank_firstaid_0		"1"
set ex_rank_firstaid_1		"1"
set ex_rank_firstaid_2		"1"
set ex_rank_firstaid_3		"2"
set ex_rank_firstaid_4		"2"
set ex_rank_firstaid_5		"2"
set ex_rank_firstaid_6		"3"
set ex_rank_firstaid_7		"3"


//******************************************************************************
// Rank system - WMD deployment type
//******************************************************************************
// You can choose whether you wish to have a fixed, random or allowed random deployment
// for the WMD's. 'Fixed' will hand out the WMD for that rank range only, 'random' will allow you
// to hand out WMD's for the achieved rank and if existing the rank(s) below, depending on
// what you have set the availabity to, and 'allowed random' will let you set one rank to be
// reached and then a random WMD will be picked from the ones you allow.

// NB: The loadout order is Mortars > Artillery > Airstrike!
// e.g. Mortars at rank 3, Artillery at rank 4, Airstrike at rank 5 and Napalm at rank 7

// Fixed would give you,
// Ranks 0, 1, 2 = Nothing
// Ranks 3 = Mortars
// Ranks 4 = Artillery
// Ranks 5 & 6 = Airstrikes
// Ranks 7 = Napalm

// Random would give you,
// Ranks 0, 1, 2 = Nothing
// Ranks 3 = Mortars only
// Ranks 4 = Mortars and Artillery (at random!)
// Ranks 5 & 6 onwards = Mortars, Artillery and Airstrikes (at random!)
// Ranks 7 = Mortars, Artillery, Airstrikes and Napalm (at random!)

// Allowed random, rank to reached = 3;
// then depending on what WMD's are allowed, the mod will pick one
// of them for the player.

// WMD deployment type (0 = fixed 1 = random or 2 = allowed random)
set ex_rank_wmdtype "0"

// Drop a flare at target position for WMD's ? (0 = disable , 1 = enable)
// NB: Some models with 'invisible' areas block the end view of the player using
// binoculars so this flare helps show the target position, but its more fun without it!
set ex_rank_wmd_flare "1"


//******************************************************************************
// Rank system - Fixed WMD deployment timings
//******************************************************************************
// If you have choosen fixed WMD deployment you will need to configure these settings

// Mortars
// when rank is achieved how long before mortars are ready (in seconds)?
set ex_rank_mortar_first "30"

// After first mortar attack, how long till the player is allowed mortars again (in seconds)?
// when the player dies, this time is reset to the first!
set ex_rank_mortar_int "120"

// Artillery
// when rank is achieved how long before artillery is ready (in seconds)?
set ex_rank_artillery_first "30"

// After first mortar attack, how long till the player is allowed mortars again (in seconds)?
// when the player dies, this time is reset to the first!
set ex_rank_artillery_int "120"

// Airstrikes & Napalm
// when rank is achieved how long before airstrike(inc Napalm) are ready (in seconds)?
set ex_rank_airstrike_first "30"

// After first mortar attack, how long till the player is allowed mortars again (in seconds)?
// when the player dies, this time is reset to the first!
set ex_rank_airstrike_int "120"


//******************************************************************************
// Rank system - 'Random'  and 'Allowed Random' WMD deployment timings
//******************************************************************************
// if you have chosen 'random' or 'allowed random' WMD deployment you will also need to
// set the min and max delay times between deployments.

// Minimum delay for WMD deployment (10 - 300 seconds)
set ex_rank_wmd_min "30"

// Maximum delay for WMD deployment (Min time - 600 seconds)
set ex_rank_wmd_max "40"


//******************************************************************************
// Rank system - 'Allowed Random' WMD rank
//******************************************************************************
// if you have chosen 'allowed random' WMD deployment you need to set the rank that
// needs to be reached here and the allowed WMD's.
set ex_rank_allow_rank "5"

// Allow Mortar WMD?
// 0 = disable, 1 = enable, default = 0
//set ex_rank_allow_mortar "1"

// Allow Artillery WMD?
// 0 = disable, 1 = enable, default = 0
//set ex_rank_allow_artillery "1"

// Allow Airstrike WMD?
// 0 = disable, 1 = enable, default = 0
set ex_rank_allow_airstrike "1"

// Allow Napalm WMD?
// 0 = disable, 1 = enable, default = 0
set ex_rank_allow_napalm "1"


//******************************************************************************
// Rank system - Preset ranks for individual players
//******************************************************************************
// You may wish certain players to have a preset rank when they join your server.
// You can add as many individual players as you like, just increase the last digit for each one.
// Clan presets are limited to maximum four clans (see clancontrol.cfg).
// It doesn't matter if you enter the names with colours, non alphabet characters, uppercase or lowercase.
// The mod will understand as long as you have the letters in the name correct.

//set ex_psr_clan_0	"{PST}"
//set ex_psr_name_0	"{PST}*Joker"
//set ex_psr_rank_0	"4"

//set ex_psr_clan_1	"Clan"
//set ex_psr_name_1	"Name"
//set ex_psr_rank_1	"6"

//set ex_psr_clan_2	"Clan"
//set ex_psr_name_2	"Name"
//set ex_psr_rank_2	"3"
