Author Topic: weapon config for snipers only  (Read 1648 times)

Offline Icewow

  • Rank: Private
  • *
  • Posts: 90
    • http://www.wowsnipers.co.uk
weapon config for snipers only
« on: January 26, 2010, 05:35:52 pm »
Ello all..have used the openwarfare mod on my server but I like to try your mod called x5 2.5(heard just good about it :) ) but when I get to that config weapons my brain starting go hot..can someone just send me the weapon,cfg file to me with just snipers only??and if some one have a cool scoopeoverlay to give me for the scoop it would be great 8)
THX

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Re: weapon config for snipers only
« Reply #1 on: January 26, 2010, 08:38:39 pm »
Here is mine m8

Code: [Select]
//******************************************************************************
// Call of Duty 5 - eXtreme+ modification
//******************************************************************************
// author     : eXtreme+ Support Crew
// email      : admin@mycallofduty.com
// website    : http://www.mycallofduty.com
//
// mod        : X5 : eXtreme+ Warfare
// version    : v2.5
// update     : October 2009
//
//******************************************************************************


// Hardpoint Settings
set scr_game_hardpoints "1"
set scr_hardpoint_allowartillery "1"
set scr_hardpoint_allowdogs "0"
set scr_hardpoint_allowradar "1"
set scr_hardpoint_allowsupply "1"
set scr_hardpoint_allowuav "1"

// OldSchool is default game play

// Hardcore
set scr_hardcore "0"

// Number of dropped weapons before recycling
set g_maxDroppedWeapons "4"

// Weapons
//
set scr_weapon_allowbetty "0"
set scr_weapon_allowc4 "0"
set scr_weapon_allowflash "0"
set scr_weapon_allowfrags "0"
set scr_weapon_allowmines "0"
set scr_weapon_allowrpgs "0"
set scr_weapon_allowsatchel "0"
set scr_weapon_allowsmoke "0"

// Bouncing Bettty Settings
set bettyDetonateRadius "150"
set bettyTimeBeforeDetonate "0.45"
set bettyUpVelocity "296"
// X5 Betty detonation control options
//  NOTE - you should note that if you do not allow any approach betty options... then you cannot defuse it...
set ex_betty_onprone "0" // detonate betty when player is prone - 0=No Detonation 1=Detonation
set ex_betty_oncrouch "0" // detonate betty when player is crouched - 0=No Detonation 1=Detonation
set ex_betty_onads "1" // detonate betty when player is standing, but using sights - 0=No Detonation 1=Detonation

// Allow friendlies to detonate bettys
// 0 = Disabled (Default)
// 1 = Enabled
set ex_bettydetonatefriendly "1"

// Trigger delay,  this needs to be set so that a player can plant a betty and then move away
//       otherwise if you set friendly fire betties then they will explode when a player plants them...
// 0 = Disabled (Default)
// 1 = Enabled
set ex_bettytriggersettime "10"
// Message to show to friendly player in trigger radius during timer...
set ex_bettytriggertimermsg "LOOK OUT! Betty has been planted..crouch."

// Show team betty team icon for friendlies
// 0 = Disabled
// 1 = Enabled (Default)
set ex_bettyshowheadicon "1"

// Allow players to defuse bettys
// 0 = Disabled (Default)
// 1 = Enabled
set ex_allowbettydefuse "1"

// number of seconds required to defuse betty
// Min = 2 seconds (Default)
// Max = 99 seconds
set ex_bettydefusetime "5"

// possibility of betty detonation on defuse for friendly  
// 1 - 10 (Default = 1)
// 3 = 30%
// 5 = 50%
// 7 = 70% chance of exploding
set ex_defusebettyfailFriendly "1"

// possibility of betty detonation on defuse for enemy
// 1 - 10 (Default = 1)
// 3 = 30%
// 5 = 50%
// 7 = 70% chance of exploding
set ex_defusebettyfailEnemy "3"

// possibility of betty detenation on defuse self
// 1 - 10 (Default = 1)
// 3 = 30%
// 5 = 50%
// 7 = 70% chance of exploding
set ex_defusebettyfailSelf "1"

// Successful Defuse of betty by Teammates Points Awarded
// Min = 0 (Default)
// Max = 99
//set ex_defusebettypointsFriendly "2"

// Successful Defuse of betty by Enemy Points Awarded
// Min = 0 (Default = 2)
// Max = 99
set ex_defusebettypointsEnemy "3"

// Successful Defuse of betty by Self Points Awarded
// Min = 0 (Default = 0)
// Max = 99
set ex_defusebettypointsSelf "0"

// Add Defused betty to Players Inventory
// 0 = Disable  
// 1 = Enable (Default)
//set ex_defusebettyAddWeapon "1"

// Defuse Message
set ex_defusebettyUseMsg "^3Press USE Key to Defuse betty"

// Successful Defuse Message
set ex_defusebettySuccessMsg "^4Success!"

// Failed Defuse Message
set ex_defusebettyFailMsg "^1B O O M !"

// Defusing Message
set ex_defusebettyWorkingMsg "^1Defusing betty.... WAIT"

// Poison gas stuff?
set poisonDuration "8"
set tabun_effect_radius "150"
set tabun_shock_radius "150"
set tabunGasDuration "3"
set tabunInitialGasShockDuration "7"
set tabunWalkInGasShockDuration "4"


////////////////////////////////////
// Perk & Hardpoint Settings
//
// Perk Settings
set scr_game_perks "0"
set perk_armorVest "75"
set perk_bulletDamage "40"
set perk_explosiveDamage "25"
set perk_fireproof "55"
set perk_flakJacket "75"
set perk_flakJacketMaxDamage "75"
set player_lastStandBleedoutTime "30"

// Vehicle Perk Settings
set vehicle_perk_boost_acceleration_multiplier "1.571"
set vehicle_perk_boost_duration_seconds "0.74"
set vehicle_perk_boost_interval_seconds "1.703"
set vehicle_perk_boost_speed_increase "1.878"
set vehicle_perk_leadfoot_speed_increase "1.35"

// Dog Settings
set scr_dog_count "3"
set scr_dog_hardpoint_interval "180"
set scr_dog_health "100"
set scr_dog_max_at_once "4"
set scr_dog_time "60"

////////////////////////////////////
// Vehicle Settings
set scr_vehicles_enabled "0"
set scr_veh_respawntimemax "90"
set scr_veh_respawntimemin "50"
set scr_veh_health_jeep "700"

// Doesn't work?
//set scr_veh_health_tank "1350"
// Default value is 2600 -- stock health 0-5000
set ex_panzer_health "1000"
set ex_t34_health "1000"

set scr_veh_driversarehidden "1"
set scr_veh_driversareinvulnerable "1"
set scr_veh_explode_on_cleanup "1"
set scr_veh_explosion_doradiusdamage "1"
set scr_veh_explosion_maxdamage "200"
set scr_veh_explosion_mindamage "20"
set scr_veh_explosion_radius "256"

set scr_veh_alive_cleanuptimemax "120"
set scr_veh_alive_cleanuptimemin "119"
set scr_veh_cleanupabandoned "1"
set scr_veh_cleanupdrifted "1"
set scr_veh_cleanupmaxspeedmph "1"
set scr_veh_cleanupmindistancefeet "75"
set scr_veh_cleanuptime_dmgfactor_deadtread "0.25"
set scr_veh_cleanuptime_dmgfactor_max "1.0"
set scr_veh_cleanuptime_dmgfactor_min "0.33"
set scr_veh_cleanuptime_dmgfraction_curve_begin "0.0"
set scr_veh_cleanuptime_dmgfraction_curve_end "1.0"
set scr_veh_dead_cleanuptimemax "30"
set scr_veh_dead_cleanuptimemin "20"
set scr_veh_disappear_maxpreventdistancefeet "30"
set scr_veh_disappear_maxpreventvisibilityfeet "150"
set scr_veh_disappear_maxwaittime "60"
set scr_veh_explosion_husk_forcepointvariance "30"
set scr_veh_explosion_husk_horzvelocityvariance "25"
set scr_veh_explosion_husk_vertvelocitymax "200"
set scr_veh_explosion_husk_vertvelocitymin "100"
set scr_veh_explosion_spawnfx "1"
set scr_veh_ondeath_createhusk "1"
set scr_veh_ondeath_usevehicleashusk "1"
set scr_veh_respawnafterhuskcleanup "1"
set scr_veh_respawnwait_iterationwaitseconds "1"
set scr_veh_respawnwait_maxiterations "30"
set scr_veh_waittillstoppedandmindist_maxtime "10"
set scr_veh_waittillstoppedandmindist_maxtimeenabledistfeet "5"

// Fire
set fire_audio_random_max_duration "1000"
set fire_audio_repeat_duration "1500"
set fire_spread_probability "0"
set fire_stage1_burn_time "3000"
set fire_stage2_burn_time "0"
set fire_stage3_burn_time "0"
set fire_world_damage "20"
set fire_world_damage_duration "8"
set fire_world_damage_rate "0.25"

////////////////////////////////////
// Flares
set flare_distance_scale "16"
set flare_duration "8"
set flare_effect_radius "400"
set flareBurnOutFadeWait "0.65"
set flareDisableEffects "0"
set flareLookAwayFadeWait "0.45"

//********************************************************************************
//proximitySatchel
//********************************************************************************
set ex_proximity_Satchel "0"

set ex_proximitySatchelDetonateRadius "150"
set ex_proximitySatchelTimeBeforeDetonate "0.45"

//******************************************************************************
// Minefields
//******************************************************************************
// 0 = Minefields OFF
// 1 = Minefields ON (default)
// 2 = Gas Minefields
// 3 = Napalm Minefields
// 4 = Radiation Fields
set ex_minefields "3"

// Minimum and maximum damage by gas mines
// 1 - 100, default 50 (min) to 75 (max)
//set ex_gasmine_min "50"
//set ex_gasmine_max "75"

// Minimum and maximum damage by napalm mines
// 1 - 100, default 50 (min) to 75 (max)
//set ex_napalmmine_min "50"
//set ex_napalmmine_max "75"

// Minimum and maximum damage by radiation fields
// 1 - 100, default 50 (min) to 75 (max)
//set ex_radiationmine_min "50"
//set ex_radiationmine_max "75"


//******************************************************************************
// Laserdot
//******************************************************************************
// laserdot transparency
// 0 = disable (default)
// 1 = enabled, always on
// 2 = enabled, only when aiming down scope
// 3 = enabled, only when NOT aiming down scope
//set ex_laserdot "0"

// Static Cross - if ON, you must disable ex_laserdot
//set ex_static_cross "0"

// laser dot size min = 1 max = 5
// min = 1, max = 10, default = 2
//set ex_laserdot_size "2"

// color (default 1,0,0)
//set ex_laserdot_red "1"
//set ex_laserdot_green "1"
//set ex_laserdot_blue "0"


//******************************************************************************
// Turrets
//******************************************************************************
// 0 = no turrets
// 1 = allow (default)
set ex_turrets "0"

// turret overheating
// turrets will overheat after shooting it for some time
// 0 = disable
// 1 = enabled (default)
//set ex_turretoverheat "1"

// turret overheating rate
// 1 = slow, 2 = normal, 3 = fast, 4 = very fast (default = 2)
//set ex_turretoverheat_heatrate "2"

// turret cool down rate
// 1 = slow, 2 = normal, 3 = fast, 4 = very fast (default = 2)
//set ex_turretoverheat_coolrate "2"


//******************************************************************************
// Sniper Zoom Levels
//******************************************************************************
// 0 = disable (default)
// 1 = enable
set ex_zoom "1"

// Set the number of zoom stops required, you can have a maximum of 20 stops......
// These setting are a percentage... where 0 = minimum possible zoom..
// and 100 = maximum possible zoom...
set ex_zoom_stop01 "0"
set ex_zoom_stop02 "10"
set ex_zoom_stop03 "20"
set ex_zoom_stop04 "30"
set ex_zoom_stop05 "40"
set ex_zoom_stop06 "50"
set ex_zoom_stop07 "60"
set ex_zoom_stop08 "70"
set ex_zoom_stop09 "80"
set ex_zoom_stop10 "90"
set ex_zoom_stop11 "100"

// default zoom level - using the above..
set ex_zoom_default "6"

// reset zoom level when switching levels
// 0 = disable (default)
// 1 = enable
//set ex_zoom_switchreset "0"

// reset zoom level when toggling ADS
// 0 = disable (default)
// 1 = enable (binos=default)
set ex_zoom_adsreset "0"

// gradual increase or decrease of zoom level
// 0 = disable
// 1 = enable (default)
set ex_zoom_gradual "0"

// play zoom in/out sounds
// 0 = disable
// 1 = enable (default)
set ex_zoom_sound "0"
// zoom level pause... in 100th second... 0=no pause and 100=1 second....
// changes the feel of the zoom, specifically when mapping mouse scroll
// 20 = default
set ex_zoom_pause "1"
//=========================================================================================================
// weapons and perks can be defined as all or only specific custom classes..
//  = No Class
// 1 = Class 1
// 2 = Class 2
// 3 = Class 3
// 4 = Class 4
// 5 = Class 5
// 6 = Class 6
// 7 = Class 7
// 8 = Class 8
// 9 = Class 9
// 0 = Class 10
// To make a weapon valid for multiple countries string the numbers together...
// e.g..
// 12 = Class 1 and Class 2
// 24 = Class 2 and Class 3
// 1234567890 = All Classes
// 12345 = All Classes
//=========================================================================================================

//=========================================================================================================
// Allow Perks - not valid is ranked
//=========================================================================================================
set ex_allow_detectexplosives "1234567890"
set ex_allow_bulletaccuracy " "
set ex_allow_fraggrenade " "
set ex_allow_fireproof " "
set ex_allow_greased_bearings " "
set ex_allow_longersprint " "
set ex_allow_pistoldeath " "
set ex_allow_shades " "
set ex_allow_weapon_betty " "
set ex_allow_bulletdamage " "
set ex_allow_explosivedamage " "
set ex_allow_rof " "
set ex_allow_flak_jacket " "
set ex_allow_grenadepulldeath " "
set ex_allow_quieter " "
set ex_allow_specialgrenade " "
set ex_allow_weapon_flamethrower " "
set ex_allow_armorvest " "
set ex_allow_bulletpenetration " "
set ex_allow_extraammo " "
set ex_allow_gas_mask " "
set ex_allow_holdbreath " "
set ex_allow_ordinance " "
set ex_allow_recon ""
set ex_allow_twoprimaries ""
set ex_allow_weapon_rpg " "
set ex_allow_boost " "
set ex_allow_fastreload " "
set ex_allow_gpsjammer ""
set ex_allow_reconnaissance ""
set ex_allow_leadfoot " "
set ex_allow_pin_back " "
set ex_allow_water_cooled " "
set ex_allow_weapon_satchel " "



//=========================================================================================================
// Allow Weapons - not valid is ranked
//=========================================================================================================
// weapons and perks can be defined as all or only specific custom classes..
//  = No Class
// 1 = Class 1
// 2 = Class 2
// 3 = Class 3
// 4 = Class 4
// 5 = Class 5
// 6 = Class 6
// 7 = Class 7
// 8 = Class 8
// 9 = Class 9
// 0 = Class 10

set ex_colt " "
set ex_nambu " "
set ex_walther " "
set ex_tokarev " "
set ex_357magnum " "
set ex_thompson " "
set ex_thompson_silenced " "
set ex_thompson_aperture " "
set ex_thompson_bigammo " "
set ex_mp40 " "
set ex_mp40_silenced " "
set ex_mp40_aperture " "
set ex_mp40_bigammo " "
set ex_type100smg " "
set ex_type100smg_silenced " "
set ex_type100smg_aperture " "
set ex_type100smg_bigammo " "
set ex_ppsh " "
set ex_ppsh_aperture " "
set ex_ppsh_bigammo " "
set ex_svt40 " "
set ex_svt40_flash " "
set ex_svt40_apeture " "
set ex_svt40_telescopic " "
set ex_gewehr43 " "
set ex_gewehr43_silenced " "
set ex_gewehr43_apeture " "
set ex_gewehr43_telescopic " "
set ex_gewehr43_gl " "
set ex_m1garand " "
set ex_m1garand_flash " "
set ex_m1garand_bayonet " "
set ex_m1garand_gl " "
set ex_m1garand_scoped "1234567890"
set ex_m1carbine " "
set ex_m1carbine_flash " "
set ex_m1carbine_apeture " "
set ex_m1carbine_bayonet " "
set ex_m1carbine_bigammo " "
set ex_stg44 " "
set ex_stg44_flash " "
set ex_stg44_apeture " "
set ex_stg44_telescopic " "
set ex_30cal " "
set ex_30cal_bipod " "
set ex_mg42 " "
set ex_mg42_bipod " "
set ex_dp28 " "
set ex_dp28_bipod " "
set ex_m2_flamethrower " "
set ex_bazooka " "
set ex_springfield " "
set ex_springfield_scoped "1234567890"
set ex_springfield_bayonet " "
set ex_springfield_gl " "
set ex_mosinrifle " "
set ex_mosinrifle_scoped "1234567890"
set ex_mosinrifle_bayonet " "
set ex_mosinrifle_gl " "
set ex_type99rifle " "
set ex_type99rifle_scoped "1234567890"
set ex_type99rifle_bayonet " "
set ex_type99rifle_gl " "
set ex_kar98k " "
set ex_kar98k_scoped "1234567890"
set ex_kar98k_bayonet " "
set ex_kar98k_gl " "
set ex_ptrs41 "1234567890"
set ex_shotgun " "
set ex_shotgun_grip " "
set ex_shotgun_bayonet " "
set ex_doublebarreledshotgun " "
set ex_doublebarreledshotgun_grip " "
set ex_doublebarreledshotgun_sawoff " "
set ex_type99lmg " "
set ex_type99lmg_bipod " "
set ex_type99lmg_bayonet " "
set ex_fg42 " "
set ex_fg42_bipob " "
set ex_fg42_telescopic " "
set ex_bar " "
set ex_bar_bipob " "
set ex_bar_comp " "
set ex_dp28 " "
set ex_dp28_bipob " "
set ex_mine_bouncing_betty " "
set ex_satchel_charge " "

//=========================================================================================================
// Loadout primary and secondary nades..
//=========================================================================================================
set ex_frag_grenade "1234567890"
set ex_molotov " "
set ex_white_smoke " "
set ex_tabun_gas " "
set ex_sticky_grenade " "
set ex_signal_flare " "

//=========================================================================================================
// Default Loadout for Base Classes - not valid is ranked
//
// Be carefull you can really mess things up here... you have been warned....
//
// If there are errors you will get either the default class options,  or nothing in your loadouts.. so
// test your config before making it live....
//
// Weapon Options.....
// ==================
// colt
// nambu
// walther
// tokarev
// 357magnum
// nambu
// walther
// tokarev
// 357magnum
// thompson
// mp40
// type100smg
// ppsh
// svt40
// gewehr43
// m1garand
// m1carbine
// stg44
// 30cal
// mg42
// dp28
// m2_flamethrower
// bazooka
// springfield
// mosinrifle
// type99rifle
// kar98k
// ptrs41
// shotgun
// doublebarreledshotgun
// type99lmg
// fg42
// bar
// dp28
//
// Grenade Options
// ===============
// frag_grenade
// molotov
// m8_white_smoke
// tabun_gas
// sticky_grenade
// signal_flare
//
// Perk/Speciality Options
// =======================
// specialty_detectexplosive
// specialty_extraammo
// specialty_gpsjammer
// specialty_explosivedamage
// specialty_flakjacket
// specialty_bulletdamage
// specialty_rof
// specialty_fastreload
// specialty_twoprimaries
// specialty_armorvest
// specialty_pin_back
// specialty_shades
// specialty_gas_mask
// specialty_holdbreath
// specialty_quieter
// specialty_longersprint
// specialty_pistoldeath
// specialty_grenadepulldeath
// specialty_bulletpenetration
// specialty_bulletaccuracy
// specialty_fireproof
// specialty_reconnaissance
// specialty_greased_barrings
// specialty_water_cooled
// specialty_ordinance
// specialty_leadfoot
// specialty_boost
// specialty_fraggrenade
// specialty_specialgrenade
//
//
// Inventory/Wepaon based perk/Speciality Options - ONLY ONE WILL WORK - PREFERABLY IN PERK 1 SLOT
// ===============================================================================================
// specialty_weapon_satchel_charge
// specialty_weapon_bouncing_betty
// specialty_weapon_bazooka
// specialty_weapon_flamethrower


//
//=========================================================================================================

// Class control option...
// 1 = Custom Loadouts no change,  This option will force the player to seelct custom loadouts...
//     as defined in the custom loadouts, no changing loadouts
// 2 = Custom Loadouts w/change,  This option will force the player to seelct custom loadouts...
//     as defined in the custom loadouts, allow changing loadouts
// 3 = Custom Loadouts country based without class change ability.
// 4 = Custom Loadouts country based with class change ability.
set ex_Loadout_Title "eXtreme Loadouts"

// Due to the multiple methods of controlling which loadouts are available, you should always provide a generic default class..
// this class is specifically enabled if there is a conflict between the class limits by country and or by map rotation, or by max counts..
// ----- This is so a player is ecluded from all classes and they would not be able to join the game...
// 1 thru 10
// Default is 10
set ex_class_override "10"

// Use safe loadout options... this option when enabled will ensure that any invalid loadout options are automatically resolved
// using the standard loadouts for the standard classes,  So if you enter an invalid weapon this options will replace it with a valid weapon..
// if you disable this option and have an invalid weapon you will get nothing in that loadout slot.
// 0 = Disabled (Default)
// 1 = Enabled
set ex_safe_loadouts "0"

// Loadout Version control..
// If you give the ability to change your loadouts,  once a player has changed the loadouts they are saved in thier local profile
// this means that no matter how you change the loadouts they will always get thier loadout not you new configuration.. by changing
// this reference to a different value than currently the players profile will be out off date and they will be reset to
// your default loadouts, even if you allow change this time..
// value between 0 and 99999 just increment for each reset or loadouts, if you want players to reset
set ex_loadout_version "6"  

// Allow Class1 to be selected...
// 0 = Do not allow Class1
// 1 = (Default) Allow Class1
set ex_Class1_Allow "1"
set ex_Class1_name "Springfield"
set ex_Class1_change ""
set ex_Class1_ModelType "1"   // 0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class1_Primary "springfield"
set ex_Class1_Secondary "none"
set ex_Class1_Primary_Attachment "scoped"
set ex_Class1_Secondary_Attachment "none"
set ex_Class1_Specialty1 "none"
set ex_Class1_Specialty2 "none"
set ex_Class1_Specialty3 "none"
set ex_Class1_Specialty4 "none"
set ex_Class1_Primary_Grenade "none"
set ex_Class1_Special_Grenade "none"
set ex_Class1_Primary_Grenade_count "0"
set ex_Class1_Special_Grenade_count "0"
set ex_Class1_MoveScale "100"
set ex_Class1_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class1_Max_allies "99"

// Maximum number  for axis
set ex_Class1_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class1_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class1_Always_lock "1"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class1_lock_none "1"

// Allow Class2 to be selected...
// 0 = Do not allow Class2
// 1 = (Default) Allow Class2
set ex_Class2_Allow "1"
set ex_Class2_name "Kar98K"
set ex_Class2_change ""
set ex_Class2_ModelType "1"       // 0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class2_Primary "kar98k"
set ex_Class2_Secondary "none"
set ex_Class2_Primary_Attachment "scoped"
set ex_Class2_Secondary_Attachment "none"
set ex_Class2_Specialty1 "none"
set ex_Class2_Specialty2 "none"
set ex_Class2_Specialty3 "none"
set ex_Class2_Specialty4 "none"
set ex_Class2_Primary_Grenade "none"
set ex_Class2_Special_Grenade "none"
set ex_Class2_Primary_Grenade_count "0"
set ex_Class2_Special_Grenade_count "0"
set ex_Class2_MoveScale "100"
set ex_Class2_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class2_Max_allies "99"

// Maximum number  for axis
set ex_Class2_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class2_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class2_Always_lock "1"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class2_lock_none "1"

// Allow Class3 to be selected...
// 0 = Do not allow Class3
// 1 = (Default) Allow Class3
set ex_Class3_Allow "1"
set ex_Class3_name "Mosin Nagant"
set ex_Class3_change ""
set ex_Class3_ModelType "1"      //  0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class3_Primary "mosinrifle"
set ex_Class3_Secondary "none"
set ex_Class3_Primary_Attachment "scoped"
set ex_Class3_Secondary_Attachment "none"
set ex_Class3_Specialty1 "none"
set ex_Class3_Specialty2 "none"
set ex_Class3_Specialty3 "none"
set ex_Class3_Specialty4 "none"
set ex_Class3_Primary_Grenade "none"
set ex_Class3_Special_Grenade "none"
set ex_Class3_Primary_Grenade_count "0"
set ex_Class3_Special_Grenade_count "0"
set ex_Class3_MoveScale "100"
set ex_Class3_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class3_Max_allies "99"

// Maximum number  for axis
set ex_Class3_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class3_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class3_Always_lock "1"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class3_lock_none "1"

// Allow Class4 to be selected...
// 0 = Do not allow Class4
// 1 = (Default) Allow Class4
set ex_Class4_Allow "1"
set ex_Class4_name "M1 Garand"
set ex_Class4_change ""
set ex_Class4_ModelType "1"      //  0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class4_Primary "m1garand"
set ex_Class4_Secondary "none"
set ex_Class4_Primary_Attachment "scoped"
set ex_Class4_Secondary_Attachment "none"
set ex_Class4_Specialty1 "none"
set ex_Class4_Specialty2 "none"
set ex_Class4_Specialty3 "none"
set ex_Class4_Specialty4 "none"
set ex_Class4_Primary_Grenade "none"
set ex_Class4_Special_Grenade "none"
set ex_Class4_Primary_Grenade_count "0"
set ex_Class4_Special_Grenade_count "0"
set ex_Class4_MoveScale "100"
set ex_Class4_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class4_Max_allies "99"

// Maximum number  for axis
set ex_Class4_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class4_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class4_Always_lock "1"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class4_lock_none "1"


// Allow Class5 to be selected...
// 0 = Do not allow Class5
// 1 = (Default) Allow Class5
set ex_Class5_Allow "1"
set ex_Class5_name "Arisaka"
set ex_Class5_change ""
set ex_Class5_ModelType "1"      //  0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class5_Primary "type99rifle"
set ex_Class5_Secondary "none"
set ex_Class5_Primary_Attachment "scoped"
set ex_Class5_Secondary_Attachment "none"
set ex_Class5_Specialty1 "none"
set ex_Class5_Specialty2 "none"
set ex_Class5_Specialty3 "none"
set ex_Class5_Specialty4 "none"
set ex_Class5_Primary_Grenade "none"
set ex_Class5_Special_Grenade "none"
set ex_Class5_Primary_Grenade_count "0"
set ex_Class5_Special_Grenade_count "0"
set ex_Class5_MoveScale "100"
set ex_Class5_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class5_Max_allies "99"

// Maximum number  for axis
set ex_Class5_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class5_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class5_Always_lock "1"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class5_lock_none "1"

// Allow Class6 to be selected...
// 0 = Do not allow Class6
// 1 = (Default) Allow Class6
set ex_Class6_Allow "1"
set ex_Class6_name "PTRS-41"
set ex_Class6_change ""
set ex_Class6_ModelType "1"        // 0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class6_Primary "ptrs41"
set ex_Class6_Secondary ""
set ex_Class6_Primary_Attachment "scoped"
set ex_Class6_Secondary_Attachment "none"
set ex_Class6_Specialty1 "none"
set ex_Class6_Specialty2 "none"
set ex_Class6_Specialty3 "none"
set ex_Class6_Specialty4 "none"
set ex_Class6_Primary_Grenade "none"
set ex_Class6_Special_Grenade "none"
set ex_Class6_Primary_Grenade_count "0"
set ex_Class6_Special_Grenade_count "0"
set ex_Class6_MoveScale "100"
set ex_Class6_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class6_Max_allies "99"

// Maximum number  for axis
set ex_Class6_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class6_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class6_Always_lock "1"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class6_lock_none "1"

// Allow Class7 to be selected...
// 0 = Do not allow Class7
// 1 = (Default) Allow Class7
set ex_Class7_Allow "0"
set ex_Class7_name "Special Ops - Custom"
set ex_Class7_change "^4(Edit)"
set ex_Class7_ModelType "4"       // 0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class7_Primary "thompson"
set ex_Class7_Secondary "colt"
set ex_Class7_Primary_Attachment "none"
set ex_Class7_Secondary_Attachment "none"
set ex_Class7_Specialty1 "none"
set ex_Class7_Specialty2 "none"
set ex_Class7_Specialty3 "none"
set ex_Class7_Specialty4 "none"
set ex_Class7_Primary_Grenade "none"
set ex_Class7_Special_Grenade "none"
set ex_Class7_Primary_Grenade_count "0"
set ex_Class7_Special_Grenade_count "0"
set ex_Class7_MoveScale "100"
set ex_Class7_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class7_Max_allies "99"

// Maximum number  for axis
set ex_Class7_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class7_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class7_Always_lock "0"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class7_lock_none "0"

// Allow Class8 to be selected...
// 0 = Do not allow Class8
// 1 = (Default) Allow Class8
set ex_Class8_Allow "0"
set ex_Class8_name "Heavy Gunner - Custom"
set ex_Class8_change "^4(Edit)"
set ex_Class8_ModelType "2"      //  0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class8_Primary "type99lmg"
set ex_Class8_Secondary "nambu"
set ex_Class8_Primary_Attachment "none"
set ex_Class8_Secondary_Attachment "none"
set ex_Class8_Specialty1 "specialty_specialgrenade"
set ex_Class8_Specialty2 "specialty_flakjacket"
set ex_Class8_Specialty3 "specialty_bulletpenetration"
set ex_Class8_Specialty4 "specialty_water_cooled"
set ex_Class8_Primary_Grenade "frag_grenade"
set ex_Class8_Special_Grenade "tabun_gas"
set ex_Class8_Primary_Grenade_count "2"
set ex_Class8_Special_Grenade_count "2"
set ex_Class8_MoveScale "95"
set ex_Class8_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class8_Max_allies "99"

// Maximum number  for axis
set ex_Class8_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class8_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class8_Always_lock "0"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class8_lock_none "0"

// Allow Class9 to be selected...
// 0 = Do not allow Class9
// 1 = (Default) Allow Class9
set ex_Class9_Allow "0"
set ex_Class9_name "Demolitions - Custom"
set ex_Class9_change "^4(Edit)"
set ex_Class9_ModelType "5"      //  0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class9_Primary "shotgun"
set ex_Class9_Secondary "walther"
set ex_Class9_Primary_Attachment "none"
set ex_Class9_Secondary_Attachment "none"
set ex_Class9_Specialty1 "specialty_weapon_bazooka"
set ex_Class9_Specialty2 "specialty_explosivedamage"
set ex_Class9_Specialty3 "specialty_longersprint"
set ex_Class9_Specialty4 "specialty_greased_barrings"
set ex_Class9_Primary_Grenade "sticky_grenade"
set ex_Class9_Special_Grenade "tabun_gas"
set ex_Class9_Primary_Grenade_count "2"
set ex_Class9_Special_Grenade_count "2"
set ex_Class9_MoveScale "100"
set ex_Class9_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class9_Max_allies "99"

// Maximum number  for axis
set ex_Class9_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class9_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class9_Always_lock "0"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class9_lock_none "0"

// Allow Class10 to be selected...
// 0 = Do not allow Class10
// 1 = (Default) Allow Class10
set ex_Class10_Allow "0"
set ex_Class10_name "Sniper - Custom"
set ex_Class10_change "^4(Edit)"
set ex_Class10_ModelType "4"      //  0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class10_Primary "springfield"
set ex_Class10_Secondary "colt"
set ex_Class10_Primary_Attachment "scoped"
set ex_Class10_Secondary_Attachment "none"
set ex_Class10_Specialty1 "specialty_weapon_satchel_charge"
set ex_Class10_Specialty2 "specialty_bulletdamage"
set ex_Class10_Specialty3 "specialty_bulletpenetration"
set ex_Class10_Specialty4 "specialty_water_cooled"
set ex_Class10_Primary_Grenade "frag_grenade"
set ex_Class10_Special_Grenade "sticky_grenade"
set ex_Class10_Primary_Grenade_count "2"
set ex_Class10_Special_Grenade_count "2"
set ex_Class10_MoveScale "100"
set ex_Class10_Special_Camo "camo_none"

// Maximum number  for allies
set ex_Class10_Max_allies "99"

// Maximum number  for axis
set ex_Class10_Max_axis "99"

// 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class10_CountrySpecific   "1234"

// this option allows you to lock this class, even if the control allows change
// 0 = use control
// 1 = locked..
set ex_Class10_Always_lock "0"

// If any weapon defined as "none",  allow change if change allowed
// 0 = default (use general option)
// 1 = Lock None from change....
set ex_Class10_lock_none "0"
//=========================================================================================================
// Weapon damage factors - hardcore onle
//=========================================================================================================
//
// These options allow you to set the damage to more or less for each body part hit...
// 100=normal damage, 150=50% more than normal, 50 = 1/2 normal damage, 999 = instant death, 0 = no damage
// you can also override the damge by weapon class...

// Weapon classes
// rocketlauncher
// rifle
// grenade
// pistol
// mg
// smg
// spread
set ex_damage_none "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// following show how to define weapon class damage factors - otherwise they will all efault to the relevant location
// set ex_damage_none_pistol "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// set ex_damage_none_smg "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// set ex_damage_none_assault "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// set ex_damage_none_hmg "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// set ex_damage_none_projectile "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// set ex_damage_none_sniper "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// set ex_damage_none_shotgun "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// set ex_damage_none_lmg "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
// set ex_damage_none_explosive "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_head "999" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_helmet "200" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_neck "999" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_torso_upper "999" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_torso_lower "150" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_right_arm_upper "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_right_arm_lower "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_right_hand "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_left_arm_upper "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_left_arm_lower "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_left_hand "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_right_leg_upper "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_right_leg_lower "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_right_foot "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_left_leg_upper "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_left_leg_lower "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death
set ex_damage_left_foot "100" // 100=normal (Default) 50=half, 150=1.5 times, 0 = none, 999 = death


Offline Icewow

  • Rank: Private
  • *
  • Posts: 90
    • http://www.wowsnipers.co.uk
Re: weapon config for snipers only
« Reply #2 on: January 27, 2010, 02:19:49 am »
THX ALOT :)

Offline Icewow

  • Rank: Private
  • *
  • Posts: 90
    • http://www.wowsnipers.co.uk
Re: weapon config for snipers only
« Reply #3 on: January 27, 2010, 06:15:56 am »
Hi I copy your cfg and paste it in my weapon.cfg but still not got any snipers only canĀ“t choose anything for snipers just have rifleman,heavygunner,lightgunner,,, :?

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Re: weapon config for snipers only
« Reply #4 on: January 27, 2010, 09:00:30 am »
What is your commandline?

Offline Icewow

  • Rank: Private
  • *
  • Posts: 90
    • http://www.wowsnipers.co.uk
Re: weapon config for snipers only
« Reply #5 on: January 27, 2010, 09:08:57 am »
here it is:
+set fs_savepath C:\serverfiles\NIKLASL\GameServers\TC13706127332485786467542\ +set dedicated 2 +set net_ip 217.146.86.69 +set net_port 28940 +set ui_maxclients 32 +set sv_maxclients 32 +set sv_punkbuster "1" +exec server.cfg +map_rotate +set fs_localappdata C:\serverfiles\NIKLASL\GameServers\TC13706127332485786467542\ +set fs_game mods/EUS_V1

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Re: weapon config for snipers only
« Reply #6 on: January 27, 2010, 09:12:56 am »
+set fs_savepath C:\serverfiles\NIKLASL\GameServers\TC13706127332485786467542\ +set fs_localappdata C:\serverfiles\NIKLASL\GameServers\TC13706127332485786467542\ +set fs_game mods/EUS_V1 +set dedicated 2 +set net_ip 217.146.86.69 +set net_port 28940 +set ui_maxclients 32 +set sv_maxclients 32 +set sv_punkbuster "1" +exec server.cfg +map_rotate

The order of things in the commandline is very very important.  I have rearranged your commandline -- give this a try.

Offline Icewow

  • Rank: Private
  • *
  • Posts: 90
    • http://www.wowsnipers.co.uk
Re: weapon config for snipers only
« Reply #7 on: January 28, 2010, 03:02:55 am »
not think I could do that bymyself..talked to my server company and they will install the mod in there modlist :)