Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACTOR rifle : Weapon
- {
- Inventory.PickupMessage "You got the rifle!"
- Weapon.AmmoUse 1
- Weapon.AmmoGive 2
- Weapon.AmmoType "Clip"
- Weapon.SlotNumber 4
- +WEAPON.NOAUTOFIRE
- States
- {
- Ready:
- SHTG A 1 A_WeaponReady
- Loop
- Select:
- SHTG A 1 A_Raise
- Loop
- Deselect:
- SHTG A 1 A_Lower
- Loop
- Fire:
- SHTF A 0 A_JumpIfInventory("Clip", 3, 1)
- GoTo Deselect
- SHTF A 1 A_GunFlash
- SHTG A 1 A_FireBullets(25, 25, 1, 20, "BulletPuff", FBF_USEAMMO|FBF_NORANDOM)
- SHTG A 1 Offset(0,32) A_PlaySound("weapons/pistol", CHAN_WEAPON)
- SHTF A 1 Offset(0,37) A_GunFlash
- SHTG A 1 A_FireBullets(30, 30, 1, 20, "BulletPuff", FBF_USEAMMO|FBF_NORANDOM)
- SHTG A 1 Offset(0,32) A_PlaySound("weapons/pistol", CHAN_WEAPON)
- SHTF A 1 Offset(0,37) A_GunFlash
- SHTG A 1 A_FireBullets(35, 35, 1, 20, "BulletPuff", FBF_USEAMMO|FBF_NORANDOM)
- SHTG A 1 Offset(0,32) A_PlaySound("weapons/pistol", CHAN_WEAPON)
- SHTF A 1 Offset(0,37) A_GunFlash
- Althold:
- SHTG A 10 Offset(0,32)
- Goto Ready
- Flash:
- SHTG A 2 BRIGHT A_Light2
- SHTG A 2 BRIGHT A_Light1
- TNT1 A 1 A_Light0
- Goto LightDone
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement