Classes:KnightGhost

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.
Ghost warrior
Actor type Monster Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number 65 Class Name KnightGhost
Spawn ID 129 Identifier T_KNIGHTGHOST


Classes: KnightKnightGhost

The ghost version of the undead warrior. Contrarily to its skeletal variant, all his attacks use the more powerful bloody axe rather than the usual ethereal axe, this difference in behavior is handled by the native action A_KnightAttack rather than by the actor's DECORATE code. Being a ghost, physical projectiles, such as the phoenix shot or the firemace's attacks, pass through him without causing any harm.

DECORATE definition

ACTOR KnightGhost : Knight
{
  +SHADOW
  +GHOST
  RenderStyle Translucent
  Alpha 0.4
}