Classes:MaceFX4

The slow and enormous projectile from the powered-up firemace. On any target that isn't protected by either the BOSS or the DONTSQUASH flag or by being a teammate, it actually deals 1000000 damage. If a target escapes thanks to the auto-use of a chaos device or has the INVULNERABLE flag, it deals no damage.

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.
Huge firemace sphere
Actor type Explosive Game
DoomEd Number None Class Name MaceFX4
Spawn ID 153 Identifier T_DEATHBALL


Classes: MaceFX4

This sphere will bounce forever until it hits a wall or a solid target. On OpenGL source ports, it is possible to aim straight up, so that it may never stop bouncing. However, the sphere will automatically move towards the first possible target it finds withing 640 map units. (The sphere detects by looking whether it can collide with something in any direction, starting with an angle of 0 degree ("east") and increasing counterclockwise by steps of 22.5 degrees. As long as the target isn't dead, it will continue to home in, seeking a new target if the current one dies before it reached it.

DECORATE definition

ACTOR MaceFX4 native
{
  Radius 8
  Height 6
  Speed 7
  Damage 18
  Gravity 0.125
  Projectile
  -NOGRAVITY
  +TELESTOMP
  +THRUGHOST
  -NOTELEPORT
  BounceType "HereticCompat"
  SeeSound ""
  Obituary "$OB_MPPMACE"

  action native A_DeathBallImpact();

  States
  {
  Spawn:
    FX02 E 99
    Loop
  Death:
    FX02 C 4 A_DeathBallImpact
    FX02 GHIJ 4 Bright
    Stop
  }
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.