ACTOR TK2ScorpionLauncher : Weapon
{
  Weapon.Kickback 100
  scale 0.1
      Weapon.AmmoUse 0
	Weapon.AmmoGive 12
	Weapon.AmmoType "TK2AmmoMissiles"
  Tag "Scorpion Launcher"
  Inventory.PickupMessage "Scorpion Launcher"
  Obituary  "%o lost his head by %k."
  	Inventory.PickupSound "Turok2/Items/PickupWeapon"
	Inventory.Icon "TKA5J0"
  States
  {
  Spawn:
    TKQ6 P -1
    Loop
  Ready:
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/LauncherUp","Weapon")
    TK70 A 2 
    TK70 B 1
    TK70 C 2
    TK70 D 1
    TK70 E 2
    TK70 F 1
	TK70 G 2
	TK70 H 1
	TK70 I 2
	TK70 J 1
	TK70 K 2
	TK70 L 1
	TK70 M 2
	TK70 N 1 
	TK70 O 2
	TK70 P 1
	TK70 Q 2
	TK70 R 1
	TK70 S 2
    TK70 T -1 A_WeaponReady
    Goto Ready+7
  Deselect:
  	TNT1 A 0 A_PlaySound ("Turok2/Weapons/LauncherAway","Weapon")
    TK73 P 2
	TK73 Q 1
	TK73 R 2
	TK73 S 1
	TK73 T 2
	TK73 U 1
	TK73 V 2
	TK73 X 1
	TK73 Y 2
	TK73 Z 1
    TK74 A 2
	TK74 B 1
	TK74 C 2
	TK74 D 1
	TK74 E 2
	TK74 F 1
	TK74 G 2
	TK74 H 1
	TK74 I 2
    TK43 Y 0 A_Lower
    wait
  Select: 
    TK70 A 0 A_Raise 
    Loop  
  Fire: 
    NULL A 0 A_JumpIfInventory("TK2AmmoMissiles",1,1)
  goto Ready+20
 	TNT1 A 0 A_PlaySound ("Turok2/Weapons/LauncherFire","Weapon")
		TNT1 A 0 A_TakeInventory("TK2AmmoMissiles",1,TIF_NOTAKEINFINITE)
    TK70 U 2 A_FireCustomMissile ("TK2Scorpionmissile")
    TK70 VXYZ 2
    TK71 ABCDEFGHIJKLMNO 1
    TK71 P 2 A_FireCustomMissile ("TK2Scorpionmissile")
    TK71 QRSTUV 2
	TK71 XYZ 1
    TK72 ABCDEFGHIJ 1
    TK72 K 2 A_FireCustomMissile ("TK2Scorpionmissile")
	TK72 LMNOPQRSTUVXYZ 1
    TK73 ABCDEFGHIJK 2
	TK73 LMNO 2 A_REFIRE
    Goto Ready+20
  }
}

actor TK2Scorpionmissile
{
  obituary "%o was vaporized by %k's rocket."
   Radius 3
   Height 3
  speed 25
  damage 80
  scale 0.4
   PROJECTILE
   +NOGRAVITY
  +DEHEXPLOSION
  +ROCKETTRAIL
  +SEEKERMISSILE
    +FORCEXYBILLBOARD
  +Floatbob
   states
  {
  Spawn:
    //SCRM A 0 Bright A_CStaffMissileSlither
    TF07 A 0 Bright A_BishopMissileWeave 
    TF07 A 3 Bright A_Tracer2
    loop
DEATH:
NULL A 0
TNT1 A 0 A_PlaySound ("Turok2MP64/Weapons/Boom")
NULL A 0 A_ALERTMONSTERS
NULL A 0 A_SPAWNITEMEX("TK2MissileBoom",0,0,0,random(0,0),random(0,0),0)
STOP
}}

ACTOR TK2MissileBoom
{
SCALE 1.2
	  obituary "%o got caught in %k's blast zone."
+NOGRAVITY
+FORCEXYBILLBOARD
+BRIGHT

STATES
{
SPAWN:
NULL A 0
NULL A 0 A_QUAKE(2,100,1,250,"")
NULL A 0 A_EXPLODE(60,200)
1588 HIJKLMNOPQRST 2
STOP
}}

ACTOR TK2ScorpionLauncherPickup : Custominventory
{
   Scale 0.1
	Inventory.PickupSound "Turok2/Items/Pickup"
  Inventory.PickupMessage "Scorpion Launcher"
   States
   {
   Spawn:
	 TKB1 M -1
	  loop
   Pickup:
	  TNT1 A 0 A_GiveInventory("TK2ScorpionLauncher")
	  TNT1 A 0 A_PlaySound ("Turok2/Voice/ScorpionLauncher")
	  stop
   }
}