damage_effect

🚧 This article is a stub. You can help expand it by submitting content in pull requests or issues in this wiki's source repo.

...

Structure and fields #

Field Type Comments
radius f32 (world units) (min & max)
cutoff scale f32
  • Maximum: 1
flags bitfield(32)
Flag Mask Comments
do not scale damage by distance 0x1
pad(16)
pad(4)
type enum
Option Value Comments
none 0x0
lighten 0x1
darken 0x2
max 0x3
min 0x4
invert 0x5
tint 0x6
priority enum
Option Value Comments
low 0x0
medium 0x1
high 0x2
pad(8)
pad(4)
duration f32 (seconds)
fade function enum
Option Value Comments
linear 0x0
early 0x1
very early 0x2
late 0x3
very late 0x4
cosine 0x5
pad(2)
pad(4)
pad(4)
maximum intensity f32
  • Maximum: 1
pad(4)
color
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
low frequency vibrate frequency f32
  • Maximum: 1
low frequency vibrate duration f32 (seconds)
low frequency vibrate fade function enum
Option Value Comments
linear 0x0
early 0x1
very early 0x2
late 0x3
very late 0x4
cosine 0x5
pad(2)
pad(8)
high frequency vibrate frequency f32
  • Maximum: 1
high frequency vibrate duration f32 (seconds)
high frequency vibrate fade function enum
Option Value Comments
linear 0x0
early 0x1
very early 0x2
late 0x3
very late 0x4
cosine 0x5
pad(2)
pad(4)
pad(16)
pad(8)
temporary camera impulse duration f32 (seconds)
temporary camera impulse fade function enum
Option Value Comments
linear 0x0
early 0x1
very early 0x2
late 0x3
very late 0x4
cosine 0x5
pad(2)
temporary camera impulse rotation Angle: f32
temporary camera impulse pushback f32 (world units)
jitter f32 (world units) (min & max)
pad(8)
permanent camera impulse angle Angle: f32
pad(4)
pad(12)
camera shaking duration f32 (seconds)
camera shaking falloff function enum
Option Value Comments
linear 0x0
early 0x1
very early 0x2
late 0x3
very late 0x4
cosine 0x5
pad(2)
camera shaking random translation f32 (world units)
camera shaking random rotation Angle: f32
pad(4)
pad(8)
camera shaking wobble function enum
Option Value Comments
one 0x0
zero 0x1
cosine 0x2
cosine variable period 0x3
diagonal wave 0x4
diagonal wave variable period 0x5
slide 0x6
slide variable period 0x7
noise 0x8
jitter 0x9
wander 0xa
spark 0xb
pad(2)
camera shaking wobble period f32 (seconds)
camera shaking wobble weight f32
pad(12)
pad(16)
pad(4)
pad(108)
pad(4)
breaking effect forward velocity f32 (world units per second)
breaking effect forward radius f32 (world units)
breaking effect forward exponent f32
pad(4)
pad(8)
breaking effect outward velocity f32 (world units per second)
breaking effect outward radius f32 (world units)
breaking effect outward exponent f32
pad(8)
pad(4)
damage side effect enum
Option Value Comments
none 0x0
harmless 0x1
lethal to the unsuspecting 0x2
emp 0x3
damage category enum
Option Value Comments
none 0x0
falling 0x1
bullet 0x2
grenade 0x3
high explosive 0x4
sniper 0x5
melee 0x6
flame 0x7
mounted weapon 0x8
vehicle 0x9
plasma 0xa
needle 0xb
shotgun 0xc
damage flags bitfield(32)
Flag Mask Comments
does not hurt owner 0x1
can cause headshots 0x2
pings resistant units 0x4
does not hurt friends 0x8
does not ping units 0x10
detonates explosives 0x20
only hurts shields 0x40
causes flaming death 0x80
damage indicators always point down 0x100
skips shields 0x200
only hurts one infection form 0x400
can cause multiplayer headshots 0x800
infection form pop 0x1000
damage aoe core radius f32 (world units)
damage lower bound f32
damage upper bound from f32
damage upper bound to f32
damage vehicle passthrough penalty f32
damage active camouflage damage f32
damage stun f32
  • Maximum: 1
damage maximum stun f32
  • Maximum: 1
damage stun time f32 (seconds)
pad(4)
damage instantaneous acceleration f32
pad(8)
dirt f32
sand f32
stone f32
snow f32
wood f32
metal hollow f32
metal thin f32
metal thick f32
rubber f32
glass f32
force field f32
grunt f32
hunter armor f32
hunter skin f32
elite f32
jackal f32
jackal energy shield f32
engineer skin f32
engineer force field f32
flood combat form f32
flood carrier form f32
cyborg armor f32
cyborg energy shield f32
human armor f32
human skin f32
sentinel f32
monitor f32
plastic f32
water f32
leaves f32
elite energy shield f32
ice f32
hunter shield f32
pad(12)
pad(16)

This information was partially generated using Invader tag definitions.

Acknowledgements

Thanks to the following individuals for their research or contributions to this topic:

  • Kavawuvi (Invader tag definitions)
  • MosesOfEgypt (Tag structure research)