ACTOR TK2TekBow : Weapon
{
  Weapon.Kickback 100
  scale 0.1
    	Weapon.AmmoUse1 1
	Weapon.AmmoGive1 10
	Weapon.AmmoType1 "Ammo_Arrow"
	  	Weapon.AmmoUse2 1
	Weapon.AmmoGive2 10
	Weapon.AmmoType2 "Ammo_TekArrow"
  Inventory.PickupMessage "Tek Bow"
  Obituary  "%o meets %k's blade and died."
  	Inventory.PickupSound "Turok2/Items/PickupWeapon"
	Inventory.Icon "T1A5U0"
  States
  {
  Spawn:
    TBA1 O -1
    Loop
  Ready:
    TW09 A 2 
    TW09 B 2
    TW09 C 2
    TW09 DEFGHIJ 2
    TW09 J -1 A_WeaponReady
    Goto Ready+4
  Deselect:
    TW10 JK 2
	TW10 LMNOPQR 2
    TW08 P 0 A_Lower
    wait
  Select: 
    TW09 A 0 A_Raise 
    Loop  
  Fire:
    TW09 L 0 A_PlaySound("Turok2/Weapons/TekBowPull","Weapon")
    TW09 K 1 
    TW09 L 1
    TW09 MNOPQRSTUV 1
    TW09 X 2 A_Refire     
    TW09 XVUTSRQPONMLK 1 
    TW09 L 2
    Goto Ready+10
    Hold:
    TW09 X 2  
    TW09 X 2 A_Refire
    Goto Release
    Release:
	TNT1 A 0 A_FireCustomMissile ("TK2AltArrow")
	TW09 Y 2 A_PlaySound("Turok2/Weapons/TekBowFire","Weapon")
    TW09 Z 2
    TW10 A 2  
    TW10 B 2 
    TW10 C 2 A_JumpIfNoAmmo("deselect")
    TW10 D 2  
    TW10 E 2 
    TW10 F 2
    TW10 GHI 2
     Goto Ready+10
    TW10 I 2  
     Goto Ready+10
	AltFire:
    TW09 L 0 A_PlaySound("Turok2/Weapons/TekBowPull","Weapon")
    TW09 K 1 
    TW09 L 1
    TW09 MNOPQRSTUV 1
    TW09 X 2 A_Refire     
    TW09 VUTSRQPONMLK 1 
    TW09 L 2
    Goto Ready+10
    AltHold:
    TW09 X 2  
    TW09 X 2 A_Refire
    Goto AltRelease
    AltRelease:
	TNT1 A 0 A_FireCustomMissile ("TK2TekArrow")
	TW09 Y 2 A_PlaySound("Turok2/Weapons/TekBowFire","Weapon")
    TW09 Z 2
    TW10 A 2  
    TW10 B 2 
    TW10 C 2 A_JumpIfNoAmmo("deselect")
    TW10 D 2  
    TW10 E 2 
    TW10 F 2
    TW10 GHI 2
     Goto Ready+10
    TW10 I 2  
     Goto Ready+10
  }
}

ACTOR TK2AltArrow: Fastprojectile
{
  obituary "%k pinned %o to the wall."
  radius 8
  height 8
  speed 180
  damage 14
  scale 0.1
  DeathSound "Turok2/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
  states
  {
  Spawn:
    TB01 A 6
    loop
  Death:
    TB01 A 0 A_SpawnItemEx ("TK2UsedArrow",0,0,5,0,0,0,0,1,0)
    stop	
  }
}

ACTOR TK2TekArrow: Fastprojectile
{
obituary "%k pinned %o to the wall."
  radius 8
  height 8
  speed 180
  damage 7
  scale 0.1
  DeathSound "Turok2/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
  states
  {
  Spawn:
    TB01 AAAAA 6
    loop
  Death:
    TB01 L 0 A_PlaySound("Turok2/Weapons/ArrowHit","Weapon")
  TB01 L 0 A_PlaySound("Turok2/Weapons/TekArrowsound","Weapon")
  TB01 AAAAAAAA 6
     TNT1 A 0 A_SpawnItemEx("TK2TekArrowBoom",0,0,0,0,0,0,0,128,0)
	 	  NULL A 0 A_EXPLODE(150,60)
    TNT1 A 0
    TNT1 A 5 A_PlaySound("Turok2/Weapons/TekArrowboom")
    stop
	
  }
}

ACTOR TK2TekArrowBoom
{   
obituary "%o died in %k's explosion."
   Radius 2
   Height 2
   Speed 0
   PROJECTILE
   //ALPHA 0.50
   +FORCEXYBILLBOARD
   States
   {
   Spawn:
      TB14 ABCDEFGHIJKLMNO 2 bright
      stop
   }
} 