Classes:WolfensteinSS

From ECWolf Wiki
Revision as of 14:00, 6 January 2013 by Hair Machine (talk | contribs) (Created page with "{{Actor| | type = Internal | name = SS | class = WolfensteinSS }}Classes: {{Class}} → {{Class|WolfensteinMonster}} → <u>WolfensteinSS</u><br>  →{{Class...")
(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.
SS
Actor type Internal Game MiniECWolfLogoIcon.png
DoomEd Number None Class Name WolfensteinSS


Classes: ActorWolfensteinMonsterWolfensteinSS
 →Schutzstafell

Overview

Blue-uniformed shock trooper. Has the highest hitpoints of the standard enemies and attacks with a machine gun.

DECORATE Definition

actor WolfensteinSS: WolfensteinMonster 13 // ZDoom compatible name
{
  Points 500
  Health 100
  Speed 1, 4
  SightTime 1, 6
  DropItem "MachineGun"
  DropItem "Clip"
  AttackSound "wolfss/attack"
  DeathSound "wolfss/death"
  SecretDeathSound "wolfss/fart"
  SeeSound "wolfss/sight"
  +DROPBASEDONTARGET
  states
  {
    Spawn:
      SSWV W -1 NOP A_Look
      stop
    Path:
      SSWV A 10 NOP A_Chase
      SSWV A 2.5
      SSWV B 7.5 NOP A_Chase
      SSWV C 10 NOP A_Chase		
      SSWV C 2.5
      SSWV D 7.5 NOP A_Chase
      loop
    See:
      SSWV A 5 NOP A_Chase
      SSWV A 1.5
      SSWV B 4 NOP A_Chase
      SSWV C 5 NOP A_Chase
      SSWV C 1.5
      SSWV D 4 NOP A_Chase
      loop
    Pain:
      SSWV H 5 A_JumpIf(health & 1, 1)
      goto See
      SSWV I 5
      goto See
    Missile:
      SSWV EF 10 A_FaceTarget
      SSWV G 5 bright A_WolfAttack(0, "*", 0.667)
      SSWV F 5 A_FaceTarget
      SSWV G 5 bright A_WolfAttack(0, "*", 0.667)
      SSWV F 5 A_FaceTarget
      SSWV G 5 bright A_WolfAttack(0, "*", 0.667)
      SSWV F 5 A_FaceTarget
      SSWV G 5 bright A_WolfAttack(0, "*", 0.667)
      goto See
    Death:
      SSWV J 7.5 A_Fall
      SSWV K 7.5 A_Scream
      SSWV L 7.5
      SSWV M -1
      stop
  }
}