<
 
BD_PlasmaRifle
: Plasmarifle
replaces Plasmarifle
 

File

Properties

attacksound"weapons/plasma/railgun"
decalPlasmaRailSplat
inventory.pickupsound"pickups/plasmarifle"
weapon.ammogive20
weapon.ammotype2"Cell"
weapon.ammouse220
weapon.kickback0
weapon.selectionorder10
weapon.slotnumber6

States

Select: TNT1 A 0 A_JumpIf(GetCVAR("bdoom_weapons")==0,2) TNT1 A 0 A_PlaySound("weapons/plasma/draw") TNT1 AAAAAAAA 0 A_Raise PLGS ABCDEF 1 A_WeaponReady(WRF_NOFIRE) goto ready Deselect: TNT1 A 0 A_JumpIf(GetCVAR("bdoom_weapons")==1,"Deselect.Enhanced") PLGG A 1 A_lower loop Ready: TNT1 A 0 A_JumpIf(GetCVAR("bdoom_weapons")==1,2) PLGG A 1 A_WeaponReady(WRF_NOSECONDARY) loop PLGG A 1 A_WeaponReady loop fire: TNT1 A 0 TNT1 A 0 A_GunFlash fire1: PLGF A 3 bright A_Firecustommissile("BD_Plasmaball",0,1) TNT1 A 0 A_refire("fire2") goto fire3+1 fire2: PLGF B 3 bright A_Firecustommissile("BD_Plasmaball",0,1) TNT1 A 0 A_refire("fire3") goto fire3+1 fire3: PLGF C 3 bright A_Firecustommissile("BD_Plasmaball",0,1) TNT1 A 0 A_refire("fire1") PLGC BCD 1 TNT1 A 0 A_JumpIf(GetCVAR("bdoom_weapons")==0,2) TNT1 A 0 A_PlaySound("weapons/plasma/cool") PLGC EEEEEEEEEEEEE 1 A_SpawnItemEx("WeaponSmoke",cos(pitch)*25,random(-8,-16),sin(-pitch)*25+random(32,40), 0,0,1,0) PLGC DCBA 1 goto ready Flash: TNT1 A 3 A_light2 TNT1 A 3 A_light1 goto lightdone Deselect.Enhanced: PLGG A 1 A_lower TNT1 A 0 A_lower loop AltFire: TNT1 A 0 PLGG A 6 A_PlaySound("weapons/plasma/charge") PLGF AB 4 bright PLGF C 5 bright A_RailAttack(25*random(10,25),0,1,none,blue,RGF_NOPIERCING,2,"PlasmaRailPuff",0,0,0,0,0,0,"PlasmaRailBall") PLGC BCD 1 A_SpawnItemEx("WeaponSmoke",cos(pitch)*25,random(0,-6),sin(-pitch)*25+random(24,36), 0,0,1,0) TNT1 A 0 A_Playsound("weapons/plasma/cool") PLGC EEEEEEEEEEEEEEE 1 A_SpawnItemEx("WeaponSmoke",cos(pitch)*25,random(-8,-16),sin(-pitch)*25+random(32,40), 0,0,1,0) PLGC DDCCBBAA 1 A_SpawnItemEx("WeaponSmoke",cos(pitch)*25,random(0,-10),sin(-pitch)*25+random(24,36), 0,0,1,0) PLGG AAA 1 A_SpawnItemEx("WeaponSmoke",cos(pitch)*25,random(3,-3),sin(-pitch)*25+random(24,36), 0,0,1,0) goto ready

Class Hierarchy

Classes defined in \WEAPONS\BD_PLAS.txt