Classes:Macil2

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.
Macil
Actor type Monster Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number 200 Class Name Macil2
Conversation ID 50, 49, 50 Puzzle Item ID N/A


Classes: Macil1Macil2
Macil is the brave leader of The Front, sworn to fight for freedom and justice... and the creepy alien that's taken over his brain! This particular variation on Macil can be killed — but not by SpectralLightningV1 or SpectralLightningV2, so you need at least a second-phase Sigil to hurt him.

DECORATE definition

ACTOR Macil2 : Macil1
{
  PainChance 200
  +COUNTKILL
  +SPECTRAL
  -NODAMAGE
  Tag "$TAG_MACIL2" // "MACIL"
  DeathSound "macil/slop"
  DropItem "None"
  DamageFactor "SpectralLow", 0
  States
  {
  Missile:
    LEAD E 4 A_FaceTarget
    LEAD F 4 Bright A_ShootGun
    LEAD E 2 A_SentinelRefire
    Loop
  Death:
    LEAD G 5
    LEAD H 5 A_Scream
    LEAD IJ 4
    LEAD K 3
    LEAD L 3 A_NoBlocking
    LEAD MNOPQRSTUV 3
    LEAD W 3 A_SpawnItemEx("AlienSpectre4", 0, 0, 0, 0, 0, random[spectrespawn](0, 255)*0.0078125, 0, SXF_NOCHECKPOSITION)
    LEAD X -1
    Stop
  }
}