#at6.ini
# Physics and mechanical properties

[Type]
icon = AT6
name = AT6-T
fullName = AT6-TEXAN
id = 1954002406906809452

[modifyer]
gravity = 0.89
pitch = 1

[AirfoilWing]
al =  -20.0,   -16.0,  -12.0,  -8.0,   -4.0,   0,     4.0,   8.0,   12.0,  18.0
cll = -0.611,  -0.868, -0.868, -0.636, -0.311, 0.071, 0.411, 0.736, 0.968, 0.768
ad =  0.0,    4.0,    8.0,     12.0,    18.0
cdl = 0.004, 0.007, 0.016, 0.038, 0.08

[AirfoilTail]
al =  -16.0,  -12.0,  -8.0,   -4.0,   0,     4.0,   8.0,   12.0,  16
cll = -0.611, -0.868, -0.636, -0.311, 0,   0.311, 0.636, 0.868, 0.611
ad =  0.0, 4.0, 8.0, 12.0, 16.0, 26
cdl = 0.0018,0.0025,0.0041,0.0211,0.0611,0.2

[wingOutboardPort]
name = wingOutboardPort
mass = 2.44
designPos = -2.43, -0.29, 0
dimension = 1.56, 0.12, 1.1
incidence = 2.5
dihedral = 3.0
area = 49.7
flap = 0
flapLiftShift = 0.45
flapDragShift = 0.15
flapCompressionStart = 350
flapCompressionEnd = 550
airFoil = AirfoilWing

[wingInboardPort]
name = wingInboardPort
mass = 4.44
designPos = -1.06, -0.37, 0.23
dimension = 1.33, 0.22, 1.66 
incidence = 2.5
dihedral = 1.0
area = 62.6
flap = 0
flapLiftShift = 2.3
flapDragShift = 0.35
airFoil = AirfoilWing

[wingInboardStarboard]
name = wingInboardStarboard
mass = 4.44
designPos = 1.06, -0.37, 0.23
dimension = 1.33, 0.22, 1.66 
incidence = 2.5
dihedral = -1.0
area = 62.6
flap = 0
flapLiftShift = 2.3
flapDragShift = 0.35
airFoil = AirfoilWing

[wingOutboardStarboard]
name = wingOutboardStarboard
mass = 2.44
designPos = 2.43, -0.29, 0
dimension = 1.56, 0.12, 1.1
incidence = 2.5
dihedral = -3.0
area = 49.7
flap = 0
flapLiftShift = 0.45
flapDragShift = 0.15
flapCompressionStart = 350
flapCompressionEnd = 550
airFoil = AirfoilWing

[horizontalStabPort]
name = horizontalStabPort
mass = 0.1
designPos = -0.425077, 0.156209, 3.83641
dimension = 0.91, 0.06, 0.61
incidence = 0.1
dihedral = 0
area = 26.56
flap = 0
flapLiftShift = 1.5
flapDragShift = 0.04
flapCompressionStart = 350
flapCompressionEnd = 550
airFoil = AirfoilTail

[horizontalStabStarboard]
name = horizontalStabStarboard
mass = 0.1
designPos = 0.425077, 0.156209, 3.83641
dimension = 0.91, 0.06, 0.61
incidence = 0.1
dihedral = 0
area = 26.56
flap = 0
flapLiftShift = 1.5
flapDragShift = 0.04
flapCompressionStart = 350
flapCompressionEnd = 550
airFoil = AirfoilTail

[verticalStab]
name = verticalStab
mass = 0.1
designPos = 0.0, 0.415336, 3.94961
dimension = 0.08, 1.11, 0.89
incidence = 0
dihedral = 90
area = 34.12
flap = 0
flapLiftShift = 1.15
flapDragShift = 0.01
flapCompressionStart = 350
flapCompressionEnd = 550
airFoil = AirfoilTail

[fuselage]		
name = fuselage
mass = 24.1
designPos = 0, 0.0, -1.7
dimension = 0.54, 0.85, 3.2
area = 190

[flaps]		
speed = 0.1
minAngle = 0
maxAngle = 25

[guns]
number = 6

[gun0]
position = 1.68924, -0.314288, -0.543669
direction = -0.001, 0.04, -1
velocity = 400
dispersion = 0.04
caliber = 7.7
ammo = 50
reload = 200
tracer = 1

[gun1]
position = 1.31884, -0.336951, -0.622705
direction = -0.001, 0.04, -1
velocity = 400
dispersion = 0.04
caliber = 7.7
ammo = 33
reload = 300
tracer = 1

