|
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
- This actor is already defined in GZDoom, there's no reason to define it again.
- In fact, trying to define an actor with the same name will cause an error (because it already exists).
- If you want to make your own version of this actor, use inheritance.
- Definitions for existing actors are put on the wiki for reference purpose only.
|
Large firemace sphere
|
Actor type
|
Explosive
|
Game
|
(Heretic)
|
DoomEd Number
|
None
|
Class Name
|
MaceFX2
|
Spawn ID
|
156
|
Identifier
|
T_HEAVYMACEBALL
|
Classes: MaceFX1→MaceFX2
The firemace's secondary projectile, this mace sphere bounces a few times, spawning two small spheres on each bounce. The native action A_MaceBallImpact2 manages that by "resurrecting" the sphere (setting it back to its spawn state) unless its vertical speed is too slow, and by spawning the smaller ones.
ACTOR MaceFX2 : MaceFX1
{
Speed 10
Damage 6
Gravity 0.125
-NOGRAVITY
SeeSound ""
action native A_MaceBallImpact2();
States
{
Spawn:
FX02 CD 4
Loop
Death:
FX02 F 4 A_MaceBallImpact2
Goto Super::Death+1
}
}