Classes:Hans

From ECWolf Wiki
Revision as of 19:05, 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.
Hans Grosse
Actor type Monster Game MiniWolf3DLogoIcon.png
DoomEd Number 16 Class Name Hans


Classes: ActorWolfensteinMonsterHans

Overview

Hans Grosse is the boss of the first (shareware) episode of Wolfenstein 3d, and as such is the final obstacle standing in the way of the player's escape from the titular castle. He is a huge, blond-haired and blue-armoured warrior who attacks with two chainguns.

DECORATE Definition

actor Hans: WolfensteinMonster 16
{
  Points 5000
  Health 850, 950, 1050, 1200
  Speed 1, 3
  AttackSound "hans/attack"
  DeathSound "hans/death"
  SeeSound "hans/sight"
  DropItem "GoldKey"
  +AMBUSH
  states
  {
    Spawn:
      HANS A -1 NOP A_Look(0, 0, 0, 0, 360)
      stop
    See:
      HANS A 5 NOP A_Chase
      HANS A 1.5
      HANS B 4 NOP A_Chase
      HANS C 5 NOP A_Chase
      HANS C 1.5
      HANS D 4 NOP A_Chase
      loop
    Missile:
      HANS E 15 A_FaceTarget
      HANS F 5 A_FaceTarget
      HANS GFGFGE 5 bright A_WolfAttack(0, "*", 0.667)
      goto See
    Death:
      HANS H 7.5 A_Fall
      HANS I 7.5 A_Scream
      HANS J 7.5
      HANS K -1
      stop
  }
}