// ------------------------------------------------------ Naming ------------------------------------------------------
Name Grumman F-14B Tomcat
ShortName F-14B
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconf14b
Model usnmw.f14b
Texture f14b
//Third Person Camera Distance
CameraDistance 20.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 0.0
HasGear True
HasWing True
ModelScale 1
// ------------------------------------------------------ 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 1.8
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 1.5
TurnRightSpeed 1.5
//Pitch modifiers
LookUpSpeed 2.5
LookDownSpeed 2.5
//Roll modifiers
RollLeftSpeed 1.8
RollRightSpeed 1.8
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.3
//Lift
//Lift 2.5
//Wheels
NumWheels 3
WheelPosition 0 -56 -10 -56
WheelPosition 1 -56 -10 56
WheelPosition 2 97 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 71 -20 -30 core metalPropeller
Propeller 1 71 -20 30 core metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary Missile
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 2
ShootDelaySecondary 15
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary SemiAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 159 26 -11 nose minigun
ShootPointSecondary 14 30 -78 core
ShootPointSecondary 26 21 -64 core
ShootPointSecondary 60 13 -9 core
ShootPointSecondary -34 13 -9 core
ShootPointSecondary 14 30 78 core
ShootPointSecondary 26 21 -64 core
ShootPointSecondary 60 13 9 core
ShootPointSecondary -34 13 -9 core
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 0
MissileSlots 8
AllowAllAmmo False
AddAmmo AIM-7
AddAmmo AIM-9
AddAmmo AIM-54
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 109 41 0
Passengers 1
Passenger 1 73 42 0 core
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound PlaneA
StartSoundLength 60
PropSound PlaneB
PropSoundLength 47
ShootSoundPrimary a10shot2
ShootSoundSecondary RocketFire1
// ------------------------------------------------------ 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 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 5 white
AddDye 1 gray
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart nose 100 172 21 -12 38 26 24
SetupPart nose 100 145 20 -15 27 32 30
SetupPart core 100 45 20 -17 100 48 34
SetupPart core 100 -89 20 -17 134 43 34
SetupPart core 100 -89 35 -73 163 13 56
SetupPart core 100 -89 8 -52 145 27 35
SetupPart core 100 -89 35 17 163 13 56
SetupPart core 100 -89 8 17 145 27 35
SetupPart core 100 -99 8 -51 10 33 102
SetupPart tail 100 -177 8 -51 78 33 34
SetupPart tail 100 -196 13 -45 19 27 28
SetupPart tail 100 -209 40 -37 86 58 8
SetupPart tail 100 -212 24 -109 98 5 65
SetupPart tail 100 -177 8 17 78 33 34
SetupPart tail 100 -196 13 17 19 27 28
SetupPart tail 100 -209 40 29 86 58 8
SetupPart tail 100 -212 24 43 98 5 65
SetupPart tail 100 -208 22 -17 109 18 34
SetupPart leftWing 100 -100 37 -151 73 13 100
SetupPart rightWing 100 -101 37 51 73 13 100

BulletDetection 10


//Collison Points
CollisionPoint 209 31 0 nose
CollisionPoint 181 35 0 nose
CollisionPoint 157 41 0 nose
CollisionPoint 91 52 0 core
CollisionPoint -8 51 0 core
CollisionPoint -42 44 -41 core
CollisionPoint -42 44 41 core
CollisionPoint -148 40 -32 tail
CollisionPoint -178 26 -32 tail
CollisionPoint -186 84 -35 tail
CollisionPoint -180 25 -75 tail
CollisionPoint -148 40 32 tail
CollisionPoint -178 26 32 tail
CollisionPoint -186 84 35 tail
CollisionPoint -180 25 75 tail
CollisionPoint -193 33 0 tail
CollisionPoint -85 40 -124 leftWing
CollisionPoint -84 40 125 rightWing

BulletSpeed 8
BulletSpread 2

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 50

AddEmitter flansmod.fmsmoke 1 [-178,26,32] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-178,26,-32] [1,1,1] [-3,0,0] 0.5 0.8 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-178,26,-32] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-178,26,32] [1,1,1] [-3,0,0] 0.5 0.8 0 1 tail

AddEmitter flansmod.fmsmoke 1 [-178,26,-32] [3,1,1] [-3,0,0] 0.5 0.8 0 1 tail
AddEmitter flansmod.fmflame 1 [-178,26,32] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-178,26,32] [3,1,1] [-3,0,0] 0.5 0.8 0 1 tail
AddEmitter flansmod.fmflame 1 [-178,26,-32] [3,3,3] [-3,0,0] 0.75 2 0 1 tail

HasFlare True
FlareDelay 50
FlareSound FlareDeploy
TimeFlareUsing 2
LockedOnSound LockonWarning
SoundTime 14
LockedOnSoundRange 5