Hi all!
Actually i've created this plugin for
DeathMatch, but then I found this plugin is very funny at any server and gameplay.
Plugin is very simple and easy in settings. I hope you like it
Special thanks to LumiStance.
Description:
Provides a menu to choose weapons. Once choosen the weapons are automatically given at respawn.
The available weapons are configurable (see configuration below). The menu also provides a choice
of no gun or random. Bots are given the same items as players and
only random guns.
Since 2.0 update, you can get weapons by saying 'k98' or 'bar' or
Spoiler
garand, thompson, mp40, mp44, spring, k98_scoped, 30cal, mg42, bazooka, pschreck, colt, p38, m1carbine, c96, amerknife, spade, smoke_us, smoke_ger, frag_us, frag_ger, riflegren_us, riflegren_ger
Configuration:
This is really simple to setup & configure a plugin. You need to open
config/weapons.ini file.
You can easily include or exclude separate guns from a menu.
To disable gun(s) you need to comment classname (
//"weapon_")
You can disable weapons at all. For example, if you dont want to allow players to choose a grenades - just comment all "
weapons_" in '
Grenades' section. Same for primary, secondary & melee weapons.
A note: removed weapons will not be available via say command.
Translations are also avalible! Just rename menu text ("M1 Garand") to any you want and go!
ConVars:
dod_guns_enablemenu <1/0> - Whether or not show gun menu at every respawn
dod_guns_saveweapons <1/0> - Whether or not save preferenced weapons and automatically give them on respawn
dod_guns_usetriggers <1/0> - Whether or not allow players to say "weapon" and get its weapon by classname
Commands:
!gunmenu\
!guns-----} When enabled, presents player with menus to choose primary, secondary, melee weapons & grenades
!weapons/
Installation detalis:
Put weapons.ini to sourcemod/configs folder
Put dod_gunmenu.sp to sourcemod/scripting folder
And put dod_gunmenu.smx to sourcemod/plugins folder
Notes:
-You can recall gun menu in any time
-If player have not chosen any gun, he will stay with stock class weapons.
-This plugin may be not compatible with
DoDS Equipment, because GunMenu perform equiment too fast (immediate after respawn without any timers).
-It requires at least SM 1.5.0
Servers with this plugin
Download plugin
Browse source code
__________________