Advertisement
Guest User

Stupid code for my dumb weapon

a guest
Jan 12th, 2014
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. Actor grappleSawLore : LoreShot
  2. {
  3. Radius 13
  4. Height 4
  5. Speed 50
  6. Damage (1) //Won't pull at zero damage.
  7. Projectile
  8. -NoBlockMap
  9. -Shootable
  10. +Reflective
  11. +NoBlood
  12. +NoIceDeath
  13. +DontGib
  14. +Painless
  15. RenderStyle Normal
  16. seesound "grappler/shoot"
  17. States
  18. {
  19. Spawn:
  20. TNT1 A -1 Bright //Stops melee attack from touching projectile on creation.
  21. TNT1 A 0 A_ChangeFlag("Shootable", 1)
  22. loop
  23. Death:
  24. TNT1 A 0 A_ChangeFlag("Shootable", 0) //Stops reflection during death animation.
  25. TNT1 A 2 Bright
  26. Stop
  27. }
  28. }
  29.  
  30. actor grappler : fastprojectile
  31. {
  32. +NOINTERACTION
  33. radius 4
  34. height 4
  35. missiletype "grapplechain"
  36. missileheight 8
  37. speed 50
  38. seesound "grappler/chain"
  39. states
  40. {
  41. Spawn:
  42. LINK A -1 bright
  43. stop
  44. }
  45. }
  46.  
  47. actor grapplechain
  48. {
  49. +NOINTERACTION
  50. radius 4
  51. height 2
  52. states
  53. {
  54. Spawn:
  55. LINK A 8 bright
  56. stop
  57. }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement