Advertisement
Afrit

bark

Mar 3rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Actor GlorifiedSpawnProtectionItem : CustomInventory
  2. {
  3. +Inventory.AutoActivate
  4. States
  5. {
  6. Spawn:
  7. TNT1 A 0
  8. TNT1 A 0 A_FireCustomMissile("GlorifiedSpawnProtectionCluster",0,0,0)
  9. TNT1 A 1
  10. Stop
  11. }
  12. }
  13.  
  14. Actor GlorifiedSpawnProtectionCluster
  15. {
  16. +NoDamageThrust
  17. +ForceRadiusDMG
  18. DontHurtShooter
  19. +ThruActors
  20. Height 1
  21. Radius 1
  22. Speed 0.25
  23. var int repeat;
  24. States
  25. {
  26. Spawn:
  27. TNT1 A 1
  28. SLoop:
  29. TNT1 A 0
  30. TNT1 A 0 A_CustomMissile("GlorifiedSpawnProtectionShot",0,0,repeat*10,2)
  31. TNT1 A 0 A_SetUserVar("Repeat",repeat+1)
  32. TNT1 A 0 A_JumpIf(repeat>8,1)
  33. Loop
  34. TNT1 A 0 A_Explode(50,300,0,0,300)
  35. Stop
  36. }
  37. }
  38.  
  39. Actor GlorifiedSpawnProtectionShot : GlorifiedSpawnProtectionCluster
  40. {
  41. Speed 76
  42. States
  43. {
  44. Spawn:
  45. TNT1 AAA 1 A_Explode(30,300,0,0,300)
  46. Stop
  47. }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement