Guest User

Untitled

a guest
May 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. actor SPAS-12 : Weapon
  2. {
  3. Weapon.SelectionOrder 1250
  4. Weapon.AmmoUse 1
  5. Weapon.AmmoGive 8
  6. Weapon.AmmoType "Shell"
  7. Inventory.PickupMessage "You got the Franchi SPAS-12!"
  8. Obituary "%o got shelled by %k's SPAS."
  9. attacksound "weapons/spasshot"
  10. scale 0.5
  11. decal "bulletchip"
  12. States
  13. {
  14. Ready:
  15. SPAG A 1 A_WeaponReady
  16. Loop
  17. Deselect:
  18. SPAG A 1 A_Lower
  19. Loop
  20. Select:
  21. SPAG A 1 A_Raise
  22. Loop
  23. Fire:
  24. SPAG A 0 A_JumpIfInventory("ShotAmmount",7,"Fire")
  25. SPAG A 0 A_GunFlash
  26. SPAG A 4 A_FireBullets (5.6, 5.6, 10, 6, "BulletPuff")
  27. SPAG BCDCB 2
  28. SPAG A 0 A_GiveInventory("ShotAmmount",1)
  29. SPAG A 1 A_ReFire
  30. Goto Ready
  31. Flash:
  32. SPAF A 4 Bright A_Light2
  33. Goto LightDone
  34. Spawn:
  35. SPAS A -1
  36. Stop
  37. }
  38. }
  39.  
  40. ACTOR ShotAmmount : Ammo
  41. {
  42. Inventory.MaxAmount 8
  43. Ammo.BackpackAmount 0
  44. Ammo.BackpackMaxAmount 8
  45. }
Add Comment
Please, Sign In to add comment