Weapon Health
2 Attachment(s)
Weapon Health Plugin Description: Weapons have health. Players can damage weapons when they are dropped. Shooting them to become unusable. If someone picks a damaged weapon, it will be have a malfunction problem like bad aim, jamming and posibility to explode!. He could drop the gun and pickup another one. Cvars: Quote:
* v1.5 - Changed attack management - Improved attack blocking - Added per-weapon health/damage - Added levels for damage (Normal, Malfunction, Bad aim, Unstable/Explosive, Broken) - Added sparks! - Added on/off cvar * v1.1 - Method change to check damaged weapons (Thanks Exolent) - Method change to catch linking weaponbox - Improved damage amount storage - Fixed array size (Thanks fezh) * v1.0 - First release TODO:
Thanks to: - Tutorials - VEN Drop/Touch tutorial - ot_207 Fakemeta/Ham tutorial - L// member - IneedHelp member |
Re: Weapon Health
Yeah, u released the plugin, good job, good idea.
|
Re: Weapon Health
Quote:
EV_FL_health and EV_FL_takedamage [2] That is hard, you need modelers for that, I think that it would be better to make some sounds. [3] http://forums.alliedmods.net/showthread.php?p=787225 [4] Cstrike Module [5] That is hard to do but not impossible. |
Re: Weapon Health
For hooking keys you should use cmdstart.
|
Re: Weapon Health
Quote:
http://forums.alliedmods.net/showthread.php?t=41265 As I know it's not possible to correctly catch +attack with CmdStart. Please let me know if I'm wrong with that. |
Re: Weapon Health
I suggest Ham_Weapon_PrimaryAttack.
|
Re: Weapon Health
Code:
Code:
|
Re: Weapon Health
Quote:
Quote:
|
Re: Weapon Health
Quote:
Quote:
Updated to v1.1 |
Re: Weapon Health
|
All times are GMT -4. The time now is 03:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.