Classes:DarkImp

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
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
  }
}