Classes:PlasmaRifle
From ZDoom Wiki
| Plasma rifle | |||
|---|---|---|---|
| Actor type | Weapon | Game | |
| DoomEd Number | 2004 | Class Name | PlasmaRifle |
| Spawn ID | 30 | Identifier | T_PLASMAGUN |
Classes: Inventory→Weapon→DoomWeapon→PlasmaRifle
The plasma rifle. A fast projectile launching weapon which uses cells for ammo.
DECORATE definition
actor PlasmaRifle : DoomWeapon 2004 { Game Doom SpawnID 30 Weapon.SelectionOrder 100 Weapon.AmmoUse 1 Weapon.AmmoGive 40 Weapon.AmmoType "Cell" Inventory.PickupMessage "$GOTPLASMA" // "You got the plasma gun!" States { Ready: PLSG A 1 A_WeaponReady Loop Deselect: PLSG A 1 A_Lower Loop Select: PLSG A 1 A_Raise Loop Fire: PLSG A 3 A_FirePlasma PLSG B 20 A_ReFire Goto Ready Flash: PLSF A 4 Bright A_Light1 Goto LightDone PLSF B 4 Bright A_Light1 Goto LightDone Spawn: PLAS A -1 Stop } }

