// (c) BZ2CP unit "Hedoux"
// Created by Slaor and Pastell
// Vehicle V/O's - Zeeder  
// Voice effects, vehicle sounds - Chipotle

[GameObjectClass]
baseName = "assaulttank"
geometryName = "evatank00.xsi"
CockpitName = "hvatank_cockpit.xsi" // cockpit – Tempest storm
classLabel = "assaulttank"
scrapValue = 30
scrapCost = 65
customCost = 70
buildTime = 18.0
customTime = 20.0
maxHealth = 4200
addhealth = 5.0
maxAmmo = 3000
addAmmo = 4
unitName = "Hedoux SGS"
aiName = "AssaultTankProcess"
aiName2 = "AssaultTankProcess"
heatSignature = 0.5
imageSignature = 5.0
radarSignature = 5.0

isAssault = 1

armorClass = H
	
requireCount = 2
requireName1 = "ebarmo"
requireText1 = "Build Weapons Vat" // Weapons vat Reference removed – HM
requireName2 = "ebsbay"
requireText2 = "Build Repair Vat"

/////// weapons ///////////////////

weaponMask = 00001
weaponHard1 = "HP_CANNON_1"
weaponName1 = "gslagstab_a"
weaponAssault1 = 1
recoilName1 = "recoil_1"
laserName1 = "recoil_1"

weaponHard2 = "HP_GUN_1"
weaponName2 = "gshellgun"
weaponAssault2 = 0

weaponHard3 = "HP_GUN_2"
weaponName3 = "gshellgun"
weaponAssault3 = 0

////////////////////////////////////

turretCount = 2
turretName1 = "turret_y"
turretName2 = "turret_x"
//turretName3 = "hp_eyepoint"

[CraftClass]
rangeScan = 300.0f
periodScan = 4.0f
velocJam = 0.0f
engageRange = 225 // 210 - AI errors

braccelFactor = 0.01
velFactor = 0.4
steerFactor = 1.2
omegaFactor = 0.2
strafeFactor = 0.1

attackTask = "AssaultTankAttack"
subAttackTask = "SupportSubAttack"
subAttackClass = "ANS"

// subAttackClass uses 3 letters.
// 1st letter is either A or N.     A is include Air targets.         N is attack ground only.
// 2nd letter is either D or N.     D is to deploy before attacking.  N for regular attack.
// 3rd letter is either S or N.     S is to use Weapon Range.         N is use the Engage Range to attack. 

selectWaitMsg = "evatank01.wav"
selectAttackMsg = "evatank04.wav"
selectFollowMsg = "evatank02.wav"
selectGoMsg = "evatank11.wav"
selectOtherMsg = "evatank01.wav"

goMsg = "evatank10.wav"
attackMsg = "evatank05.wav"
followMeMsg = "evatank09.wav"
followMsg = "evatank02.wav"
repairMsg = "evatank05.wav"
reloadMsg = "evatank05.wav"
rescueMsg = "evatank06.wav"
recycleMsg = "evatank08.wav"
otherMsg = "evatank10.wav" 
holdMsg = "evatank03.wav"
user1Msg = ""    
killedMsg = "evatank07.wav"
diedMsg = ""

avoidSpeed = 5;
topSpeed = 15;

[TrackedVehicleClass]
accelThrust = 5.0

alphaSteer = 1.0
alphaTrack = 20.0

omegaSpin = 1.0
omegaTurn = 0.5

pitchPitch = 0.0
pitchThrust = 0.0

velocForward = 15.0
velocReverse = 5.0

//CENTER_SHIFT = -1.0		// -1.0 for bottom, 0.0 for center, +1.0 for top

TREAD_STATIC_FRICTION = 1.5

engineSound = "evatanken.wav"
treadSound = "evatanktr.wav"


[AssaultTankClass]
yawRate = 4.0
pitchMin = -0.4
pitchMax = 0.9


[Lod1]
geometryName = "evatankl1.xsi" ;geometry for lod1
distance = 50                 ;...distance over this many meters => switch to lod2

[Lod2]
geometryName = "evatankl2.xsi" ;geometry for lod2
distance = 135                 ;...distance over this many meters => switch to lod2
