Code: Select all
//ACTOR Masterblaster : Weapon replaces Shotgun
ACTOR Masterblaster : Weapon 20001
{
Inventory.PickupMessage "You got the Masterblaster Industrial Shotgun"
Weapon.AmmoUse1 2
Weapon.AmmoType1 "Shell"
Weapon.AmmoGive1 20
Inventory.MaxAmount 200
Inventory.PickupSound "items/wep_pkup"
Weapon.SlotNumber 3
AttackSound "weapons/ishtgn"
Scale 0.9
+NOAUTOFIRE
States
{
Ready:
SHT2 A 1 A_WeaponReady
Loop
Deselect:
SHT2 A 1 A_Lower
Loop
Select:
SHT2 A 1 A_Raise
Loop
Fire:
SHT2 A 15 Bright A_FireBullets(6, 5, 20, 2, "BulletPuff", 1)
SHT2 A 0 A_AlertMonsters
SHT2 A 0 A_Refire
Goto Ready
Flash:
SHT2 I 4 Bright A_Light1
SHT2 J 3 Bright A_Light1
Goto LightDone
Spawn:
INDS A -1
Stop
}
}