<
 
BdPlasmaGun
replaces PlasmaRifle
 

File

Flags

Properties

//$categoryWeapons
gameDoom
inventory.pickupmessage"$GOTPLASMA"
inventory.pickupsound"weapons/plasma/draw"
weapon.ammogive10
weapon.ammogive250
weapon.ammotype1"PlasmaAmmoLoaded"
weapon.ammotype2"PlasmaAmmo"
weapon.ammouse10
weapon.ammouse20
weapon.selectionorder100
weapon.slotnumber6

States

Spawn: PLAS A -1 Stop Ready: TNT1 A 0 A_PlaySound("weapons/plasma/draw") PLS9 ABC 1 ReadyLoop: PLSG A 1 A_WeaponReady(WRF_ALLOWRELOAD | WRF_ALLOWZOOM) Goto ReadyLoop Deselect: PLS9 CBA 1 TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower TNT1 A 1 Wait Fire: TNT1 A 0 A_JumpIfInventory("PlasmaAmmoLoaded", 1, 1) Goto Reload TNT1 A 0 A_PlaySound("weapons/plasma/fire", CHAN_WEAPON) TNT1 A 0 A_AlertMonsters TNT1 A 0 A_FireCustomMissile("PlasmaFlareSpawn", 0, 0, 0, 0) PLSF A 1 BRIGHT A_FireCustomMissile("PlasmaBall", 0, 1, 0, 0) TNT1 A 0 A_Takeinventory("PlasmaAmmoLoaded", 1) PLSA B 1 BRIGHT A_FireCustomMissile("PlayerQuakeSmall", 0, 0, 0, 0) PLSA C 1 BRIGHT PLSF B 1 BRIGHT TNT1 A 0 A_ReFire TNT1 A 0 A_PlaySound("weapons/plasma/cool", 0) PLSG BCD 1 PLSG EEEEEE 3 { A_FireCustomMissile("SmokeTrail",0,0,10,2); A_WeaponReady(WRF_NOPRIMARY | WRF_ALLOWZOOM); } PLSG DCB 1 TNT1 A 0 A_PlaySound("weapons/plasma/beepbeep") Goto ReadyLoop Reload: TNT1 A 0 A_ClearReFire TNT1 A 0 A_JumpIfInventory("PlasmaAmmoLoaded", 0, "ReadyLoop") TNT1 A 0 A_JumpIfInventory("PlasmaAmmo", 1, "ReloadAnimate") //No more ammo to reload TNT1 A 0 A_PlaySound("weapons/plasma/beep") PLSR A 4 A_WeaponReady(WRF_NOFIRE) TNT1 A 0 A_PlaySound("weapons/plasma/beep") PLSR A 4 A_WeaponReady(WRF_NOFIRE) TNT1 A 0 A_CheckReload Goto ReadyLoop ReloadAnimate: TNT1 A 0 A_PlaySound("weapons/plasma/ready") PLSR AB 1 TNT1 A 0 A_SpawnItemEx("EmptyCell", 17, 2, 35, 0, random(3,6), 4) PLSR CDEEEEEEEEEEEEEEEF 1 PLSR GHHIIIJJJJJJJJIKLBAAAAA 1 ReloadAmmo: TNT1 A 0 A_JumpIfInventory("PlasmaAmmoLoaded", 0, "ReadyLoop") TNT1 A 0 A_JumpIfInventory("PlasmaAmmo",1,1) Goto ReadyLoop TNT1 A 0 A_Giveinventory("PlasmaAmmoLoaded",1) TNT1 A 0 A_Takeinventory("PlasmaAmmo",1) Goto ReloadAmmo

Class Hierarchy

Classes defined in \weapons\PLASMA.txt