Classes:Robot

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.
Robot
Actor type Monster Game MiniSpearLogoIcon.png
DoomEd Number 102 Class Name Robot


Classes: ActorWolfensteinMonsterDeathKnightRobot

Overview

Replacement for the Death Knight in the Spear of Destiny Mission packs.

DECORATE Definition

actor Robot : DeathKnight 102
{
  SeeSound "robot/sight"
  DeathSound "robot/death"
  AttackSound "robot/attack"
  DropItem "YellowKey"
  states
  {
    Spawn:
      ROBO A -1 NOP A_Look(0, 0, 0, 0, 360)
      stop
    See:
      ROBO A 5 NOP A_Chase("*", "*", CHF_BACKOFF)
      ROBO A 1.5
      ROBO B 4 NOP A_Chase("*", "*", CHF_BACKOFF)
      ROBO C 5 NOP A_Chase("*", "*", CHF_BACKOFF)
      ROBO C 1.5
      ROBO D 4 NOP A_Chase("*", "*", CHF_BACKOFF)
      loop
    Missile:
      ROBO E 15 A_FaceTarget
      ROBO F 5 bright A_FaceTarget
      ROBO H 0 bright A_WolfAttack
      ROBO H 5 bright A_CustomMissile("HighChemicalRocket", 32, 0, 4)
      ROBO G 5 bright A_WolfAttack
      ROBO H 0 bright A_WolfAttack
      ROBO H 5 bright A_CustomMissile("HighChemicalRocket", 32, 0, -4)
      ROBO H 0 bright A_WolfAttack
      goto See
    Death:
      ROBO A .5 A_Fall
      ROBO A 52.5 A_Scream
      ROBO IJKLMN 5
      ROBO O -1
      stop
  }
}