|
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.
|
Mauler
|
Actor type
|
Weapon
|
Game
|
(Strife)
|
DoomEd Number
|
None
|
Class Name
|
Mauler2
|
Classes: Inventory→Weapon→StrifeWeapon→Mauler→Mauler2
This is one of the two types of Mauler in the game Strife, it fires a green projectile which, upon hitting an object, be it a wall or an enemy, releases a wave of smaller green projectiles which disintegrate foes upon contact, but beware, using this weapon drains your health. In Strife1.wad, the sprites are actually named BLST* and are renamed at load-time by ZDoom.
ACTOR Mauler2 : Mauler
{
Weapon.SelectionOrder 3300
Weapon.AmmoUse1 30
Weapon.AmmoGive1 0
Weapon.AmmoType1 "EnergyPod"
Weapon.SisterWeapon "Mauler"
Tag "$TAG_MAULER2" // "Mauler"
action native A_FireMauler2Pre();
action native A_FireMauler2();
States
{
Ready:
MAUL IJKL 7 A_WeaponReady
Loop
Deselect:
MAUL I 1 A_Lower
Loop
Select:
MAUL I 1 A_Raise
Loop
Fire:
MAUL I 20 A_FireMauler2Pre
MAUL J 10 A_Light1
BLSF A 10 Bright A_FireMauler2 // see MaulerTorpedo
MAUL B 10 Bright A_Light2
MAUL C 2
MAUL D 2 A_Light0
MAUL E 2 A_ReFire
Goto Ready
}
}