Advertisement
Guest User

Slash Claw

a guest
Jan 29th, 2020
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. actor SlashClawWep : BaseMM8BDMWep 10088
  2. {
  3. //$Category MM8BDM-Weapons
  4. //$Title Slash Claw
  5. Weapon.AmmoUse 1
  6. Weapon.AmmoGive 28
  7. Weapon.SlotNumber 4
  8. Inventory.Pickupmessage "$PU_SLASHCLAW"
  9. Obituary "$OB_SLASHCLAW"
  10. Tag "$TAG_SLASHCLAW"
  11. weapon.ammotype "SlashClawAmmo"
  12. inventory.icon "SCLASI"
  13. States
  14. {
  15. Spawn:
  16. WEA3 Q 1
  17. loop
  18. Ready:
  19. SCLA A 0 ACS_ExecuteAlways(998,0,69)
  20. SCLA A 1 A_WeaponReady
  21. Goto Ready+1
  22. Deselect:
  23. TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
  24. SCLA A 1 A_Lower
  25. Loop
  26. Select:
  27. TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
  28. SCLA A 1 A_Raise
  29. Loop
  30. Fire:
  31. SCLA A 0 A_JumpIfNoAmmo("NoAmmo")
  32. SCLA BC 1
  33. SCLA A 0 A_PlaySoundEx("weapon/slashclaw","Weapon")
  34. SCLA A 0 A_FireCustomMissile("SlashClaw",0,1,11,-8)
  35. SCLA DE 2
  36. SCLA F 4
  37. SCLA G 15
  38. SCLA CBA 2 A_WeaponReady
  39. Goto Ready+1
  40. NoAmmo:
  41. SCLA A 1 ACS_Execute(979,0)
  42. Goto Ready+1
  43. }
  44. }
  45.  
  46. actor SlashClaw
  47. {
  48. PROJECTILE
  49. Radius 5
  50. Height 5
  51. scale 2.5
  52. damage (0)
  53. +RIPPER
  54. +DONTBLAST
  55. damagetype "SlashClaw"
  56. Obituary "$OB_SLASHCLAW"
  57. speed 15
  58. States
  59. {
  60. Spawn:
  61. SCLA HIJKL 1 A_Explode(25,80,0)
  62. stop
  63. }
  64. }
  65.  
  66. actor SlashClawAmmo : Ammo
  67. {
  68. inventory.amount 1
  69. inventory.maxamount 28
  70. +INVENTORY.IGNORESKILL
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement