Classes:DarkImp

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 will 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.
Dark imp
Actor type Monster Game MiniSkulltagLogoIcon.png (Skulltag)
DoomEd Number 5006 Class Name DarkImp
Spawn ID 155 Identifier T_DARKIMP
Center Warning: This class is a Skulltag-specific actor that is not included in ZDoom!


Classes: DoomImpDarkImp

Twice as tough as their lesser cousins, and with a more dangerous attack.

DECORATE definition

ACTOR DarkImp : DoomImp 5003
{
  Game Doom
  SpawnID 155
  Obituary "$OB_DARKIMP" // "%o was burned by a dark imp."
  HitObituary "$OB_DARKIMP_MELEE" // "%o was slashed by a dark imp."
  Health 120
  MissileType DarkImpBall
  States
  {
  Spawn:
    DIMP AB 10 A_Look
    Loop
  See:
    DIMP AABBCCDD 3 A_Chase
    Loop
  Melee:
  Missile:
    DIMP EF 8 A_FaceTarget
    DIMP G 6 A_ComboAttack  // See DarkImpBall
     Goto See
  Pain:
    DIMP H 2
    DIMP H 2 A_Pain
    Goto See
  Death:
    DIMP I 8
    DIMP J 8 A_Scream
    DIMP K 6
    DIMP L 6 A_NoBlocking
    DIMP M -1
    Stop
  XDeath:
    DIMP N 5
    DIMP O 5 A_XScream
    DIMP P 5
    DIMP Q 5 A_NoBlocking
    DIMP RST 5
    DIMP U -1
    Stop
  Raise:
    DIMP ML 8
    DIMP KJI 6
    Goto See
  }
}