// ------------------------------------------------------ Naming ------------------------------------------------------
Name Mitsubishi A7M3-K2
ShortName reppuuKai
ItemID 23318
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon reppuuKaiKantai
Model rainfire.MitsubishiReppuKai
Texture SkinMitsubishiReppuKai
//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 6.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 6.3
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2.4
TurnRightSpeed 2.4
//Pitch modifiers
LookUpSpeed 2.2
LookDownSpeed 2.2
//Roll modifiers
RollLeftSpeed 2.3
RollRightSpeed 2.3
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.9
//Wheels
NumWheels 3
WheelPosition 0 45 -9 -35
WheelPosition 1 45 -9 35
WheelPosition 2 -94 19 0
WheelSpringStrength 0.125
//Propeller Positions
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 -54 -16 0 core metalPropeller
Propeller 1 -51 -16 0 core metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary Bomb
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 3
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 50 18 -41.5 leftWing 30mmType5
ShootPointPrimary 50 18 41.5 rightWing 30mmType5
ShootPointPrimary 53 19 -48.5 leftWing 30mmType5
ShootPointPrimary 53 19 48.5 rightWing 30mmType5
ShootPointPrimary -3 51 -7 core 30mmType5
ShootPointPrimary -3 51 7 core 30mmType5
ShootPointSecondary -6 9 0 
ShootParticlesPrimary cloud 0.2 0 0
ShootParticlesPrimary flansmod.fmflame 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 15 27 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound wtBF-109Start
StartSoundLength 20
PropSound wtBF-109Engine
PropSoundLength 30
ShootSoundPrimary 30mmFire
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 2 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 green
AddDye 3 gray
AddDye 3 yellow
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 345 -19 12 -10 80 28 20 8
SetupPart tail 185 -79 18 -10 60 18 20 8
SetupPart leftWing 160 5 17 -98 36 5 86 6
SetupPart rightWing 160 5 17 12 36 5 86 6
SetupPart nose 200 62 15 -10 20 24 20 6
SetupPart rightWingWheel 60 39 -6 -36 7 21 4
SetupPart leftWingWheel 60 39 -6 34 7 21 4
BulletDetection 1
//Collision points for breaking wings etc. upon crashing
//Nose
CollisionPoint 93 26 0 nose
CollisionPoint 83 26 12 nose
CollisionPoint 83 26 -12 nose
//Core
CollisionPoint 62 40 0 core
CollisionPoint 62 26 12 core
CollisionPoint 62 26 -12 core
CollisionPoint -6 50 0 core
//LeftWing
CollisionPoint 46 18 -25 leftWing
CollisionPoint 44 18 -44 leftWing
CollisionPoint 40 20 -71 leftWing
CollisionPoint 37 24 -96 leftWing
CollisionPoint 30 28 -116 leftWing
//RightWing
CollisionPoint 46 18 25 rightWing
CollisionPoint 44 18 44 rightWing
CollisionPoint 40 20 71 rightWing
CollisionPoint 37 24 96 rightWing
CollisionPoint 30 28 117 rightWing
//Tail
CollisionPoint -73 46 0 tail
CollisionPoint -87 63 0 tail
CollisionPoint -66 28 -23 tail
CollisionPoint -72 28 -45 tail
CollisionPoint -66 28 23 tail
CollisionPoint -72 28 45 tail
ModelScale 1.65
Description One of the best interceptor planes developed by Japan during WW2.