Classes:Doberman

From ECWolf Wiki
Revision as of 14:36, 22 January 2013 by Blzut3 (talk | contribs) (Created page with "{{Actor| | type = Monster | name = Doberman | class = Doberman | doomednum = 95 | game = Spear }}Classes: {{Class|Actor}} → {{Class|WolfensteinMonster}} → {{Clas...")
(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.
Doberman
Actor type Monster Game MiniSpearLogoIcon.png
DoomEd Number 95 Class Name Doberman


Classes: ActorWolfensteinMonsterDogDoberman

Overview

Alternative version of the Dog for the Spear of Destiny mission packs. Behaves the same as the parent, but is blue in appearance.

DECORATE Definition

actor Doberman : Dog 95
{
  AttackSound "doberman/attack"
  DeathSound "doberman/death"
  SecretDeathSound "doberman/crash"
  SeeSound "doberman/sight"
  states
  {
    Spawn:
    Path:
      DOBR A 10 NOP A_Chase
      DOBR A 2.5
      DOBR B 7.5 NOP A_Chase
      DOBR C 10 NOP A_Chase
      DOBR C 2.5
      DOBR D 7.5 NOP A_Chase
      loop
    Melee:
      DOBR EF 5 A_FaceTarget
      DOBR G 5 A_MeleeAttack(random(1,15))
      DOBR EA 5
      goto See
    See:
      DOBR A 5 NOP A_Chase
      DOBR A 1.5
      DOBR B 4 NOP A_Chase
      DOBR C 5 NOP A_Chase
      DOBR C 1.5
      DOBR D 4 NOP A_Chase
      loop
    Death:
      DOBR H 7.5 A_Fall
      DOBR I 7.5 A_Scream
      DOBR J 7.5
      DOBR K -1
      stop
  }
}