# spit5.ini 


[Type]
icon = SPIT
name = SPIT9
fullName = Spitfire IX

[modifyer]
mass = 0.9

[AirfoilWing]
al =  -20.0,   -16.0,  -12.0,  -8.0,   -4.0,   0,     4.0,   8.0,   12.0,  16.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 = 3.575
designPos = -2.43, -0.29, 0
dimension = 1.56, 0.12, 1.1
incidence = 0.5
dihedral = 0.0
area = 40
flap = 0
flapLiftShift = 0.65
flapDragShift = 0.10
airFoil = AirfoilWing

[wingInboardPort]
name = wingInboardPort
mass = 5.575
designPos = -1.06, -0.37, 0.23
dimension = 1.33, 0.22, 1.66 
incidence = 3.5
dihedral = 0.0
area = 50
flap = 0
flapLiftShift = 1.5
flapDragShift = 0.35
airFoil = AirfoilWing

[wingInboardStarboard]
name = wingInboardStarboard
mass = 5.575
designPos = 1.06, -0.37, 0.23
dimension = 1.33, 0.22, 1.66 
incidence = 3.5
dihedral = 0.0
area = 50
flap = 0
flapLiftShift = 1.5
flapDragShift = 0.35
airFoil = AirfoilWing

[wingOutboardStarboard]
name = wingOutboardStarboard
mass = 3.575
designPos = 2.43, -0.29, 0
dimension = 1.56, 0.12, 1.1
incidence = 0.5
dihedral = 0.0
area = 40
flap = 0
flapLiftShift = 0.65
flapDragShift = 0.10
airFoil = AirfoilWing

[horizontalStabPort]
name = horizontalStabPort
mass = 0.5
designPos = -0.425077, 0.156209, 3.83641
dimension = 0.91, 0.06, 0.61
incidence = 1.5
dihedral = 0
area = 20.8
flap = 0
flapLiftShift = 2.2
flapDragShift = 0.02
flapCompressionStart = 450
flapCompressionEnd = 650
airFoil = AirfoilTail

[horizontalStabStarboard]
name = horizontalStabStarboard
mass = 0.5
designPos = 0.425077, 0.156209, 3.83641
dimension = 0.91, 0.06, 0.61
incidence = 1.5
dihedral = 0
area = 20.8
flap = 0
flapLiftShift = 2.2
flapDragShift = 0.02
flapCompressionStart = 450
flapCompressionEnd = 650
airFoil = AirfoilTail

[verticalStab]
name = verticalStab
mass = 0.5
designPos = 0.0, 0.415336, 3.94961
dimension = 0.08, 1.11, 0.89
incidence = 0
dihedral = 90
area = 66
flap = 0
flapLiftShift = 1.6
flapDragShift = 0.01
airFoil = AirfoilTail

[fuselage]		
name = fuselage
mass = 42.81
designPos = 0, 0.0, -1.8
dimension = 0.54, 0.85, 1.6
area = 200

[flaps]		
speed = 0.2
minAngle = 0
maxAngle = 50

[guns]
number = 6
type = 3

[gun0]
position = 1.43429, -0.272173, -0.448135
direction = -0.001, 0.04, -1
velocity = 400
dispersion = 0.03
caliber = 12
ammo = 90
reload = 140
tracer = 1

[gun1]
position = 1.07818, -0.299131, -0.466238
direction = -0.001, 0.04, -1
velocity = 400
dispersion = 0.03
caliber = 12
ammo = 70
reload = 180
tracer = 1

[gun2]
position = 0.845418, -0.31646, -0.815908
direction = -0.0001, 0, -1
velocity = 800
dispersion = 0.02
caliber = 20
explosive = 2.5
ammo = 35
reload = 110
tracer = 0

[gun3]
position = -1.43429, -0.272173, -0.448135
direction = 0.001, 0.04, -1
velocity = 400
dispersion = 0.03
caliber = 12
ammo = 90
reload = 140
tracer = 1

[gun4]
position = -1.07818, -0.299131, -0.466238
direction = 0.001, 0.04, -1
velocity = 400
dispersion = 0.03
caliber = 12
ammo = 70
reload = 180
tracer = 1

[gun5]
position = -0.845418, -0.31646, -0.815908
direction = 0.0001, 0, -1
velocity = 800
dispersion = 0.02
caliber = 20
explosive = 2.5
ammo = 35
reload = 120
tracer = 0

[hardpoints]
number = 3

[hardpoint0]
name = Belly
position = 0, -0.468931, -0.0416361
allowedOrdnace = 0, 1
ordnaceDescription = Empty, Drop tank
ordnaceValue = 0, 100
ordnaceModel = none, spit_belly_tank

[hardpoint1]
name = Port
position = -1.2866, -0.337684, -0.119378
allowedOrdnace = 0, 1, 2, 3
ordnaceDescription = Empty, Drop tank, Bomb, Rockets
ordnaceValue = 0, 100, 1500, 550
ordnaceModel = none, drop_tank, bomb_mid, rocket

[hardpoint2]
name = Starboard
position = 1.2866, -0.337684, -0.119378
allowedOrdnace = 0, 1, 2, 3
ordnaceDescription = Empty, Drop tank, Bomb, Rockets
ordnaceValue = 0, 100, 1500, 550
ordnaceModel = none, drop_tank, 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, -0.2
starboardGearPosition = 1.0, -1.1, -0.2
tailGearPosition = 0, -0.48, 2.4

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

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

[pilot]
position = 0, 0.25, 0.75

[AutoPilot]
stallAoaMin = -7
stallAoaEnergyMax = 8
stallAoaAnglesMax = 14
aimFactor = 1.0
emgPitch = 85
takeoffPitch = 45

