Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. //Shotgun
  2.  
  3. class SpreadBlaster : Shotgun replaces SShotgun
  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(4, 4, 4, 10);
  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. Flash:
  33. SHTF A 4 Bright A_Light1
  34. SHTF B 3 Bright A_Light2
  35. Goto LightDone
  36. Spawn:
  37. SHOT A -1
  38. Stop
  39. }
  40. }
  41. }
  42. }
  43.  
  44. //Super Shotgun
  45.  
  46. class BurstBlaster : SuperShotgun replaces SuperShotgun
  47. {
  48. Default
  49. {
  50. Weapon.SlotNumber 3;
  51. Weapon.AmmoUse 2;
  52. Weapon.AmmoGive 8;
  53. Weapon.AmmoType "Shell";
  54. }
  55. States
  56. {
  57. AltFire:
  58. SHT2 A 3
  59. SHT2 A 7 A_FireBullets(4, 4, 4, 10);
  60. SHT2 A 7 A_PlaySound ("weapons/sshotf", CHAN_WEAPON);
  61. SHT2 A 7 A_GunFlash;
  62. SHT2 B 7;
  63. SHT2 C 7 A_CheckReload;
  64. SHT2 D 7 A_OpenShotgun2;
  65. SHT2 E 7;
  66. SHT2 F 7 A_LoadShotgun2;
  67. SHT2 G 6;
  68. SHT2 H 6 A_CloseShotgun2;
  69. SHT2 A 5 A_ReFire;
  70. Goto Ready;
  71. }
  72. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement