Classes:Macil2

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.
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
  }
}