Classes:CentaurLeader

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'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.
Slaughtaurs
Actor type Monster Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number 115 Class Name CentaurLeader
Spawn ID 2 Identifier T_CENTAURLEADER


CentaurCentaurLeader

Slaughtaurs are the elite caste of centaurs. They have 25% more hit points, a lower pain chance, and they know how to use their magic shields not only to gain temporary invulnerability, but also to shoot volleys of energy projectiles at a distant target. This can make them even more frustrating enemies than their lesser brethren.

DECORATE definition

ACTOR CentaurLeader : Centaur
{
  Health 250
  PainChance 96
  Speed 10
  Obituary "$OB_SLAUGHTAUR"
  HitObituary "$OB_SLAUGHTAURHIT"
  States
  {
  Missile:
    CENT E 10 A_FaceTarget
    CENT F 8 Bright A_CustomMissile("CentaurFX", 45, 0, 0, CMF_AIMOFFSET)
    CENT E 10 A_FaceTarget
    CENT F 8 Bright A_CustomMissile("CentaurFX", 45, 0, 0, CMF_AIMOFFSET)
    Goto See
  }
}

Related Classes

Centaur, the parent class, is of course required, as well as the classes for the shield and sword that are spawned in case of gibbing death.