Guest User

Untitled

a guest
May 23rd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. Actor pistol : Weapon //Rename this!!!
  2. {
  3. Scale 0.75
  4. Obituary "%o was splattered by %k pistol"
  5. Radius 20
  6. Height 16
  7. AttackSound "Weapon/PistolFire"
  8. Inventory.pickupmessage "You got the Pistol"
  9. Weapon.SelectionOrder 400
  10. Weapon.SlotNumber 2
  11. Weapon.kickback 100
  12. Weapon.AmmoUse 1
  13. Weapon.AmmoGive1 8
  14. Weapon.AmmoGive2 32
  15. Weapon.AmmoType1 "9mmAmmo"
  16. Weapon.AmmoType2 "Inmagazine2"
  17. weapon.ammogive 25
  18. States
  19. {
  20. Spawn:
  21. 2PIS E -1
  22. Loop
  23. Ready:
  24. 2PIS A 2 A_WeaponReady
  25. Loop
  26. Deselect:
  27. 2PIS D 1 A_Lower
  28. Loop
  29. Select:
  30. 2PIS F 1 A_Raise
  31. Loop
  32. Fire:
  33. 2PIS A 1
  34. 2PIS B 4 bright A_FireBullets(3, 3, 1, 5, "BulletPuff")
  35. 2PIS C 4
  36. 2PIS F 4
  37. 2PIS D 4 A_ReFire
  38. Goto Ready
  39.  
  40. AltFire:
  41. 2pis f 0 A_JumpIfInventory("Inmagazine2",8,"Reloading")
  42. 2pis f 0 A_JumpIfInventory("9mmAmmo",1,1)
  43. 2pis f 0 A_TakeInventory("9mmAmm0",1)
  44. 2pis d 0 A_GiveInventory("Inmagazine2",8)
  45. 2pis d 0 A_ZoomFactor(1)
  46. 2pis d 4 A_PlaySound("weapons/hrel1")
  47. 2pis fddc 7
  48. 2pis c 4 A_PlaySound("weapons/hrel2")
  49. 2pis fddc 4
  50. 2pis c 0 A_TakeInventory("reload",1)
  51. Goto Ready
  52.  
  53. Spawn:
  54. CLIP A -1
  55. Stop
  56. }
  57. }
Add Comment
Please, Sign In to add comment