Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. Actor Ionspray : Weapon replaces Chainsaw
  2. {
  3. Inventory.PickupMessage "You got the Ionspray"
  4. Obituary "%o Tripped over %k's Ionized Proximity Spray"
  5. Inventory.PickupSound "misc/w_pkup"
  6. Weapon.Kickback 1
  7. Weapon.AmmoType "cell"
  8. Weapon.AmmoGive 40
  9. Weapon.AmmoUse 1
  10. States
  11. {
  12. Spawn:
  13. ISPP A -1
  14. Loop
  15. Ready:
  16. ISPG A 0 A_StopSoundEx("SoundSlot7")
  17. ISPG A 1 A_WeaponReady
  18. Loop
  19. Deselect:
  20. ISPG A 0 A_StopSoundEx("SoundSlot7")
  21. ISPG A 1 A_Lower
  22. Loop
  23. Select:
  24. ISPG A 1 A_Raise
  25. Loop
  26. Fire:
  27. ISPG B 0 A_GunFlash
  28. ISPG B 0 A_PlaySoundEx("Weapons/IonFire", "SoundSlot7", 1)
  29. ISPG B 0 A_FireCustomMissile("IonBall", Random(-2, 2), 0, Random(-6, 6), Random(-4, 4))
  30. ISPG B 1 A_FireCustomMissile("IonBall", Random(-2, 2), 0, Random(-6, 6), Random(-4, 4))
  31. ISPG B 0 A_FireCustomMissile("IonBall", Random(-2, 2), 0, Random(-6, 6), Random(-4, 4))
  32. ISPG B 1 A_FireCustomMissile("IonBall", Random(-2, 2), 1, Random(-6, 6), Random(-4, 4))
  33. Hold:
  34. ISPG B 0 A_GunFlash
  35. ISPG C 0 A_FireCustomMissile("IonBall", Random(-2, 2), 0, Random(-6, 6), Random(-4, 4))
  36. ISPG C 1 A_FireCustomMissile("IonBall", Random(-2, 2), 0, Random(-6, 6), Random(-4, 4))
  37. ISPG C 0 A_FireCustomMissile("IonBall", Random(-2, 2), 0, Random(-6, 6), Random(-4, 4))
  38. ISPG C 1 A_FireCustomMissile("IonBall", Random(-2, 2), 1, Random(-6, 6), Random(-4, 4))
  39. ISPG C 0 A_ReFire
  40. ISPG C 4 A_StopSoundEx("SoundSlot7")
  41. ISPG B 3 A_PlaySoundEx("Weapons/IonCool", "SoundSlot7", 0)
  42. ISPG A 20
  43. Goto Ready
  44. Flash:
  45. TNT1 A 2 bright A_Light1
  46. TNT1 A 2 bright A_Light0
  47. Stop
  48. }
  49. }
  50.  
  51. Actor IonBall
  52. {
  53. Radius 5
  54. Height 5
  55. Speed 2
  56. Damage 2
  57. Projectile
  58. +RANDOMIZE
  59. -NOGRAVITY
  60. +HEXENBOUNCE
  61. RenderStyle Add
  62. Alpha 0.45
  63. Scale 0.35
  64. Decal RailScorchLower
  65. States
  66. {
  67. Spawn:
  68. IONB A 1 Bright
  69. Loop
  70. Death:
  71. IONB BCDEFGHIJKL 2 Bright
  72. IONB LLLLLLLLLL 50
  73. stop
  74. }
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement