For Counter-Strike 1.6 and Condition-Zero.
Bugsy - helping creating the basic weapons code + command automation + random weapons mode2 possibility
xPaw , HamletEagle & ConnorMcLeod - no weapon pickup
OT - executing config file
With this plugin you will never again depend on having to play on a specific weapon map like aim_map_usp or aim_m3 to play with specific weapons.
You will be able to choose which weapons players will use in as many ways as you like, including random weapons with various categories and two different modes.
For all commands you can choose which teams will be affected (CT/T).
Control the amount of health and armor that players start;
All weapons and equipment;
Control the amount of ammunition to start, including grenades. By default all weapons are already loaded and grenades are infinite regardless of this function;
Blocking weapons from the ground;
Strip weapons (removes all weapons and items from players, so they will use exactly the weapons/items you add);
Control the time/delay for receiving weapons and strip weapons (set_task);
Random weapons in two modes, all weapon categories (primary, secondary, rifle, etc.) and random single weapon/item (possibility of losing or receiving);
mode 1: each player will receive a random weapon;
mode 2: players will receive the same random weapon.
PLEASE WATCH THE VIDEO ON YOUTUBE TO BE ABLE TO SEE THE LETTERS CORRECTLY.
What's new in version 2.0
- Code optimized and reduced by 52,3% of the number of lines and 43,3% of the file size;
- The plugin now contains cvars instead of clcmds;
- Created a configuration file for the "configs" folder with all available commands;
- Now you can replace the default starting weapons and customize everything you want;
- Added strip function for all specific weapons and items with customizable task time;
- Added repeater function for random weapons. You can control via cvar the number of times players will receive the weapons.
Example: If you set the repeater to "2", players will be able to obtain two random weapons in the time interval defined by "sw_task_give".
sw - will show a list with all the available commands in the console
sw_health_enabled - activates the starting health function below: Default value: 1
t - Terrorists
ct - Counter-Terrorists
sw_protection - amount of given vesthelm/vest protection. Default value: 100 (changing this to values above 100 has no effect unless you use this plugin).
sw_nopickup_c4 - controls the command above to include c4. Default Value: 0
If you are using the Ammo by Cvar plugin you can remove it because it was made from this plugin and therefore all its commands are already included in this.
ammo - activates the weapon ammunition functions: Default value: 0
380mm - awp
762mm - ak47, g3sg1, scout
556mmp - m249
556mm - aug, famas, galil, m4a1, sg550, sg552
12mm - m3, xm1014
45mm - mac10, ump45, usp
57mm - fiveseven, p90
50mm - deagle
357mm - p228
9mm - elite, glock18, mp5navy, tmp
ammo_grenades - activates the grenade ammunition functions:
sw_reset_weapons - undo all the weapon commands you used
sw_reset_equipment - undo all the equipment commands you used
sw_task_strip - time/delay to strip weapons/items after players spawn. Default value: 0.0
sw_task_strip_sw - New - time to strip specific weapons/items after players spawn. Default value: 0.0
sw_task_give - time to give weapons/items after players spawn. Default value: 1.0
Example: If you want that players receive weapons after 1.8 seconds: sw_task_give "1.8"
sw_noweapon_vip - VIP player will be affected by the above function. Default value: 0 . This was done due to the fact that the VIP does not support primary weapons.
The <team> variable applies to all commands below:
sw_defuserkit, sw_nightvision, sw_knife, sw_ak47, sw_aug, sw_awp, sw_deagle,
sw_elite, sw_famas, sw_fiveseven, sw_g3sg1, sw_galil, sw_glock18, sw_m3, sw_m4a1, sw_m249,
sw_mac10, sw_mp5n, sw_p90, sw_p228, sw_scout, sw_sg550, sw_sg552, sw_tmp, sw_ump45,
sw_usp, sw_xm1014, sw_hegrenade, sw_flashbang, sw_smokegrenade, sw_shield, sw_vest, sw_vesthelm
Example: If you want that terrorists use m4a1, vest and deagle and counter-terrorists use ak47, vesthelm and p228 you should press:
srw - random weapons ( any possibility )
srw_secondary - random [ secondary weapons ]
srw_primary - random [ primary weapons ]
srw_pistol - random [ pistols ]
srw_shotgun - random [ shotguns ]
srw_smg - random [ submachine guns ]
srw_rifle - random [ rifles ]
srw_rifl_exc_sn - random [ rifles excluding snipers ]
srw_sniper - random [ snipers ]
srw_grenade - random [ grenades ]
random single weapon/item, that is, the possibility of receiving the weapon/item or having it removed from you:
srw_vest, srw_vesthelm, srw_vest_vhelm, srw_shield, srw_ak47, srw_aug, srw_awp, srw_deagle,
srw_elite, srw_famas, srw_fiveseven, srw_g3sg1, srw_galil, srw_glock18, srw_m3,
srw_m4a1, srw_m249, srw_mac10, srw_mp5n, srw_p90, srw_p228, srw_scout, srw_sg550,
srw_sg552, srw_tmp, srw_ump45, srw_usp, srw_xm1014, srw_hegrenade, srw_flashbang,
srw_same - random weapons ( any possibility )
srw_same_primary - random [ primary weapons ]
srw_same_ak47 - random [ ak47 ]
srw_repeater - New - repeats the task to give random weapons. Default value: 1
HOW TO REPLACE THE DEFAULT STARTING PISTOLS USING THE CONFIG FILE?
to remove the default ones:
to give the new ones:
to get the new weapons without 1.0 delay:
IF YOU WANT TO KEEP THE DEFAULT PISTOLS BUT USING THE PLUGIN:
The plugin will fix the problem of the game not giving you a new pistol in the next round when you throw it away in the previous round.
In addition, your usp and glock18 will have full ammo.
PRESS "SW" ON THE CONSOLE TO GET THE LIST OF COMMANDS.