ACTOR TK2RidingGun : Weapon
{
  Weapon.Kickback 100
  scale 0.1
      	Weapon.AmmoUse1 1
	Weapon.AmmoGive1 100
	Weapon.AmmoType1 "TCTExplosiveRounds"
	  	Weapon.AmmoUse2 1
	Weapon.AmmoGive2 100
	Weapon.AmmoType2 "TCT20mmrounds"
  Inventory.PickupMessage "Riding Gun"
  Obituary  "%o found out what %k was packing."
  	Inventory.PickupSound "Turok2/Items/PickupWeapon"
		+WEAPON.MELEEWEAPON
  States
  {
  Spawn:
    TBA1 T -1
    Loop
  Ready:
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/RidingGunUp","Weapon")
    TW57 A 2 
    TW57 BC 2
    TW57 D -1 A_WeaponReady
    Goto Ready+7
  Deselect:
    TW57 C 2
    TW57 BA 2
    TW57 Y 0 A_Lower
    wait
  Select: 
    TW57 A 0 A_Raise 
    Loop  
  Fire: 
   TW01 A 0 A_Jump(128,"FireAlt")
 	TNT1 A 0 A_PlaySound ("Turok2/Weapons/RidingRocket1","Weapon")
    TW57 E 2 A_FireCustomMissile ("TK2RidingRocket")
    TW57 F 2
    TW57 G 2 
    TW57 H 2 
    TW57 IJKL 2
    TW57 M 2
    TW57 N 2
    TW57 O 2 A_refire
    TW57 P 2
	TW57 Q 2
	TW57 R 2
    Goto Ready+4
	FireAlt: 
 	TNT1 A 0 A_PlaySound ("Turok2/Weapons/RidingRocket2","Weapon")
    TW57 U 2 A_FireCustomMissile ("TK2RidingRocket")
    TW57 VVXYZ 2
	TW58 ABCDEF 2
	TW58 GHIJ 2 A_refire
    Goto Ready+4
	AltFire:
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/RidingGun","Weapon")
	TW58 K 2 BRIGHT A_FireBullets(0, 0, 1, 20, "BulletPuff")
	TW58 LM 2
	TW58 NOPQ 1
	Goto Ready+4
  }
}

ACTOR TK2RidingRocket
{   
  Speed 100
  Damage 40
  Scale 0.50
    radius 8
  height 8
  Projectile
  	  obituary "%k lit up %o like a burning christmas tree with his Riding Gun Rockets."
  +RANDOMIZE
  +FORCEXYBILLBOARD
  States
  {
  Spawn:
    TB07 A 6
    loop
DEATH:
NULL A 0
TNT1 A 0 A_PlaySound ("Turok2/Weapons/Boom")
NULL A 0 A_ALERTMONSTERS
NULL A 0 A_SPAWNITEMEX("TK2RidingRocketBoom",0,0,0,random(0,0),random(0,0),0)
STOP
}}


ACTOR TK2RidingRocketBoom
{
SCALE 1.2
obituary "%k toasted %o like a marshmallow with Riding Gun Rockets."
+NOGRAVITY
+FORCEXYBILLBOARD
+BRIGHT

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