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:
wh_enable < 0 / 1 > // Enable/Disable plugin (default: 1)
|
Changes:
* 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:- per-weapon type health (done)
- per-bullet type damage (per-weapon done)
- damage modes (jammed, explode, bad aim, broken) (done)
- alternative models for broken weapons
- bad aim for damaged weapons (done)
- change clip for jammed weapons
- random behavior for unstable weapons (done for bad aim & jammed & explode)
- take damage when hits player weapons
- cvar to select affected weapons
- multilang
- plugin control (on / off) (done)
Thanks to:
- Tutorials
- VEN
Drop/Touch tutorial
- ot_207
Fakemeta/Ham tutorial
- L//
member
- IneedHelp
member