Classes:MummyFX1

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.
Screaming skull
Actor type Explosive Game MiniHereticLogoIcon.png
DoomEd Number None Class Name MummyFX1
Spawn ID 131 Identifier T_MUMMYHEAD


Classes: MummyFX1
The screaming, flying, flaming skulls launched by nitrogolems. They have a subtle homing ability. Contrarily to the flying, flaming skulls from Doom, they are merely projectiles.

DECORATE definition

ACTOR MummyFX1
{
  Radius 8
  Height 14
  Speed 9
  FastSpeed 18
  Damage 4
  RenderStyle Add
  Projectile
  -ACTIVATEPCROSS
  -ACTIVATEIMPACT
  +SEEKERMISSILE
  States
  {
  Spawn:
    FX15 A 5 Bright A_PlaySound("mummy/head")
    FX15 B 5 Bright A_SeekerMissile(10, 20)
    FX15 C 5 Bright
    FX15 B 5 Bright A_SeekerMissile(10, 20)
    Loop
  Death:
    FX15 DEFG 5 Bright
    Stop
  }
}