Classes:Beast

From ZDoom Wiki
Jump to navigation Jump to search
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 will 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.
Weredragon
Actor type Monster Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number 70 Class Name Beast
Spawn ID 3 Identifier T_BEAST


Classes: Beast
The Weredragon is a reasonably tough monster exclusive to the registered version of Heretic, appearing as soon as E2M1. It has a powerful ranged attack: a spitted fireball that leaves a trail of smoke. It sometimes drop ethereal crossbows when slain.

DECORATE definition

ACTOR Beast
{
  Health 220
  Radius 32
  Height 74
  Mass 200
  Speed 14
  Painchance 100
  Monster
  +FLOORCLIP
  SeeSound "beast/sight"
  AttackSound "beast/attack"
  PainSound "beast/pain"
  DeathSound "beast/death"
  ActiveSound "beast/active"
  Obituary "$OB_BEAST"
  DropItem "CrossbowAmmo", 84, 10
  States
  {
  Spawn:
    BEAS AB 10 A_Look
    Loop
  See:
    BEAS ABCDEF 3 A_Chase
    Loop
  Missile:
    BEAS H 10 A_FaceTarget
    BEAS I 10 A_CustomComboAttack("BeastBall", 32, random[BeastAttack](1,8)*3, "beast/attack")
    Goto See
  Pain:
    BEAS G 3
    BEAS G 3 A_Pain
    Goto See
  Death:
    BEAS R 6
    BEAS S 6 A_Scream
    BEAS TUV 6
    BEAS W 6 A_NoBlocking
    BEAS XY 6
    BEAS Z -1
    Stop
  XDeath:
    BEAS J 5
    BEAS K 6 A_Scream
    BEAS L 5
    BEAS M 6
    BEAS N 5
    BEAS O 6 A_NoBlocking
    BEAS P 5
    BEAS Q -1
    Stop
  }
}