Classes:MinotaurFriend

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.
Dark Servant
Actor type Monster Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number None Class Name MinotaurFriend


Classes: MinotaurMinotaurFriend

Dark servants are maulotaurs summoned through the dark servant artifact who attack the foes of his invoker. Excepted for this change of allegiance, they behave identically to Heretic's maulotaurs, but vanish in a puff of smoke when vanquished, and leave neither corpse nor items behind.

For this reason, Hexen does not have all the frames corresponding to the Maulotaur's death, and as a consequence the other sprites are labeled differently. However, ZDoom renames the Hexen attack sprites to prevent conflicts and it is thus possible to use maulotaurs in Hexen and dark servants in Heretic with all their correct animations, as long as the needed sprites are provided.

Minotaur friends use the following actor fields for specific purposes:

StartTime
moment it was summoned — this field is absent from other actors
tracer
player that summoned it

DECORATE definition

ACTOR MinotaurFriend : Minotaur native
{
  Health 2500
  -DROPOFF
  -BOSS
  -DONTMORPH
  +FRIENDLY
  +NOTARGETSWITCH
  +STAYMORPHED
  +TELESTOMP
  +SUMMONEDMONSTER
  RenderStyle Translucent
  Alpha 0.3333
  DropItem "None"
  States
  {
  Spawn:
    MNTR A 15
    MNTR A 15 A_SetTranslucent(0.66, 0)
    MNTR A 3 A_SetTranslucent(1, 0)
    Goto Super::Spawn
  Idle:
    Goto Super::Spawn
  Death:
    Goto FadeOut
  }
}

Related Classes

The parent class Minotaur is of course needed, as well as its own related classes. Also needed are MinotaurSmoke and MinotaurSmokeExit for the Dark Servant's summoning and unsummoning special effects.