ACTOR GD2RocketLauncher : Weapon
{
  Weapon.SelectionOrder 2500
  Weapon.AmmoUse 1
  Weapon.AmmoGive 2
  Weapon.AmmoType "GDMissiles"
  +WEAPON.NOAUTOFIRE
  Inventory.PickupMessage "$GOTLAUNCHER"
  Weapon.UpSound "UACElite/MisSwap"
  Tag "HEAT Missile Launcher"
  Inventory.RestrictedTo "UACEliteOfficerClass"
  States
  {
  Ready:
    GDRL A 1 A_WeaponReady
    Loop
  Deselect:
    GDRL A 1 A_Lower
	TNT1 A 0 A_Lower
	TNT1 A 0 A_Lower
    Loop
  Select:
    GDRL A 1 A_Raise
	TNT1 A 0 A_Raise
	TNT1 A 0 A_Raise
    Loop
  Fire:
    GDRL B 1 A_GunFlash
    GDRL B 1 BRIGHT A_FireCustomMissile ("GDRocket")
	GDRL C 2 
	GDRL D 2 A_SetPitch (pitch-1)
    GDRL A 10 
	GDRL A 1 A_Refire
    Goto Ready
  }
}

ACTOR GDRocket
{
  Radius 11
  Height 8
  Speed 60
  Damage 50
  Projectile
  +RANDOMIZE
  +DEHEXPLOSION
  +ROCKETTRAIL
  +FORCERADIUSDMG
  SeeSound 	 "UACElite/MisShoot"
  DeathSound "UACElite/MisExplode"
  Obituary "%o was splattered by %k's HEAT Rocket Launcher." // "%o rode %k's rocket."
  SelfObituary "%o shot too close to the demons."
  States
  {
  Spawn:
    GDRO A 1 Bright A_CustomMissile("ZOOMIES4",0,0,0,0)
    Loop
  Death:
		GDRO B 0 Bright A_SetTranslucent(1.0,1)
	    GDRO B 0 Bright A_StopSound(CHAN_BODY)
		GDRO B 3 Bright A_EXPLODE (150,150)
		GDRO C 3 Bright
		GDRO C 3 Bright A_SetTranslucent(0.75,1)
		GDRO C 3 Bright A_SetTranslucent(0.5,1)
    Stop
  }
}

Actor GDMissiles : Ammo
{
Inventory.Amount 1
Inventory.MaxAmount 25
Ammo.BackpackAmount 1
Ammo.BackpackMaxAmount 50
}