Difference between revisions of "Etdamage"

From WolfWiki
Jump to: navigation, search
m (added catorgry's)
(added dflags)
Line 1: Line 1:
comming soon.
+
__NOEDITSECTION__
 +
*'''Damage Flags'''
 +
:damage flags are bitflags
 +
:the following bits are available
 +
<pre>DAMAGE_RADIUS 1 // damage was indirect
 +
DAMAGE_HALF_KNOCKBACK 2 // Gordon: do less knockback
 +
DAMAGE_NO_KNOCKBACK 4 // do not affect velocity, just view angles
 +
DAMAGE_NO_PROTECTION 8 // armor, shields, invulnerability, and godmode have no effect
 +
DAMAGE_NO_TEAM_PROTECTION 16 // armor, shields, invulnerability, and godmode have no effect
 +
DAMAGE_DISTANCEFALLOFF 32 // distance falloff</pre>
 +
 
 +
----
 +
 
  
 
[[Category:ETPro]]
 
[[Category:ETPro]]
 
[[Category:ETPro:Mods]]
 
[[Category:ETPro:Mods]]

Revision as of 16:12, 8 March 2006

  • Damage Flags
damage flags are bitflags
the following bits are available
DAMAGE_RADIUS			1 // damage was indirect
DAMAGE_HALF_KNOCKBACK		2 // Gordon: do less knockback
DAMAGE_NO_KNOCKBACK		4 // do not affect velocity, just view angles
DAMAGE_NO_PROTECTION		8 // armor, shields, invulnerability, and godmode have no effect
DAMAGE_NO_TEAM_PROTECTION	16 // armor, shields, invulnerability, and godmode have no effect
DAMAGE_DISTANCEFALLOFF		32 // distance falloff