From ECWolf Wiki
Revision as of 19:04, 16 January 2013 by Blzut3 (talk | contribs) (→‎DECORATE Definition: Style)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
Actor type Monster Game MiniWolf3DLogoIcon.png
DoomEd Number 11 Class Name Guard

Classes: ActorWolfensteinMonsterGuard


A brown-uniformed castle security guard, attacking with a pistol. The most commonplace enemy in the game.

DECORATE Definition

actor Guard: WolfensteinMonster 11
  Points 100
  Health 25
  Speed 1, 3
  SightTime 1, 4
  DropItem "Clip"
  AttackSound "guard/attack"
  DeathSound "guard/death"
  SecretDeathSound "guard/fart"
  SeeSound "guard/sight"
      GARD A -1 NOP A_Look
      GARD B 10 NOP A_Chase
      GARD B 2.5
      GARD C 7.5 NOP A_Chase
      GARD D 10 NOP A_Chase
      GARD D 2.5
      GARD E 7.5 NOP A_Chase
      GARD B 5 NOP A_Chase
      GARD B 1.5
      GARD C 4 NOP A_Chase
      GARD D 5 NOP A_Chase
      GARD D 1.5
      GARD E 4 NOP A_Chase
      GARD FG 10 A_FaceTarget
      GARD H 10 bright A_WolfAttack
      goto See
      GARD I 5 A_JumpIf(health & 1, 1)
      goto See
      GARD J 5
      goto See
      GARD K 7.5 A_Fall
      GARD L 7.5 A_Scream
      GARD M 7.5
      GARD N -1