// ------------------------------------------------------ Naming ------------------------------------------------------
Name A10
ShortName A10
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon A10
Model mw.A10
Texture SkinA10
//Third Person Camera Distance
CameraDistance 15.0
//Resting Pitch. Set this so the plane spawns level. It will fall onto its collision boxes automatically, but this lets you start it flat
RestingPitch 5.0
HasGear True
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Plane
//Throttle
MaxThrottle 6.5
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2.25
TurnRightSpeed 2.25
//Pitch modifiers
LookUpSpeed 2.25
LookDownSpeed 2.25
//Roll modifiers
RollLeftSpeed 3
RollRightSpeed 3
ForwardSpeed 1.3
HeightLimit 520
//Lift
//Lift 2.5
//Wheels
NumWheels 3
WheelPosition 0 -13 -10 -39
WheelPosition 1 -13 -10 39
WheelPosition 2 99 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 29 -41 21 core metalPropeller
Propeller 1 29 -41 -21 core metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
UseNewWeaponSystem True

AddWeapon GAU-8/A 30mm
WeaponType Gun
FireMode Minigun
ShootDelay 0.3
Alternate False
Damage 2
AmmoSlots 1
BulletSpread 8
BulletSpeed 14
ShootSound sound_A10Gun
ShootPoint 166 24 -1 nose
Ammo minigunExplosiveAmmo

AddWeapon Unguided Missiles
WeaponType Missile
FireMode FullAuto
ShootDelay 20
Alternate False
AmmoSlots 4
ShootSound sound_rocketSmall
ShootPoint 30 13 -94 leftWing
ShootPoint 30 13 94 rightWing
Ammo mk4Rocket

AddWeapon Bombs
WeaponType Bomb
FireMode FullAuto
ShootDelay 20
Alternate True
AmmoSlots 4
ShootSound Shoot_Bomb
ShootPoint 45 10 -60 leftWing
ShootPoint 45 10 60 rightWing
ShootPoint 45 10 -4 core
ShootPoint 45 10 4 core
Ammo GFS_1000kg
Ammo GFS_500kg
Ammo GFS_250kg

AddWeapon AA Missiles
WeaponType Missile
FireMode FullAuto
ShootDelay 50
Alternate True
AmmoSlots 1
ShootSound sound_rocketSmall
ShootPoint 30 13 -138 leftWing
ShootPoint 30 13 -144 leftWing
Ammo HeatSeeker
Ammo ActiveRadar

// ------------------------------------------------------ Inventory ------------------------------------------------------
FlareSlots 2
CargoSlots 0
AllowAllAmmo False
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 105 43 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound JetIdle
StartSoundLength 140
PropSound JetEngine2
PropSoundLength 47
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts coreWheel 1 wheel
AddRecipeParts nose 1 metalNose 1 minigun
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail
AddRecipeParts rightWingWheel 1 wheel
AddRecipeParts leftWingWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 8 silver
AddDye 8 gray
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart nose 500 100 16 -15 52 36 30
SetupPart core 3500 -137 16 -15 237 40 30
SetupPart tail 1500 -161 23 -42 47 12 83
SetupPart rightWing 1600 -30 21 12 70 15 162
SetupPart leftWing 1600 -30 21 -174 70 15 162
BulletDetection 10
CollisionPoint 163 29 0 nose
CollisionPoint 146 30 0 nose
CollisionPoint 100 40 0 core
CollisionPoint 48 40 0 core
CollisionPoint -49 40 0 core
CollisionPoint -50 56 27 core
CollisionPoint -50 55 -27 core
CollisionPoint -148 29 0 tail
CollisionPoint -139 51 -51 tail
CollisionPoint -140 50 51 tail
CollisionPoint -5 27 -47 leftWing
CollisionPoint -5 35 -111 leftWing
CollisionPoint 2 40 -181 leftWing
CollisionPoint -5 27 47 rightWing
CollisionPoint -5 35 111 rightWing
CollisionPoint 2 40 181 rightWing
ModelScale 1.28

//Paintjob Settings
//Format is "Paintjob iconName textureName requiredDyeAmount requiredDyeColour" Multiple colours may be listed in order, seperated by a space
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
Paintjob A10_Neon A10_Neon black 2 red 1 cyan 1 lime 1 lightBlue 1 magenta 1