Classes:Dog

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.
Dog
Actor type Monster Game MiniWolf3DLogoIcon.png
DoomEd Number 14 Class Name Dog


Classes: ActorWolfensteinMonsterDog
 →Doberman

Overview

A German Shephard. Very fast and attacks with a melee-ranged bite.

DECORATE Definition

actor Dog: WolfensteinMonster 14
{
  Points 200
  Health 1
  Speed 2.93, 5.859
  SightTime 1, 8
  AttackSound "dog/attack"
  DeathSound "dog/death"
  SecretDeathSound "dog/fart"
  SeeSound "dog/sight"
  -CANUSEWALLS
  states
  {
    Spawn:
    Path:
      DOGY A 10 NOP A_Chase
      DOGY A 2.5
      DOGY B 7.5 NOP A_Chase
      DOGY C 10 NOP A_Chase
      DOGY C 2.5
      DOGY D 7.5 NOP A_Chase
      loop
    Melee:
      DOGY EF 5 A_FaceTarget
      DOGY G 5 A_MeleeAttack(random(1,15))
      DOGY EA 5
      goto See
    See:
      DOGY A 5 NOP A_Chase
      DOGY A 1.5
      DOGY B 4 NOP A_Chase
      DOGY C 5 NOP A_Chase
      DOGY C 1.5
      DOGY D 4 NOP A_Chase
      loop
    Death:
      DOGY H 7.5 A_Fall
      DOGY I 7.5 A_Scream
      DOGY J 7.5
      DOGY K -1
      stop
  }
}