Classes:Mummy

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.
Golem
Actor type Monster Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number 68 Class Name Mummy
Spawn ID 4 Identifier T_MUMMY


Classes: Mummy
 →MummyGhost
 →MummyLeader
  →MummyLeaderGhost

Golems are very common enemies in Heretic. At close range they smash the player with their fists and are dangerous in packs. Golems don't have much health.

DECORATE definition

ACTOR Mummy
{
  Health 80
  Radius 22
  Height 62
  Mass 75
  Speed 12
  PainChance 128
  Monster
  +FLOORCLIP
  SeeSound "mummy/sight"
  AttackSound "mummy/attack1"
  PainSound "mummy/pain"
  DeathSound "mummy/death"
  ActiveSound "mummy/active"
  HitObituary "$OB_MUMMY"
  DropItem "GoldWandAmmo", 84, 3
  States
  {
  Spawn:
    MUMM AB 10 A_Look
    Loop
  See:
    MUMM ABCD 4 A_Chase
    Loop
  Melee:
    MUMM E 6 A_FaceTarget
    MUMM F 6 A_CustomMeleeAttack(random[MummyAttack](1,8)*2, "mummy/attack2", "mummy/attack")
    MUMM G 6
    Goto See
  Pain:
    MUMM H 4
    MUMM H 4 A_Pain
    Goto See
  Death:
    MUMM I 5
    MUMM J 5 A_Scream
    MUMM K 5 A_SpawnItemEx("MummySoul", 0, 0, 10, 0, 0, 1)
    MUMM L 5
    MUMM M 5 A_NoBlocking
    MUMM NO 5
    MUMM P -1
    Stop
  }
}