#at6.ini
# Physics and mechanical properties

[Type]
icon = AT6
name = AT6-H
fullName = AT6-HARVARD
id = 6989672957148435901

[AirfoilWing]
al =  -20.0,   -16.0,  -12.0,  -8.0,   -4.0,   0,     4.0,   8.0,   12.0,  18.0,  36.0  
cll = -0.611, -0.868, -0.868, -0.636, -0.211, 0.25, 0.611, 0.836, 0.968, 0.968, 0.811
ad =  0.0, 4.0, 8.0, 12.0, 16.0
cdl = 0.004, 0.0075, 0.018, 0.04, 0.09

[AirfoilTail]
al =  -16.0,  -12.0,  -8.0,   -4.0,   0,     4.0,   8.0,   12.0,  20.0  
cll = -0.611, -0.868, -0.636, -0.311, 0.071, 0.411, 0.736, 0.968, 0.711
ad =  0.0, 4.0, 8.0, 12.0, 16.0, 24
cdl = 0.0018,0.0025,0.0041,0.0211,0.0611,0.9

[modifyer]
gravity = 0.69
pitch = 1

[wingOutboardPort]
name = wingOutboardPort
mass = 1.48
designPos = -2.54836, -0.28, 0.0287342
dimension = 1.56, 0.12, 1.1
incidence = 1.5
dihedral = 0
area = 35.37
flap = 0
flapLiftShift = 0.60
flapDragShift = 0.15
airFoil = AirfoilWing
flapCompressionStart = 222
flapCompressionEnd = 400
flutteringFactor = 0.0f

[wingInboardPort]
name = wingInboardPort
mass = 2.48
designPos = -1.07722, -0.330421, -0.0107741
dimension = 1.33, 0.22, 1.66 
incidence = 1.5
dihedral = 0
area = 35.37
flap = 0
flapLiftShift = 1.3
flapDragShift = 0.1
airFoil = AirfoilWing

[wingInboardStarboard]
name = wingInboardStarboard
mass = 2.48
designPos = 1.07722, -0.330421, -0.0107741
dimension = 1.33, 0.22, 1.66 
incidence = 1.5
dihedral = 0
area = 35.37
flap = 0
flapLiftShift = 1.3
flapDragShift = 0.1
airFoil = AirfoilWing

[wingOutboardStarboard]
name = wingOutboardStarboard
mass = 1.48
designPos = 2.54836, -0.28, 0.0287342
dimension = 1.56, 0.12, 1.1
incidence = 1.5
dihedral = 0
area = 35.37
flap = 0
flapLiftShift = 0.60
flapDragShift = 0.15
airFoil = AirfoilWing
flapCompressionStart = 222
flapCompressionEnd = 400
flutteringFactor = 0.0f

[horizontalStabPort]
name = horizontalStabPort
mass = 0.54
designPos = -0.508945, 0.200255, 2.61653
dimension = 0.91, 0.06, 0.61
incidence = -0.5
dihedral = 0
area = 33.48
flap = 0
flapLiftShift = 2.2
flapDragShift = 0.04
airFoil = AirfoilTail
flapCompressionStart = 222
flapCompressionEnd = 300
flutteringFactor = 0.0f

[horizontalStabStarboard]
name = horizontalStabStarboard
mass = 0.54
designPos = 0.508945, 0.200255, 2.61653
dimension = 0.91, 0.06, 0.61
incidence = -0.5
dihedral = 0
area = 33.48
flap = 0
flapLiftShift = 2.2
flapDragShift = 0.04
airFoil = AirfoilTail
flapCompressionStart = 222
flapCompressionEnd = 300
flutteringFactor = 0.0f

[verticalStab]
name = verticalStab
mass = 0.54
designPos = 0.0, 0.50026, 2.93407
dimension = 0.08, 1.11, 0.89
incidence = 0
dihedral = 90
area = 33.48
flap = 0
flapLiftShift = 1.8
flapDragShift = 0.01
airFoil = AirfoilTail
flapCompressionStart = 222
flapCompressionEnd = 400
flutteringFactor = 0.0f

[fuselage]		
name = fuselage
mass = 29
designPos = 0, 0.0, -1.7
dimension = 0.54, 0.85, 5.7
area = 200

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


[guns]
number = 4

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

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

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

[gun3]
position = 1.31884, -0.336951, -0.622705
direction = -0.001, 0.04, -1
velocity = 400
dispersion = 0.03
caliber = 7.7
ammo = 20
reload = 400
tracer = 1

[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.15

[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 = 290
tourqueFactor = 0.0
engineTemperatureResponse = 0
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

[OpponentGraphics]
modelExternal.keyLod1 = at6h_ext_lod2
modelExternal.keyLod2 = at6h_ext_lod2
modelExternal.keyLod3 = at6h_ext_lod3
modelExternal.keyLod4 = at6h_ext_lod4
modelExternal.keyDecal = at6h_ext_lod1_decal

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

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


[PlayerGraphics]
modelExternal.keyLod1 = at6h_ext_lod1
modelExternal.keyLod2 = at6h_ext_lod2
modelExternal.keyLod3 = at6h_ext_lod3
modelExternal.keyLod4 = at6h_ext_lod4
modelExternal.keyDecal = at6h_ext_lod1_decal
modelShadow.keyLod1 = at_shadow

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

modelInternal.keyLod1 = at6h_int
modelInternal.keyDecal = at6h_ext_lod1_decal

modelGlass.keyLod1 = at6h_ext_lod1_glass

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

modelGunsight.keyLod1 = gunsight
modelGunsight.position = 0, 0.49, -0.16
modelGunsight.scale = 0.6, 0.6, 0.6

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

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

modelPortAileron.keyLod1 = at6h_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 = at6h_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 = at6h_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 = at6h_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 = at6h_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 = at6h_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 = at6h_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























