Actor BattleCar
  {
  Health 500
  Radius 64
  Height 64
  Mass 14000
  Speed 1
  Scale 0.88
  PainChance 0
  MaxStepHeight 15
  MaxDropOffHeight 15
  Species "ARAC"
  Translation "112:127=80:111"
  +DONTHARMSPECIES
  +BOSSDEATH
  +NODROPOFF
  MinMissileChance 25
  BloodType "MetalSurface"
  Monster
  Obituary "%o became the roadfrag for the Battle Car, driven by some crazy goons" 
  Seesound ""
  Activesound ""
  PainSound ""
  Tag "Battle Car"
  DeathSound "BIGBOOM"
  +NOICEDEATH
  +NOBLOODDECALS
  -NOGRAVITY
       States
	        {
			Spawn: 
			   BCAR A 3 A_Look
			  Loop
			 See:  
			   TNT1 A 0 //A_PlaySound("juggernaut/engine")
			   TNT1 A 0 A_Jump (175, 2)
			   TNT1 A 0 A_PlaySound ("MUSCACC")
		       BCAR A 1 A_Recoil(-1)
			   TNT1 A 0 A_PlaySound ("MUSCLOOP", 4, 1.0, true)
			   BCAR A 1 A_Chase("","MissileStand")
			   BCAR A 1 A_Recoil(-2)
			   BCAR A 1 A_Recoil(-3)
			   BCAR A 1 A_Chase("","")
			   BCAR A 1 A_Recoil(-4)
			   BCAR A 1 A_Recoil(-4)
			   BCAR A 1 A_Recoil(-4)
			   BCAR A 1 A_Chase("","")
			   BCAR A 1 A_Recoil(-3)
			   BCAR A 1 A_Recoil(-2)
			   BCAR A 1 A_Chase("","MissileStand")
			   BCAR A 1 A_Recoil(-1)
			   TNT1 A 0 A_JumpIfTargetInLos("MissileDriveBy", 15, JLOSF_DEADNOJUMP)
			  Loop
			 MissileDriveBy:
			   TNT1 A 0 A_PlaySound ("MUSCACC", CHAN_VOICE)
			   TNT1 A 0 A_PlaySound ("CHNGNU1A", 7)
			   TNT1 A 0 A_PlaySound ("MSTRFIRE", 1)
	           TNT1 A 0 A_CustomMissile ("USNHoverTracer",33,26,random (-2,2), CMF_OFFSETPITCH, random (-1,3))
			   BCAR C 1 BRIGHT A_Recoil (-2)
			   TNT1 A 0 A_GiveInventory ("ShotCounter", 1)
			   TNT1 A 0 A_JumpIfInventory ("ShotCounter", 40, "StopThat")
			   TNT1 A 0 A_Chase("","")
			   TNT1 A 0 A_CposRefire
			  Loop
			 MissileStand:
			   TNT1 A 0 A_PlaySound ("MUSCSTND", CHAN_VOICE, 1.0, true)
			   BCAR A 1 A_Recoil (1)
			   BCAR A 16 A_FaceTarget
			   TNT1 A 0 A_JumpIfInventory ("ArtCoolDown", 1, 2)
			   //TNT1 A 0 A_Jump (200, "UltimateStand")
			   TNT1 A 0 A_JumpIfTargetInLos ("LongRange", 0, JLOSF_CLOSENOJUMP | JLOSF_DEADNOJUMP, 0, 1000)
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9, random (-2,2))
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9, random (-2,2))
			   BCAR D 3 BRIGHT A_FaceTarget
			   BCAR A 6 A_FaceTarget
			   TNT1 A 0 A_Recoil (2)
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9, random (-2,2))
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9, random (-2,2))
			   BCAR D 3 BRIGHT A_FaceTarget
			   BCAR A 6 A_FaceTarget
			   TNT1 A 0 A_Recoil (2)
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9, random (-2,2))
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9, random (-2,2))
			   BCAR D 3 BRIGHT A_FaceTarget
			   BCAR A 6 A_FaceTarget
			   TNT1 A 0 A_Recoil (2)
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9, random (-2,2))
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9, random (-2,2))
			   BCAR D 3 BRIGHT A_FaceTarget
			   BCAR A 6 A_FaceTarget
			   TNT1 A 0 A_Recoil (2)
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9, random (-2,2))
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9, random (-2,2))
			   BCAR D 3 BRIGHT A_FaceTarget
			   BCAR A 6 A_FaceTarget
			   TNT1 A 0 A_STOPSOUND (CHAN_VOICE)
			  Goto See
			 LongRange:
			   BCAR A 8 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9)
			   BCAR E 3 BRIGHT A_FaceTarget
			   BCAR A 4 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9)
			   BCAR F 3 BRIGHT A_FaceTarget
			   BCAR A 8 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9)
			   BCAR E 3 BRIGHT A_FaceTarget
			   BCAR A 4 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9)
			   BCAR F 3 BRIGHT A_FaceTarget
			   BCAR A 8 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9)
			   BCAR E 3 BRIGHT A_FaceTarget
			   BCAR A 4 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9)
			   BCAR F 3 BRIGHT A_FaceTarget
			   BCAR A 8 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9)
			   BCAR E 3 BRIGHT A_FaceTarget
			   BCAR A 4 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9)
			   BCAR F 3 BRIGHT A_FaceTarget
			   BCAR A 8 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, 9)
			   BCAR E 3 BRIGHT A_FaceTarget
			   BCAR A 4 A_FaceTarget
			   TNT1 A 0 A_PlaySound ("LJGMG", Chan_Weapon)
			   TNT1 A 0 A_CustomMissile ("FastACTracer", 52, -9)
			   BCAR F 3 BRIGHT A_FaceTarget
			   BCAR A 4 A_FaceTarget
			   TNT1 A 0 A_STOPSOUND (CHAN_VOICE)
			  Goto See
			 StopThat:
			   TNT1 A 0 A_PlaySound ("MUSCSTND", CHAN_VOICE, 1.0, true)
			   TNT1 A 0 A_TakeInventory ("Shotcounter", 40)
			   TNT1 A 0 A_StopSound (7)
			   TNT1 A 0 A_StopSound (CHAN_WEAPON)
			   BCAR A 14 A_Playsound ("CHNGND1A")
			   TNT1 A 0 A_STOPSOUND (CHAN_VOICE)
			  Goto See 
			 Death:
			   TNT1 A 0 A_StopSound (6)
			   TNT1 A 0 A_StopSound (7)
			   TNT1 A 0 A_StopSound (CHAN_WEAPON)
			   TNT1 A 0 A_StopSound (4)
			   TNT1 A 0 A_STOPSOUND (CHAN_VOICE)
 			   TNT1 A 0 A_SpawnItemEx ("BigTinCanExplosion", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
			   TNT1 A 0 A_SpawnItemEx ("VgavnonahCore", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
		       TNT1 AAAA 0 A_CustomMissile ("CrapMetal", random (-4,4), random (-4,4), random (-360,360), CMF_OffSetPitch | CMF_AIMDIRECTION, random (30,90)) 
			   TNT1 A 1 A_NoBlocking
			   TNT1 A 0 A_SpawnItemEx ("TinCanExplosion", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
			   TNT1 A 1 A_Scream
			   TNT1 A 0 A_SpawnItemEx ("TinCanExplosion", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
			   TNT1 A 4 A_SpawnItemEx ("TinCanExplosion", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
			   TNT1 A 4 A_SpawnItemEx ("LittleTinCanExplosion", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
			   TNT1 A 6
			  Stop 
			}


  }
  
  
  
  
			