phantom1151
5th July 2008, 06:49
what im trying to do is remove all weapons but sniper rifles and the desert eagle. so i can play officer snipers only. , my server cmd path is (+set fs_game mods/sniper +exec sample.cfg +set dedicated 2 +set net_ip 8.9.11.87 +set sv_maxclients 16 +set net_port 28960 +exec config.cfg +map_rotate )
this is what i have done to the config fille tlle me what is wrong
// Limits the number of players that can choose each class type.
set class_assault_limit 0
set class_specops_limit 0
set class_heavygunner_limit 0
set class_demolitions_limit 0
set class_sniper_limit 99
//--------------------------Assault Rifles & Attachments---------------------------------//
// Assault rifles.
set weap_allow_m16 0
set weap_allow_ak47 0
set weap_allow_m4 0
set weap_allow_g3 0
set weap_allow_g36c 0
set weap_allow_m14 0
set weap_allow_mp44 0
// Assault attachments.
set attach_allow_assault_none 0
set attach_allow_assault_gl 0
set attach_allow_assault_reflex 0
set attach_allow_assault_silencer 0
set attach_allow_assault_acog 0
//------------------------------Smg's & Attachments--------------------------------------//
// Smgs.
set weap_allow_mp5 0
set weap_allow_skorpion 0
set weap_allow_uzi 0
set weap_allow_ak74u 0
set weap_allow_p90 0
// Smg attachments.
set attach_allow_smg_none 0
set attach_allow_smg_reflex 0
set attach_allow_smg_silencer 0
set attach_allow_smg_acog 0
//----------------------------Shotguns & Attachments-------------------------------------//
// Shotguns.
set weap_allow_m1014 0
set weap_allow_winchester1200 0
// Shotgun attachments.
set attach_allow_shotgun_none 0
set attach_allow_shotgun_reflex 0
set attach_allow_shotgun_grip 0
//------------------------Light Machine Guns & Attachments-------------------------------//
// Light machine guns.
set weap_allow_saw 0
set weap_allow_rpd 0
set weap_allow_m60e4 0
// Lmg attachments.
set attach_allow_lmg_none 0
set attach_allow_lmg_reflex 0
set attach_allow_lmg_grip 0
set attach_allow_lmg_acog 0
//---------------------------Sniper Rifles & Attachments---------------------------------//
// Sniper rifles.
set weap_allow_dragunov 1
set weap_allow_m40a3 1
set weap_allow_barrett 1
set weap_allow_remington700 1
set weap_allow_m21 1
// Sniper attachments.
set attach_allow_sniper_none 1
set attach_allow_sniper_acog 1
//-----------------------------Pistols & Attachments-------------------------------------//
// Pistols.
set weap_allow_beretta 0
set weap_allow_colt45 0
set weap_allow_usp 0
set weap_allow_deserteagle 1
// Pistol attachments.
set attach_allow_pistol_none 1
set attach_allow_pistol_silencer 1
//-----------------------------Grenades & Hardpoints-------------------------------------//
// Grenades.
set weap_allow_frag_grenade 0
set weap_allow_concussion_grenade 0
set weap_allow_flash_grenade 1
set weap_allow_smoke_grenade 1
// Hardpoints.
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1
//------------------------------------Perks----------------------------------------------//
// Perks.
set perk_allow_specialty_parabolic 1
set perk_allow_specialty_gpsjammer 1
set perk_allow_specialty_holdbreath 1
set perk_allow_specialty_quieter 1
set perk_allow_specialty_longersprint 1
set perk_allow_specialty_detectexplosive 0
set perk_allow_specialty_explosivedamage 1
set perk_allow_specialty_pistoldeath 0
set perk_allow_specialty_grenadepulldeath 0
set perk_allow_specialty_bulletdamage 1
set perk_allow_specialty_bulletpenetration 1
set perk_allow_specialty_bulletaccuracy 1
set perk_allow_specialty_rof 1
set perk_allow_specialty_extraammo 1
set perk_allow_specialty_armorvest 1
set perk_allow_specialty_fraggrenade 0
set perk_allow_specialty_specialgrenade 0
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 0
//----------------------------Gametype Specific Settings---------------------------------//
// Deathmatch
set scr_dm_scorelimit 0
set scr_dm_timelimit 30
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay -1
set scr_dm_waverespawndelay 0
// Team Deathmatch
set scr_war_scorelimit 0
set scr_war_timelimit 30
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 30
// Officer
set scr_off_scorelimit 0
set scr_off_timelimit 30
set scr_off_roundlimit 1
set scr_off_numlives 0
set scr_off_playerrespawndelay 0
set scr_off_waverespawndelay 30
set scr_off_giveofficeruav 1 // Give the officer access to UAV when he stays alive for 3 minutes.
set scr_off_giveofficerairstrike 1 // Give the officer access to airstrike when he stays alive for 5 minutes.
set scr_off_airstrikecooldown 180 // The time (in seconds) the officer has to wait before getting a new airstrike.
set scr_off_officerpermanentuav 0 // Give the officer a permanent UAV as long as he's alive.
// Domination
set scr_dom_scorelimit 600
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 30
// Sabotage
set scr_sab_scorelimit 3
set scr_sab_timelimit 15
set scr_sab_roundlimit 0
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 60
set scr_sab_planttime 5
set scr_sab_defusetime 5
set scr_sab_hotpotato 1
set scr_sab_playerrespawndelay 0
set scr_sab_waverespawndelay 30
// Search & Destroy
set scr_sd_scorelimit 6
set scr_sd_timelimit 5
set scr_sd_roundlimit 10
set scr_sd_roundswitch 5 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 60
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0
// Headquarters
set scr_koth_scorelimit 600
set scr_koth_timelimit 30
set scr_koth_roundlimit 1
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 30
set koth_autodestroytime 300
set koth_spawntime 10
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 30
//-----------------------------------Map Rotation----------------------------------------//
// Gametype
set g_gametype "sd"
// Map Rotation
set sv_MapRotation "gametype off map mp_cargoship gametype off map mp_bloc gametype off map mp_bog gametype off map mp_creek gametype off map mp_vacant gametype off map mp_overgrown gametype off map mp_broadcast gametype off map mp_showdown gametype off map mp_pipeline gametype off map mp_district gametype off map mp_vacant gametype off map mp_countdown gametype off map mp_crash_snow gametype off map mp_showdown gametype off map mp_crossfire gametype off map mp_backlot gametype off map mp_convoy"
this is what i have done to the config fille tlle me what is wrong
// Limits the number of players that can choose each class type.
set class_assault_limit 0
set class_specops_limit 0
set class_heavygunner_limit 0
set class_demolitions_limit 0
set class_sniper_limit 99
//--------------------------Assault Rifles & Attachments---------------------------------//
// Assault rifles.
set weap_allow_m16 0
set weap_allow_ak47 0
set weap_allow_m4 0
set weap_allow_g3 0
set weap_allow_g36c 0
set weap_allow_m14 0
set weap_allow_mp44 0
// Assault attachments.
set attach_allow_assault_none 0
set attach_allow_assault_gl 0
set attach_allow_assault_reflex 0
set attach_allow_assault_silencer 0
set attach_allow_assault_acog 0
//------------------------------Smg's & Attachments--------------------------------------//
// Smgs.
set weap_allow_mp5 0
set weap_allow_skorpion 0
set weap_allow_uzi 0
set weap_allow_ak74u 0
set weap_allow_p90 0
// Smg attachments.
set attach_allow_smg_none 0
set attach_allow_smg_reflex 0
set attach_allow_smg_silencer 0
set attach_allow_smg_acog 0
//----------------------------Shotguns & Attachments-------------------------------------//
// Shotguns.
set weap_allow_m1014 0
set weap_allow_winchester1200 0
// Shotgun attachments.
set attach_allow_shotgun_none 0
set attach_allow_shotgun_reflex 0
set attach_allow_shotgun_grip 0
//------------------------Light Machine Guns & Attachments-------------------------------//
// Light machine guns.
set weap_allow_saw 0
set weap_allow_rpd 0
set weap_allow_m60e4 0
// Lmg attachments.
set attach_allow_lmg_none 0
set attach_allow_lmg_reflex 0
set attach_allow_lmg_grip 0
set attach_allow_lmg_acog 0
//---------------------------Sniper Rifles & Attachments---------------------------------//
// Sniper rifles.
set weap_allow_dragunov 1
set weap_allow_m40a3 1
set weap_allow_barrett 1
set weap_allow_remington700 1
set weap_allow_m21 1
// Sniper attachments.
set attach_allow_sniper_none 1
set attach_allow_sniper_acog 1
//-----------------------------Pistols & Attachments-------------------------------------//
// Pistols.
set weap_allow_beretta 0
set weap_allow_colt45 0
set weap_allow_usp 0
set weap_allow_deserteagle 1
// Pistol attachments.
set attach_allow_pistol_none 1
set attach_allow_pistol_silencer 1
//-----------------------------Grenades & Hardpoints-------------------------------------//
// Grenades.
set weap_allow_frag_grenade 0
set weap_allow_concussion_grenade 0
set weap_allow_flash_grenade 1
set weap_allow_smoke_grenade 1
// Hardpoints.
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1
//------------------------------------Perks----------------------------------------------//
// Perks.
set perk_allow_specialty_parabolic 1
set perk_allow_specialty_gpsjammer 1
set perk_allow_specialty_holdbreath 1
set perk_allow_specialty_quieter 1
set perk_allow_specialty_longersprint 1
set perk_allow_specialty_detectexplosive 0
set perk_allow_specialty_explosivedamage 1
set perk_allow_specialty_pistoldeath 0
set perk_allow_specialty_grenadepulldeath 0
set perk_allow_specialty_bulletdamage 1
set perk_allow_specialty_bulletpenetration 1
set perk_allow_specialty_bulletaccuracy 1
set perk_allow_specialty_rof 1
set perk_allow_specialty_extraammo 1
set perk_allow_specialty_armorvest 1
set perk_allow_specialty_fraggrenade 0
set perk_allow_specialty_specialgrenade 0
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 0
//----------------------------Gametype Specific Settings---------------------------------//
// Deathmatch
set scr_dm_scorelimit 0
set scr_dm_timelimit 30
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay -1
set scr_dm_waverespawndelay 0
// Team Deathmatch
set scr_war_scorelimit 0
set scr_war_timelimit 30
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 30
// Officer
set scr_off_scorelimit 0
set scr_off_timelimit 30
set scr_off_roundlimit 1
set scr_off_numlives 0
set scr_off_playerrespawndelay 0
set scr_off_waverespawndelay 30
set scr_off_giveofficeruav 1 // Give the officer access to UAV when he stays alive for 3 minutes.
set scr_off_giveofficerairstrike 1 // Give the officer access to airstrike when he stays alive for 5 minutes.
set scr_off_airstrikecooldown 180 // The time (in seconds) the officer has to wait before getting a new airstrike.
set scr_off_officerpermanentuav 0 // Give the officer a permanent UAV as long as he's alive.
// Domination
set scr_dom_scorelimit 600
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 30
// Sabotage
set scr_sab_scorelimit 3
set scr_sab_timelimit 15
set scr_sab_roundlimit 0
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 60
set scr_sab_planttime 5
set scr_sab_defusetime 5
set scr_sab_hotpotato 1
set scr_sab_playerrespawndelay 0
set scr_sab_waverespawndelay 30
// Search & Destroy
set scr_sd_scorelimit 6
set scr_sd_timelimit 5
set scr_sd_roundlimit 10
set scr_sd_roundswitch 5 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 60
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0
// Headquarters
set scr_koth_scorelimit 600
set scr_koth_timelimit 30
set scr_koth_roundlimit 1
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 30
set koth_autodestroytime 300
set koth_spawntime 10
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 30
//-----------------------------------Map Rotation----------------------------------------//
// Gametype
set g_gametype "sd"
// Map Rotation
set sv_MapRotation "gametype off map mp_cargoship gametype off map mp_bloc gametype off map mp_bog gametype off map mp_creek gametype off map mp_vacant gametype off map mp_overgrown gametype off map mp_broadcast gametype off map mp_showdown gametype off map mp_pipeline gametype off map mp_district gametype off map mp_vacant gametype off map mp_countdown gametype off map mp_crash_snow gametype off map mp_showdown gametype off map mp_crossfire gametype off map mp_backlot gametype off map mp_convoy"