Advertisement
Chronos_Ouroboros

Code

Mar 31st, 2015
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. // Based on Zombie Torrent's casings code (I don't know who made the code for those casings)
  2.  
  3. Actor S7_CasingSpawnerBase {
  4. Speed 20
  5. Projectile
  6. +NoClip +ClientsideOnly
  7. }
  8.  
  9. Actor S7_CasingBase {
  10. Speed 6
  11. +DoomBounce -NoGravity +WindThrust +ClientsideOnly
  12. +MoveWithSector +Missile +NoBlockmap -DropOff
  13. +NoTeleport +ForceXYBillboard +NotDMatch +Ghost
  14. }
  15.  
  16. // Shotgun Casing
  17. Actor S7_ShellCasingSpawn : S7_CasingSpawnerBase {
  18. States {
  19. Spawn:
  20. TNT1 A 0
  21. TNT1 A 0 A_CustomMissile ("S7_ShotgunCasing", 0, 0, random (-80, -100), 2, random (-40, -60))
  22. Stop
  23. }
  24. }
  25.  
  26. Actor S7_ShotgunCasing : S7_CasingBase {
  27. Height 12
  28. Radius 9
  29. SeeSound "Weapons/Shell"
  30. States {
  31. Spawn:
  32. TNT1 A 0
  33. CAS1 ABCDEFGH 2 A_SpawnItem ("S7_ShotSmokeTrail")
  34. Loop
  35. Death:
  36. CAS1 A 0 A_Jump (256, "Rest1", "Rest2", "Rest3", "Rest4", "Rest5", "Rest6", "Rest7", "Rest8")
  37. Goto Rest1
  38. Rest1:
  39. CAS1 A 1000
  40. Goto Fade
  41. Rest2:
  42. CAS1 B 1000
  43. Goto Fade
  44. Rest3:
  45. CAS1 C 1000
  46. Goto Fade
  47. Rest4:
  48. CAS1 D 1000
  49. Goto Fade
  50. Rest5:
  51. CAS1 E 1000
  52. Goto Fade
  53. Rest6:
  54. CAS1 F 1000
  55. Goto Fade
  56. Rest7:
  57. CAS1 G 1000
  58. Goto Fade
  59. Rest8:
  60. CAS1 H 1000
  61. Goto Fade
  62. Fade:
  63. "----" A 3 A_FadeOut (0.03)
  64. Loop
  65. }
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement