|| Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
- You do not need to copy that actor, since it is already defined.
- In fact, it's not just useless, it's actually harmful as it can cause problems.
- If you want to modify it, or use a modified version, using inheritance is the way to go.
- The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
- There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
| Plasma rifle
| Actor type
| DoomEd Number
|| Class Name
| Spawn ID
The plasma rifle. A fast projectile-launching weapon which uses cells for ammo.
ACTOR PlasmaRifle : DoomWeapon 2004
PLSG A 1 A_WeaponReady
PLSG A 1 A_Lower
PLSG A 1 A_Raise
PLSG A 3 A_FirePlasma
PLSG B 20 A_ReFire
PLSF A 4 Bright A_Light1
PLSF B 4 Bright A_Light1
PLAS A -1