// ------------------------------------------------------ Naming ------------------------------------------------------
Name Boeing F/A-18E Super Hornet
ShortName F/A-18E
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconfa18e
Model usnmw.fa18e
Texture fa18e
//Third Person Camera Distance
CameraDistance 17.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
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.7
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2
TurnRightSpeed 2
//Pitch modifiers
LookUpSpeed 2.5
LookDownSpeed 2.5
//Roll modifiers
RollLeftSpeed 2.5
RollRightSpeed 2.5
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.27
//Lift
//Lift 2.5
//Wheels
NumWheels 3
WheelPosition 0 -50 -10 -37
WheelPosition 1 -50 -10 37
WheelPosition 2 81 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 74 -35 -14 core metalPropeller
Propeller 1 74 -35 14 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 20
//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 167 36 0 nose minigun
ShootPointSecondary 16 18 -81 leftWing
ShootPointSecondary -4 23 -100 leftWing
ShootPointSecondary -25 34 -152 leftWing
ShootPointSecondary 16 18 81 rightWing
ShootPointSecondary -4 23 100 rightWing
ShootPointSecondary -25 34 152 rightWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 0
MissileSlots 6
AllowAllAmmo False
AddAmmo AIM-7
AddAmmo AIM-9
AddAmmo AIM-120
AddAmmo AGM-65
AddAmmo AGM-84
AddAmmo AGM-88
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 93 35 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound PlaneA
StartSoundLength 60
PropSound JetEngine1
PropSoundLength 5
ShootSoundPrimary RPDShoot
ShootSoundSecondary RocketFire2
// ------------------------------------------------------ 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 144 15 -11 47 27 22
SetupPart nose 100 191 17 -6 11 10 12
SetupPart core 100 106 15 -12 38 41 24
SetupPart core 100 12 15 -14 94 49 28
SetupPart core 100 -99 15 -14 111 40 28
SetupPart core 100 -99 12 -43 112 35 29
SetupPart core 100 13 35 -43 86 9 30
SetupPart core 100 -99 12 14 112 35 29
SetupPart core 100 13 35 13 86 9 30
SetupPart tail 100 -182 14 -28 83 36 56
SetupPart tail 100 -154 47 -43 75 50 20
SetupPart tail 100 -154 47 23 75 51 20
SetupPart tail 100 -204 33 -84 85 4 56
SetupPart tail 100 -204 33 27 85 4 56
SetupPart leftWing 100 -99 33 -107 99 9 64
SetupPart leftWing 100 -99 32 -150 70 10 43
SetupPart rightWing 100 -99 33 43 99 9 64
SetupPart rightWing 100 -99 32 107 70 10 43
SetupPart bay 100 -75 -2 -7 123 13 14
CollisionPoint 202 21 0 nose
CollisionPoint 174 21 0 nose
CollisionPoint 122 21 0 core
CollisionPoint 87 32 0 core
CollisionPoint 58 33 0 core
CollisionPoint -29 33 0 core
CollisionPoint -29 33 -25 core
CollisionPoint -29 33 24 core
CollisionPoint 51 38 -25 core
CollisionPoint 52 39 25 core
CollisionPoint -128 33 0 tail
CollisionPoint -176 35 -11 tail
CollisionPoint -176 35 11 tail
CollisionPoint -135 82 -37 tail
CollisionPoint -134 81 37 tail
CollisionPoint -58 39 -74 leftWing
CollisionPoint -58 39 74 rightWing

BulletDetection 8


//Collison Points


BulletSpeed 8
BulletSpread 1

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 50


//Collison Points

AddEmitter flansmod.fmsmoke 1 [-176,35,-11] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-176,35,11] [1,1,1] [-3,0,0] 0.5 0.8 0 1 tail

AddEmitter flansmod.fmflame 1 [-176,35,11] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-176,35,-11] [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
