Classes:Macil1

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.
Macil
Actor type Monster Game MiniStrifeLogoIcon.png
DoomEd Number 64 Class Name Macil1
Conversation ID 49, 48, 49 Puzzle Item ID N/A


Classes: Macil1
 →Macil2
Macil is the brave leader of The Front, sworn to fight for freedom and justice! This particular variation of Macil is essentially immune to harm.

DECORATE definition

ACTOR Macil1
{
  Health 95
  Radius 20
  Height 56
  Speed 8
  PainChance 250
  Monster
  -COUNTKILL
  +NOTDMATCH
  +NOICEDEATH
  +NOSPLASHALERT
  +NODAMAGE
  +NEVERRESPAWN
  DamageFactor "Fire", 0.5
  MinMissileChance 150
  SeeSound "macil/sight"
  PainSound "macil/pain"
  ActiveSound "macil/active"
  CrushPainSound "misc/pcrush"
  Tag "$TAG_MACIL1" // "MACIL"
  Obituary "$OB_MACIL" // "%o should have never rebelled against Macil."
  DropItem "BoxOfBullets"
  MaxStepHeight 16
  MaxDropoffHeight 32
  States
  {
  Spawn:
    LEDR C 5 A_Look2
    Loop
    LEDR A 8
    Loop
    LEDR B 8
    Loop
    LEAD ABCD 6 A_Wander
    Loop
  See:
    LEAD AABBCCDD 3 A_Chase
    Loop
  Missile:
  Death:
    LEAD E 2 A_FaceTarget
    LEAD F 2 Bright A_ShootGun
    LEAD E 1 A_SentinelRefire
    Loop
  Pain:
    LEAD Y 3
    LEAD Y 3 A_Pain
    Goto See
  }
}