[gun2]
position = 0.962242, -0.359271, -0.700545
direction = -0.001, 0.04, -1
velocity = 400
dispersion = 0.04
caliber = 7.7
ammo = 20
reload = 400
tracer = 1

[gun3]
position = -1.68924, -0.314288, -0.543669
direction = 0.001, 0.04, -1
velocity = 400
dispersion = 0.04
caliber = 7.7
ammo = 50
reload = 200
tracer = 1

[gun4]
position = -1.31884, -0.336951, -0.622705
direction = 0.001, 0.04, -1
velocity = 400
dispersion = 0.04
caliber = 7.7
ammo = 33
reload = 300
tracer = 1

[gun5]
position = -0.962242, -0.359271, -0.700545
direction = 0.001, 0.04, -1
velocity = 400
dispersion = 0.04
caliber = 7.7
ammo = 20
reload = 400
tracer = 1


[hardpoints]
number = 2

[hardpoint0]
name = Port
position = -1.44, -0.38, -0.16 
allowedOrdnace = 0, 2, 3
ordnaceDescription = Empty, Bomb, Rockets
ordnaceValue = 0, 350, 250
ordnaceModel = none, bomb_mid, rocket

[hardpoint1]
name = Starboard
position = 1.44, -0.38, -0.16 
allowedOrdnace = 0, 2, 3
ordnaceDescription = Empty, Drop tank, Bomb, Rockets
ordnaceValue = 0, 350, 250
ordnaceModel = none, bomb_mid, rocket

[sensors]
portWingtipPosition = -3.16, -0.1, 0
starboardWingtipPosition = 3.16, -0.1, 0
nosePosition = 0, 0, -2.2
topPosition = 0, 0.5, 0

[gear]	
portGearPosition = -1.0, -1.1, -1.8
starboardGearPosition = 1.0, -1.1, -1.8
tailGearPosition = 0, -0.41, 3.8
maxRollingSpeed = 150
maxMovementSpeed = 200
maxAirSpeed = 250
rollFriction = 0.25

[pgear]
upAngle = 80
downAngle = 0
speed = 0.16

[sgear]
upAngle = -80
downAngle = 0
speed = 0.2

[tgear]
upAngle = -80
downAngle = 0
speed = 0

[pilot]
position = 0, 0.48, 0.11

[AutoPilot]
stallAoaMin = -7
stallAoaEnergyMax = 3
stallAoaAnglesMax = 6
aimFactor = 1.2
emgPitch = 35
takeoffPitch = 35
safeAltDist = 200
manouverSpeed = 100

[AutoPilotYaw]
kP = 0.005
kI = 0.0

[AutoPilotPitch]
kP = 0.02
kI = 0.0

[AutoPilotRoll]
i = true
kP = 0.04
kI = 0.0

[AutoPilotSpeed]
kP = 0.1
kI = 0.01
uMin = -1.0
uMax = 1.0

[engine]
type = 3
injection = 1
maxThrustForce = 395
tourqueFactor = 0.0
engineTemperatureResponse = 0.9
thrustPosition = 0, 0, -1.7
exhaustPosition1 = 0.45, -0.14, 0
exhaustPosition2 = -0.45, -0.14, 0
superchargerAltitudes = 0, 300, 800, 1600, 2200
superchargerFactors =   1.2, 1.4, 1.5, 1.35, 0.8

[misc]
airstartSpeed = 120
vaporTrailLoad = 4

[OpponentGraphics]
modelExternal.keyLod1 = at6t_ext_lod2
modelExternal.keyLod2 = at6t_ext_lod2
modelExternal.keyLod3 = at6t_ext_lod3
modelExternal.keyLod4 = at6t_ext_lod4
modelExternal.keyDecal = at6h_ext_lod1_decal

modelPilot.keyLod1 = pilot01
modelPilot.position = 0, 0.48, 0.11

modelProp.keyLod1 = at6t_prop
modelProp.relativePosition = 0, 0, -1.7
modelDisc.keyLod1 = at6_disc
modelDisc.relativePosition = 0, 0, -1.61

modelPortGear.keyLod1 = at6t_pgear
modelPortGear.keyLod2 = at6t_pgear
modelPortGear.relativePosition = -0.584899, -0.436462, -0.411343
modelPortGear.rotationVertex1 = -0.584899, -0.436462, -0.411343
modelPortGear.rotationVertex2 = -0.584899, -0.436462, -0.373223

