Advertisement
CaptainManiac999

SOmething fishy in these reloads...

Apr 15th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.93 KB | None | 0 0
  1. actor RocketLauncher2 :RocketLauncher Replaces RocketLauncher
  2. {
  3. Inventory.PickupSound "You got the military Rocket Launcher!"
  4. Weapon.AmmoGive 30
  5. Weapon.AMmoUse1 0
  6. Weapon.AmmoUse2 0
  7. Weapon.AmmoType2 "Rocketammo"
  8. States
  9. {
  10. Ready:
  11.  MISG A 1 A_WeaponReady(WRF_ALLOWRELOAD)
  12.  loop
  13. FIre:
  14.  MISG B 0
  15.  MISG B 0 A_TakeInventory("HasAlreadyReloaded")
  16.  MISG B 0 A_GiveInventory("RLauncherSHots",1)
  17.  MISG B 0 A_ChangeFlag("NoAutoFire",1)
  18.  MISG B 8 A_GunFlash
  19.  MISG B 12 A_FireMissile
  20.  MISG B 0 A_ReFire
  21.  MISG B 0 A_JumpIfInventory("RLaucherShots",0,"Reload")
  22.  goto Ready
  23. AltFire:
  24.  MISG B 0
  25.  MISG B 0 A_TakeInventory("HasAlreadyReloaded")
  26.  MISG B 0 A_JumpIfInventory("RLauncherShots",1,"AltFire2")
  27.  MISG B 0 A_GiveInventory("RLauncherShots",1)
  28.  MISG B 0 A_ChangeFlag("NoAutoFire",0)
  29.  MISG B 4 A_GunFlash
  30.  MISG B 6 A_FireMissile
  31.  MISG B 0 A_Refire
  32.  goto ready
  33. AltFire2:
  34.  MISG B 0
  35.  MISG B 0 A_JumpIfInventory("RLauncherShots",2,"AltFire3")
  36.  MISG B 0 A_GiveInventory("RLauncherShots",1)
  37.  MISG B 0 A_ChangeFlag("NoAutoFire",0)
  38.  MISG B 4 A_GunFlash
  39.  MISG B 6 A_FireMissile
  40.  MISG B 0 A_Refire("AltFIre")
  41.  goto ready
  42. AltFire3:
  43.  MISG B 0
  44.  MISG B 0 A_ChangeFlag("NoAutoFire",0)
  45.  MISG B 4 A_GunFlash
  46.  MISG B 6 A_FireMissile
  47.  MISG B 0 A_Refire("AltFire")
  48.  MISG B 0 A_JumpIfInventory("RLauncherShots",2,"Reload")
  49.  goto ready
  50. Reload:
  51.  MISG B 0 A_JumpIfInventory("HasAlreadyReloaded",1,"Ready")
  52.  MISG B 0 A_JumpIfInventory("RLauncherSHots",1,"ReloadOneSHot")
  53.  MISG B 0 A_JumpIfInventory("RLauncherSHots",2,"Reload2SHots")
  54.  MISG B 0 A_JumpIfInventory("RLauncherSHots",3,"Reload3Shots")
  55.  MISG B 0 A_JUmpIfInventory("RLauncherSHots",4,"Reload4SHots")
  56.  MISG B 4
  57.  MISG B 4 offset(0,10)
  58.  MISG B 4 offset(0,20)
  59.  MISG B 4 Offset(0,30) A_ClearRefire
  60.  MISG B 4 offset(0,30) A_TakeInventory("RLauncherSHots")
  61.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  62.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  63.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  64.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  65.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  66.  MISG B 4 offset(0,20) A_GiveInventory("HasAlreadyReloaded")
  67.  MISG B 4 offset(0,10)
  68.  MISG B 4
  69.  goto ready
  70.  ReloadOneShot:
  71.  MISG B 0 A_JumpIfInventory("HasAlreadyReloaded",1,"Ready")
  72.  MISG B 4
  73.  MISG B 4 offset(0,10)
  74.  MISG B 4 offset(0,20)
  75.  MISG B 4 Offset(0,30) A_ClearRefire
  76.  MISG B 4 offset(0,30) A_TakeInventory("RLauncherSHots")
  77.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  78.  MISG B 4 offset(0,20) A_GiveInventory("HasAlreadyReloaded")
  79.  MISG B 4 offset(0,10)
  80.  MISG B 4
  81.  goto Ready
  82.  Reload2Shots:
  83.  MISG B 0 A_JumpIfInventory("HasAlreadyReloaded",1,"Ready")
  84.  MISG B 4
  85.  MISG B 4 offset(0,10)
  86.  MISG B 4 offset(0,20)
  87.  MISG B 4 Offset(0,30) A_ClearRefire
  88.  MISG B 4 offset(0,30) A_TakeInventory("RLauncherSHots")
  89.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  90.  MISG B 4 offset(0,30) A_TakeInventory("RocketAmmo",1)
  91.  MISG B 4 offset(0,20) A_GiveInventory("HasAlreadyReloaded")
  92.  MISG B 4 offset(0,10)
  93.  MISG B 4
  94.  goto Ready
  95.  Reload3SHots:
  96.  MISG B 4
  97.  MISG B 4 offset(0,10)
  98.  MISG B 4 offset(0,20)
  99.  MISG B 4 Offset(0,30) A_ClearRefire
  100.  MISG B 4 offset(0,30) A_TakeInventory("RLauncherSHots")
  101.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  102.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  103.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  104.  MISG B 4 offset(0,20) A_GiveInventory("HasAlreadyReloaded")
  105.  MISG B 4 offset(0,10)
  106.  MISG B 4
  107.  goto ready
  108.  Reload4SHots:
  109.  MISG B 4
  110.  MISG B 4 offset(0,10)
  111.  MISG B 4 offset(0,20)
  112.  MISG B 4 Offset(0,30) A_ClearRefire
  113.  MISG B 4 offset(0,30) A_TakeInventory("RLauncherSHots")
  114.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  115.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  116.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  117.  MISG B 4 offset(0,30) A_TakeInventory("ROcketAMmo",1)
  118.  MISG B 4 offset(0,20) A_GiveInventory("HasAlreadyReloaded")
  119.  MISG B 4 offset(0,10)
  120.  MISG B 4
  121.  goto ready
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement