Classes:DeathKnight

From ECWolf Wiki
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.
The Death Knight
Actor type Monster Game MiniSpearLogoIcon.png
DoomEd Number 26 Class Name DeathKnight


Classes: ActorWolfensteinMonsterDeathKnight
 →Robot

Overview

Guardian of the Spear of Destiny.

DECORATE Definition

actor DeathKnight : WolfensteinMonster 26
{
  Points 5000
  Health 1250, 1350, 1450, 1600
  Speed 1, 4
  MissileFrequency 0.04
  SeeSound "knight/sight"
  DeathSound "knight/death"
  AttackSound "knight/attack"
  DropItem "GoldKey"
  +AMBUSH
  states
  {
    Spawn:
      DKNT A -1 NOP A_Look(0, 0, 0, 0, 360)
      stop
    See:
      DKNT A 5 NOP A_Chase("*", "*", CHF_BACKOFF)
      DKNT A 1.5
      DKNT B 4 NOP A_Chase("*", "*", CHF_BACKOFF)
      DKNT C 5 NOP A_Chase("*", "*", CHF_BACKOFF)
      DKNT C 1.5
      DKNT D 4 NOP A_Chase("*", "*", CHF_BACKOFF)
      loop
    Missile:
      DKNT E 15 A_FaceTarget
      DKNT F 5 bright A_FaceTarget
      DKNT H 0 bright A_WolfAttack
      DKNT H 5 bright A_CustomMissile("HighRocket", 32, 0, 4)
      DKNT G 5 bright A_WolfAttack
      DKNT H 0 bright A_WolfAttack
      DKNT H 5 bright A_CustomMissile("HighRocket", 32, 0, -4)
      DKNT H 0 bright A_WolfAttack
      goto See
    Death:
      DKNT A .5 A_Fall
      DKNT A 52.5 A_Scream
      DKNT IJKLMN 5
      DKNT O -1
      stop
  }
}