[AutoPilotYaw]
kP = 0.005
kI = 0.0

[AutoPilotPitch]
kP = 0.01
kI = 0.01

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

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

[engine]
maxThrustForce = 935
tourqueFactor = 0.00001
thrustPosition = 0, 0, -1.1
exhaustPosition1 = 0.27, 0, 0
exhaustPosition2 = -0.27, 0, 0
superchargerAltitudes = 0, 300, 800, 1600, 2200
superchargerFactors =   0.7, 0.9, 1.1, 1.2, 1

[OpponentGraphics]
modelExternal.keyLod1 = spit9_ext_lod1
modelExternal.keyLod2 = spit9_ext_lod2
modelExternal.keyLod3 = spit9_ext_lod3

modelPilot.keyLod1 = pilot01
modelPilot.position = 0, 0.25, 0.75

modelProp.keyLod1 = spit9_prop
modelProp.relativePosition = 0, 0, -1.14

modelDisc.keyLod1 = spit9_disc
modelDisc.relativePosition = 0, 0, -1.14

modelElevator.keyLod1 = spit9_elevator
modelElevator.relativePosition = 0, 0.08, 3.04
modelElevator.rotationAxis = 1, 0, 0

modelRudder.keyLod1 = spit9_rudder
modelRudder.relativePosition = 0, 0.19, 3.14
modelRudder.rotationAxis = 0, 1, 0

modelPortAileron.keyLod1 = spit9_paileron
modelPortAileron.relativePosition = -2.04, -0.26, 0.37
modelPortAileron.rotationVertex1 = -1.70775, -0.30109, 0.426142
modelPortAileron.rotationVertex2 = -1.49963, -0.325073, 0.462873

modelStarboardAileron.keyLod1 = spit9_saileron
modelStarboardAileron.relativePosition = 2.04, -0.26, 0.37
modelStarboardAileron.rotationVertex1 = 1.70775, -0.30109, 0.426142
modelStarboardAileron.rotationVertex2 = 2.03754, -0.26384, 0.368619

modelPortGear.keyLod1 = spit9_pgear
modelPortGear.relativePosition = -0.379936, -0.402319, -0.104661
modelPortGear.rotationVertex2 = -0.379936, -0.402319, -0.104661
modelPortGear.rotationVertex1 = -0.379936, -0.412163, -0.067922

modelStarboardGear.keyLod1 = spit9_sgear
modelStarboardGear.relativePosition = 0.38686, -0.401644, -0.10718
modelStarboardGear.rotationVertex2 = 0.38686, -0.401644, -0.10718
modelStarboardGear.rotationVertex1 = 0.379693, -0.412163, -0.067922

[PlayerGraphics]
modelExternal.keyLod1 = spit9_ext_lod1
modelExternal.keyLod2 = spit9_ext_lod2
modelExternal.keyLod3 = spit9_ext_lod3
modelInternal.keyLod1 = spit9_int
modelShadow.keyLod1 = sp_shadow

modelPilot.keyLod1 = pilot01
modelPilot.position = 0, 0.25, 0.75

modelGlass.keyLod1 = spit9_glass

modelProp.keyLod1 = spit9_prop
modelProp.relativePosition = 0, 0, -1.14

modelDisc.keyLod1 = spit9_disc
modelDisc.relativePosition = 0, 0, -1.14

modelPortFlap.keyLod1 = spit9_pflap
modelPortFlap.relativePosition = -0.545941, -0.425786, 0.691127
modelPortFlap.rotationVertex1 = -0.545941, -0.425786, 0.691127
modelPortFlap.rotationVertex2 = -0.455043, -0.435252, 0.700305

modelStarboardFlap.keyLod1 = spit9_sflap
modelStarboardFlap.relativePosition = 0.545714, -0.425785, 0.691127
modelStarboardFlap.rotationVertex2 = 0.545714, -0.425785, 0.691127
modelStarboardFlap.rotationVertex1 = 0.454816, -0.43525, 0.700305

modelPortGear.keyLod1 = spit9_pgear
modelPortGear.relativePosition = -0.379936, -0.402319, -0.104661
modelPortGear.rotationVertex2 = -0.379936, -0.402319, -0.104661
modelPortGear.rotationVertex1 = -0.379936, -0.412163, -0.067922

modelStarboardGear.keyLod1 = spit9_sgear
modelStarboardGear.relativePosition = 0.38686, -0.401644, -0.10718
modelStarboardGear.rotationVertex2 = 0.38686, -0.401644, -0.10718
modelStarboardGear.rotationVertex1 = 0.379693, -0.412163, -0.067922

modelElevator.keyLod1 = spit9_elevator
modelElevator.relativePosition = 0, 0.08, 3.04
modelElevator.rotationAxis = 1, 0, 0

modelRudder.keyLod1 = spit9_rudder
modelRudder.relativePosition = 0, 0.19, 3.14
modelRudder.rotationAxis = 0, 1, 0

modelPortAileron.keyLod1 = spit9_paileron
modelPortAileron.relativePosition = -2.04, -0.26, 0.37
modelPortAileron.rotationVertex1 = -1.70775, -0.30109, 0.426142
modelPortAileron.rotationVertex2 = -1.49963, -0.325073, 0.462873

modelStarboardAileron.keyLod1 = spit9_saileron
modelStarboardAileron.relativePosition = 2.04, -0.26, 0.37
modelStarboardAileron.rotationVertex1 = 1.70775, -0.30109, 0.426142
modelStarboardAileron.rotationVertex2 = 2.03754, -0.26384, 0.368619

modelGunsight.keyLod1 = gunsight
modelGunsight.position = 0, 0.25, 0
modelGunsight.scale = 0.8, 0.8, 0.8

