Info:
Armor goes first then health on damage.
Requirements:
* any mod supported by
Ham Sandwich module
* AMX/X 1.7x or higher
* Fakemeta module
*
Ham Sandwich module
New cvars:
*
q3armor_affectdmgbits <flags> (default=DMG_BULLET+DMG_BLAST=bg)
*
q3armor_affectgenericdmg <0|1> (default=1)
affect generic damage; moved into separate cvar because
DMG_GENERIC = 0
* [CS]
q3armor_affectknifedmg <0|1> (default=0)
affect knife kill; if q3armor_affectdmgbits does not have DMG_BULLET
then this cvar is automatically assumed off (knife damage indicated
by DMG_BULLET bit)
Notes:
* [CS] cvars are available under CS/CZ mod only
Credits:
* Sawce for HS module
Changelog:
1.0.1 [2007-11-19]
+ added cvars: 'q3armor_affectdmgbits', 'q3armor_affectgenericdmg',
'q3armor_affectknifedmg'
! fall damage does not grab armor anymore
* now you can handle armor damage influence per any damage type
1.0.0 [2007-07-07]
* first public release
Appendix (DMG_* to flag table):
Code:
DMG_GENERIC -> <none>
DMG_CRUSH -> a
DMG_BULLET -> b
DMG_SLASH -> c
DMG_BURN -> d
DMG_FREEZE -> e
DMG_FALL -> f
DMG_BLAST -> g
DMG_CLUB -> h
DMG_SHOCK -> i
DMG_SONIC -> j
DMG_ENERGYBEAM -> k
DMG_NEVERGIB -> l
DMG_ALWAYSGIB -> m
DMG_DROWN -> n
DMG_PARALYZE -> o
DMG_NERVEGAS -> p
DMG_POISON -> q
DMG_RADIATION -> r
DMG_DROWNRECOVER -> s
DMG_ACID -> t
DMG_SLOWBURN -> u
DMG_SLOWFREEZE -> v
DMG_MORTAR -> w (1<<23)
// CS/CZ specific flags
DMG_24 -> x (1<<24)
DMG_HEGRENADE -> y (1<<25)
DMG_25 -> z (1<<26)
Note: .amxx file is compiled against AMX/X 1.76d.