|
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
- You do not need to copy that actor, since it is already defined.
- In fact, it's not just useless, it's actually harmful as it can cause problems.
- If you want to modify it, or use a modified version, using inheritance is the way to go.
- The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
- There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
|
Dark imp
|
Actor type
|
Monster
|
Game
|
(Skulltag)
|
DoomEd Number
|
5006
|
Class Name
|
DarkImp
|
Spawn ID
|
155
|
Identifier
|
T_DARKIMP
|
|
Warning: This class is a Skulltag-specific actor that is not included in ZDoom!
|
Classes: DoomImp→DarkImp
Twice as tough as their lesser cousins, and with a more dangerous attack.
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
}
}