Classes:Belphegor

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Belphegor
Actor type Monster Game MiniSkulltagLogoIcon.png (Skulltag)
DoomEd Number 5008 Class Name Belphegor
Spawn ID 215 Identifier T_BELPHEGOR
Center Warning: This class is a Skulltag-specific actor that is not included in ZDoom!


Classes: BaronOfHellHellKnightBelphegor

These red and black hell nobles are even stronger and tougher than the Barons of Hell.

DECORATE definition

ACTOR Belphegor : HellKnight 5008
{
  SpawnID 215
  Health 1500
  PainChance 25
  SeeSound "baron/sight"
  PainSound "baron/pain"
  DeathSound "baron/death"
  ActiveSound "baron/active"
  Obituary "$OB_BELPHEGOR" // "%o was slain by a Belphegor."
  HitObituary "$OB_BELPHEGOR_MELEE" // "%o was slain by a Belphegor."
  States
  {
  Spawn:
    BOS3 AB 10 A_Look
    Loop
  See:
    BOS3 AABBCCDD 3 A_Chase
    Loop
  Pain:
    BOS3 H 2
    BOS3 H 2 A_Pain
    Goto See
  Melee:
  Missile:
    BOS3 EF 6 A_FaceTarget
    BOS3 G 6 A_BasicAttack (10, "baron/melee", "BelphegorBall", 32)
    BOS3 EF 6 A_FaceTarget
    BOS3 G 6 A_BasicAttack (10, "baron/melee", "BelphegorBall", 32)
    BOS3 EF 6 A_FaceTarget
    BOS3 G 6 A_BasicAttack (10, "baron/melee", "BelphegorBall", 32)
    Goto See
  Death:
    BOS3 I 8
    BOS3 J 8 A_Scream
    BOS3 K 8
    BOS3 L 8 A_NoBlocking
    BOS3 MN 8
    BOS3 O -1 A_BossDeath
    Stop
  Raise:
    BOS3 ONMLKJI 8
    Goto See
  }
}