Classes:Cacolantern

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.
Cacolantern
Actor type Monster Game MiniSkulltagLogoIcon.png
DoomEd Number 5006 Class Name Cacolantern
Spawn ID 159 Identifier T_CACOLANTERN
Center Warning: This class is a Skulltag-specific actor that is not included in ZDoom!


Classes: CacodemonCacolantern
 →Abaddon

An orange Cacodemon, stronger than its red cousin. Their pumpkin color is the source of their nickname.

DECORATE definition

ACTOR Cacolantern : Cacodemon 5006
{
  SpawnID 159
  Health 800
  Obituary "$OB_CACOLANTERN" // "%o was smitten by a cacolantern."
  HitObituary "$OB_CACOLANTERN_MELEE" // "%o got too close to a cacolantern."
  States
  {
  Spawn:
    HED2 A 10 A_Look
    Loop
  See:
    HED2 A 3 A_Chase
    Loop
  Pain:
    HED2 E 3
    HED2 E 3 A_Pain
    HED2 F 6
    Goto See
  Missile:
    HED2 BC 5 A_FaceTarget
    HED2 D 5 Bright A_BasicAttack (8, "None", "CacolanternBall", 32)
    Goto See
  Death:
    HED2 G 8 A_NoBlocking
    HED2 H 8 A_Scream
    HED2 IJK 8
    HED2 L -1 A_SetFloorClip
    Stop
  Raise:
    HED2 L 8 A_UnsetFloorClip
    HED2 KJIHG 8
    Goto See
  }
}