Classes:BloodSplatter

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Blood splatter
Actor type Gibs Game MiniZDoomLogoIcon.png (ZDoom)
DoomEd Number None Class Name BloodSplatter


Classes: BloodSplatter

The blood splatter that is spawned instead of the Blood actor when an actor is hit and is able to bleed and the inflicting weapon or projectile has the +BLOODSPLATTER flag; all the predefined Heretic and Hexen projectiles have this flag implicitly set by the engine and many of the weapons, such as the Mace of Contrition and Hammer of Retribution, set it explicitly. In IWADs other than Doom's, the blood sprites are actually named BLOD* and are renamed at load-time by ZDoom.

DECORATE definition

ACTOR BloodSplatter
{
  Radius 2
  Height 4
  +NOBLOCKMAP
  +MISSILE
  +DROPOFF
  +NOTELEPORT
  +CANNOTPUSH
  +ALLOWPARTICLES
  Mass 5
  States
  {
  Spawn:
    BLUD CBA 8
    Stop
  Death:
    BLUD A 6
    Stop
  }
}