// ------------------------------------------------------ Naming ------------------------------------------------------
Name Type 0 Model 22 Carrier Fighter
ShortName realA6M3
ItemID 23318
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon zeroReal
Model rainfire.MitsubishiZero
Texture SkinMitsubishiZero
//Third Person Camera Distance
CameraDistance 13.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
// ------------------------------------------------------ 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 5.8
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2.15
TurnRightSpeed 2.15
//Pitch modifiers
LookUpSpeed 2.15
LookDownSpeed 2.15
//Roll modifiers
RollLeftSpeed 2.2
RollRightSpeed 2.2
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.9
//Wheels
NumWheels 3
WheelPosition 0 24 -9 -35
WheelPosition 1 24 -9 35
WheelPosition 2 -110 11 0
WheelSpringStrength 0.125
//Propeller Positions
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 -60 -20 0 nose metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary Bomb
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 2
ShootDelaySecondary 50
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 24 13 38 rightWing type99ModS
ShootPointPrimary 24 13 -38 leftWing type99ModS
ShootPointPrimary 50 25 4 nose browningM1918A4
ShootPointPrimary 50 25 -4 nose browningM1918A4
ShootPointSecondary -6 9 0 
ShootParticlesPrimary cloud 0.2 0 0
ShootParticlesPrimary flansmod.fmtracer 0.3 0 0
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 4
BombSlots 2
MissileSlots 0
AllowAllAmmo False
AddAmmo generic150lbBomb
AddAmmo kamikazeBomb
AddAmmo torpedoBomb
AddAmmo smallBomb
AddAmmo largeBomb
AddAmmo napalm
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 0 13 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound wtYakolev9Start
StartSoundLength 20
PropSound wtYakolev9Engine
PropSoundLength 30
ShootSoundPrimary zeroFire
ShootSoundSecondary bomb
// ------------------------------------------------------ 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 2 wheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts bay 1 bombBay
AddRecipeParts tail 1 metalTail
AddRecipeParts tailWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 2 red
AddDye 6 white
AddDye 3 gray
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 300 -26 9 -12 60 22 24 7
SetupPart nose 125 35 9 -12 24 22 24 6
SetupPart tail 150 -90 9 -7 63 22 14 7
SetupPart rightWing 150 -14 14 13 42 7 110
SetupPart leftWing 150 -14 14 -123 42 7 110
SetupPart rightWingWheel 50 18 -9 32 12 21 6
SetupPart leftWingWheel 50 18 -9 -38 12 21 6
SetupPart tailWheel 50 -113 8 -2 6 6 4
BulletDetection 10
//Collision points for breaking wings etc. upon crashing
//Nose
CollisionPoint 64 20 0 nose
CollisionPoint 57 20 8 nose
CollisionPoint 57 20 -8 nose
CollisionPoint 56 29 0 nose
CollisionPoint 56 11 0 nose
//Core
CollisionPoint 26 32 0 core
CollisionPoint 11 39 3 core
CollisionPoint 11 39 -3 core
//Tail
CollisionPoint -77 29 0 tail
CollisionPoint -84 38 0 tail
CollisionPoint -89 45 0 tail
CollisionPoint -100 53 0 tail
CollisionPoint -75 26 9 tail
CollisionPoint -79 26 18 tail
CollisionPoint -83 28 27 tail
CollisionPoint -85 26 41 tail
CollisionPoint -85 26 -41 tail
CollisionPoint -83 26 -27 tail
CollisionPoint -79 26 -18 tail
CollisionPoint -75 26 -9 tail
/LeftWing
CollisionPoint 26 14 -44 leftWing
CollisionPoint 26 15 -35 leftWing
CollisionPoint 26 15 -24 leftWing
CollisionPoint 26 15 -53 leftWing
CollisionPoint 24 18 -67 leftWing
CollisionPoint 22 18 -77 leftWing
CollisionPoint 22 18 -87 leftWing
CollisionPoint 22 20 -98 leftWing
CollisionPoint 22 20 -108 leftWing
CollisionPoint 22 21 -118 leftWing
//RightWing
CollisionPoint 26 13 24 rightWing
CollisionPoint 25 13 34 rightWing
CollisionPoint 23 14 44 rightWing
CollisionPoint 23 15 55 rightWing
CollisionPoint 23 15 65 rightWing
CollisionPoint 23 18 76 rightWing
CollisionPoint 23 19 87 rightWing
CollisionPoint 22 19 97 rightWing
CollisionPoint 20 19 108 rightWing
CollisionPoint 20 21 120 rightWing
ModelScale 0.9
Description Real zero.