modelStarboardGear.keyLod1 = at6t_sgear
modelStarboardGear.keyLod2 = at6t_sgear
modelStarboardGear.relativePosition = 0.554155, -0.436462, -0.374752
modelStarboardGear.rotationVertex2 = 0.554155, -0.436462, -0.374752
modelStarboardGear.rotationVertex1 = 0.554155, -0.436462, -0.412872

modelTailGear.keyLod1 = at6t_tgear
modelTailGear.relativePosition = 0.00830674, -0.216774, 2.8698
modelTailGear.rotationVertex1 =  0.00830674, -0.216774, 2.8698
modelTailGear.rotationVertex2 = 0.0287693, -0.216774, 2.8698


[PlayerGraphics]
modelExternal.keyLod1 = at6t_ext_lod1
modelExternal.keyLod2 = at6t_ext_lod2
modelExternal.keyLod3 = at6t_ext_lod3
modelExternal.keyLod4 = at6t_ext_lod4
modelExternal.keyDecal = at6h_ext_lod1_decal
modelShadow.keyLod1 = at_shadow

modelPilot.keyLod1 = pilot01
modelPilot.position = 0, 0.48, 0.11

modelInternal.keyLod1 = at6t_int
modelInternal.keyDecal = at6h_ext_lod1_decal

modelGlass.keyLod1 = at6h_ext_lod1_glass

modelProp.keyLod1 = at6t_prop
modelProp.relativePosition = 0, 0, -1.7
modelDisc.keyLod1 = at6_disc
modelDisc.relativePosition = 0, 0, -1.61

modelGunsight.keyLod1 = gunsight
modelGunsight.position = 0, 0.48, -0.16
modelGunsight.scale = 0.4, 0.4, 0.4

modelElevator.keyLod1 = at6t_elevator
modelElevator.relativePosition = -0.645276, 0.224859, 2.75516
modelElevator.rotationAxis = 1, 0, 0

modelRudder.keyLod1 = at6t_rudder
modelRudder.keyDecal = at6h_rudder_decal
modelRudder.relativePosition = 0.0191286, -0.155916, 3.07939
modelRudder.rotationAxis = 0, 1, 0

modelPortAileron.keyLod1 = at6t_paileron
modelPortAileron.relativePosition = -3.26822, -0.211631, 0.31652
modelPortAileron.rotationVertex1 = -3.26822, -0.211631, 0.31652
modelPortAileron.rotationVertex2 = -1.96242, -0.274309, 0.31652

modelStarboardAileron.keyLod1 = at6t_saileron
modelStarboardAileron.relativePosition = 1.96444, -0.274393, 0.316519
modelStarboardAileron.rotationVertex1 = 1.96444, -0.274393, 0.316519
modelStarboardAileron.rotationVertex2 = 3.27024, -0.211711, 0.316519

modelPortFlap.keyLod1 = at6t_pflap
modelPortFlap.relativePosition = -0.831212, -0.406532, 0.295142
modelPortFlap.rotationVertex1 = -1.92039, -0.334109, 0.295142
modelPortFlap.rotationVertex2 = -0.831212, -0.406532, 0.295142

modelStarboardFlap.keyLod1 = at6t_sflap
modelStarboardFlap.relativePosition = 0.839314, -0.409913, 0.295143
modelStarboardFlap.rotationVertex1 =  0.839314, -0.409913, 0.295143
modelStarboardFlap.rotationVertex2 = 1.92862, -0.339452, 0.295143

modelPortGear.keyLod1 = at6t_pgear
modelPortGear.relativePosition = -0.584899, -0.436462, -0.411343
modelPortGear.rotationVertex1 = -0.584899, -0.436462, -0.411343
modelPortGear.rotationVertex2 = -0.584899, -0.436462, -0.373223

modelStarboardGear.keyLod1 = at6t_sgear
modelStarboardGear.relativePosition = 0.554155, -0.436462, -0.374752
modelStarboardGear.rotationVertex2 = 0.554155, -0.436462, -0.374752
modelStarboardGear.rotationVertex1 = 0.554155, -0.436462, -0.412872

modelTailGear.keyLod1 = at6t_tgear
modelTailGear.relativePosition = 0.00830674, -0.216774, 2.8698
modelTailGear.rotationVertex1 =  0.00830674, -0.216774, 2.8698
modelTailGear.rotationVertex2 = 0.0287693, -0.216774, 2.8698























