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.
Mace of contrition
Actor type Weapon Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number None Class Name CWeapMace

Classes: WeaponClericWeaponCWeapMace
The Cleric's mace weapon, from Hexen.

DECORATE definitions

ACTOR CWeapMace : ClericWeapon
  Weapon.SelectionOrder 3500
  Weapon.KickBack 150
  Weapon.YAdjust -8
  Obituary "$OB_MPCWEAPMACE"

  action native A_CMaceAttack();

    CMCE A 1 A_Raise
    CMCE A 1 A_Lower
    CMCE A 1 A_WeaponReady
    CMCE B 2 Offset(60, 20)
    CMCE B 1 Offset(30, 33)
    CMCE B 2 Offset(8, 45)
    CMCE C 1 Offset(8, 45)
    CMCE D 1 Offset(8, 45)
    CMCE E 1 Offset(8, 45)
    CMCE E 1 Offset(-11, 58) A_CMaceAttack
    CMCE F 1 Offset(8, 45)
    CMCE F 2 Offset(-8, 74)
    CMCE F 1 Offset(-20, 96)
    CMCE F 8 Offset(-33, 160)
    CMCE A 2 Offset(8, 75) A_ReFire
    CMCE A 1 Offset(8, 65)
    CMCE A 2 Offset(8, 60)
    CMCE A 1 Offset(8, 55)
    CMCE A 2 Offset(8, 50)
    CMCE A 1 Offset(8, 45)
    Goto Ready