Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. //Shotgun
  2.  
  3. class SpreadBlaster : Shotgun replaces Shotgun
  4. {
  5. Default
  6. {
  7. Weapon.SlotNumber 3;
  8. Weapon.AmmoUse 2;
  9. Weapon.AmmoGive 8;
  10. Weapon.AmmoType "Shell";
  11. }
  12. States
  13. {
  14. Ready:
  15. SHTG A 1 A_WeaponReady
  16. Loop;
  17. Deselect:
  18. SHTG A 1 A_Lower;
  19. Loop;
  20. Select:
  21. SHTG A 1 A_Raise;
  22. Loop;
  23. Fire:
  24. SHTG A 3;
  25. SHTG A 7 A_FireBullets(6, 6, 2, 5);
  26. SHTG BC 5 A_PlaySound ("weapons/shotgf", CHAN_WEAPON);
  27. SHTG D 4 A_GunFlash;
  28. SHTG CB 5;
  29. SHTG A 3;
  30. SHTG A 7 A_ReFire;
  31. Goto Ready;
  32. }
  33. }
  34. }
  35. }
  36.  
  37. //Super Shotgun
  38.  
  39. class BurstBlaster : SuperShotgun replaces SuperShotgun
  40. {
  41. Default
  42. {
  43. Weapon.SlotNumber 3;
  44. Weapon.AmmoUse 2;
  45. Weapon.AmmoGive 8;
  46. Weapon.AmmoType "Shell";
  47. }
  48. States
  49. {
  50. AltFire:
  51. SHT2 A 3;
  52. SHT2 A 7 A_FireBullets(10, 10, 4, 10);
  53. SHT2 A 7 A_PlaySound ("weapons/sshotf", CHAN_WEAPON);
  54. SHT2 A 7 A_GunFlash;
  55. SHT2 B 7;
  56. SHT2 C 7 A_CheckReload;
  57. SHT2 D 7 A_OpenShotgun2;
  58. SHT2 E 7;
  59. SHT2 F 7 A_LoadShotgun2;
  60. SHT2 G 6;
  61. SHT2 H 6 A_CloseShotgun2;
  62. SHT2 A 5 A_ReFire;
  63. Goto Ready;
  64. }
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement