[L4D2] Gun Control
25 Attachment(s)
A plugin to manage some gun and ammo related things.
Cvars: l4d2_guncontrol_assaultammo (default 360) - ammo for assault rifles l4d2_guncontrol_smgammo (default 650) - ammo for SMGs l4d2_guncontrol_shotgunammo (default 56) - ammo for pump shotguns l4d2_guncontrol_autoshotgunammo (default 90) - ammo for automatic shotguns l4d2_guncontrol_huntingrifleammo (default 150) - ammo for the HR l4d2_guncontrol_sniperrifleammo (default 180) - ammo for the Milit. Sniper, AWP, and Scout l4d2_guncontrol_grenadelauncherammo (default 30) - ammo for the Grenade Launcher l4d2_guncontrol_m60ammo (default 150) - ammo for the M60 l4d2_guncontrol_allowgrenadereplenish (default 1) - allow Grenade Launcher Resupply at Ammo Dumps l4d2_guncontrol_allowm60replenish (default 1) - allow M60 Resupply at Ammo Dumps l4d2_guncontrol_incendammomulti (default 3) - how many clips of incendiary ammo you get off an ammopack l4d2_guncontrol_explosiveammomulti (default 1) - how many clips of explosive ammo you get off an ammopack l4d2_guncontrol_turnGLintoM60chance (default 2) - Turns GL spawns on all maps into M60 spawns. Works as chance setting. 1 is FULL/100% chance, 2 is half/50% chance, 3 one third and so on NOTE: YOU MUST HAVE THE WEAPON UNLOCK PLUGIN FOR THIS TO WORK Version History: 1.0.0 - initial release 1.0.1 - added Convar Hooks for live changes, can now be loaded live 1.0.2 - added upgraded ammo multiplier 1.0.3 - fixed Laser Upgrade Chat Messages 1.0.4 - *ahem* fixed it really this time 1.0.5 - added support for CSS guns 1.0.6 - split explosive and incendiary special ammo handling 1.0.7 - never released 1.0.8 - added M60 control and conversion convars 1.0.9 - fixed M60 precache worries, you MUST have the appended Weapon Unlock for it to work 1.1.0 - added delay for M60 replacement to prevent crashes 1.1.1 - fixed 'replace all' typo preventing M60 resupply to work 1.1.2 - fixed m_iAmmo offsets Valve broke with The Passing 22.06.10 - updated Weapon Unlock to fix incompatibility with srsmod 24.06.10 - updated Weapon Unlock to basically work in any mode 25.06.10 - updated Weapon Unlock to version 0.8.7, now directly linked with srsmod if its installed 1.1.3 - fixed small error with grenade launcher removal, enforce m60 ammo setting on replacement m60 guns 10.03.11 - updated Weapon Unlock to version 0.8.9, hopefully fixes invalid Edict error log Credit to Crimson_Fox for fussing around with hidden guns |
Re: [L4D2] Gun Control
Your also a genius!
maybe a short chat command for give ammo. perhaps !ga |
Re: [L4D2] Gun Control
Will be trying this out soon along with porting over l4d maps, hope it works well. Will report any issues that I find.
|
Re: [L4D2] Gun Control
Atomic, I want to know what goes through your head when you think up plugins like these. You've made so many plugins that are awesome...
I'm jealous. |
Re: [L4D2] Gun Control
Any way to add in the ability to adjust the reload speed?
|
Re: [L4D2] Gun Control
other than grenade launcher are not working. i x2 the grenade launcher ammo 30>60 it shows i don't know it can work the another extra 30. which means 70% not working the replenish grenade ammo working. so on :o
Edit: I take back my word its working >.< |
Re: [L4D2] Gun Control
Tanks.
Very easy ! |
Re: [L4D2] Gun Control
AWESSOME!
Testing now! |
Re: [L4D2] Gun Control
good idea~ i like it and want more~:mrgreen:
will you add more features such as zombie's health ,tank health setting~.... :twisted: |
Re: [L4D2] Gun Control
You are a scholar and a gentleman!!
Amazing plugin...i hate having to switch guns once i get the AK or Scar :) The give ammo function is also a great idea. Thanks!! |
All times are GMT -4. The time now is 23:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.