﻿//---Standard Plane Config for Flans Mod----------
//Created by Minecraft-SMP Toolbox 2.1.4.2


//---Standard-------------------------------------
// Naming
Name F/A-18E Super Hornet - Fighter Payload
ShortName GFS_F18E
ItemID Your ID


// Visuals
Model gfs.F18E
ModelScale 1.15
Icon IconF18E


// Recipe


//Misc
Description American Fighter Aircraft_1x 20mm Gatling Gun_6x Weapon Hardpoints_Introduction: 1999

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Texture SkinF18E


//Movement
MaxThrottle 2.5
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.2
TurnRightSpeed 1.2
LookUpSpeed 1.75
LookDownSpeed 1.75
RollLeftSpeed 1.75
RollRightSpeed 1.75
Drag 0.75


//Wheels
NumWheels 3
WheelPosition 0 -65 -12 -29
WheelPosition 1 -65 -12 29
WheelPosition 2 53 -9 0
WheelSpringStrength 0.125


//Floating


//Ammo
BulletSpeed 10
BulletSpread 2
AllowAllAmmo False
AddAmmo GFS_AIM9
AddAmmo GFS_AIM120
AddAmmo GFS_AGM65
AddAmmo GFS_AGM84
AddAmmo GFS_Hydra70
AddAmmo GFS_HydraAPKWS


//Weapons
Primary GUN
Secondary BOMB
ShootDelayPrimary 0
ShootDelaySecondary 5
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 113 35 0 core GFS_20mmAirGun
ShootPointSecondary -55 20 69 core 
ShootPointSecondary -55 20 -69 core 


//Driver and Passengers
Pilot 58 28 0
Passengers 0


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_FighterFrame
AddRecipeParts rightWing 1 GFS_FighterWing
AddRecipeParts leftWing 1 GFS_FighterWing
AddDye 8 grey


//Health and Collision
SetupPart core 550 -77 11 -20 162 25 40
SetupPart tail 500 -130 11 -50 53 46 100
SetupPart lefttWing 450 -80 24 -98 60 6 78
SetupPart rightWing 450 -79 24 20 60 6 78
BulletDetection 8
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
ShootParticlesSecondary flansmod.fmflame 0 0 0 
AddEmitter flansmod.fmsmoke 1 [-140,26,12] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-140,26,-12] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail

AddEmitter flansmod.fmflame 1 [-140,26,12] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-140,26,-12] [3,3,3] [-3,0,0] 0.75 2 0 1 tail


//Misc
CameraDistance 18.0


//Sounds
StartSound Engine_Jet_F18
StartSoundLength 20
EngineSound Engine_Jet_F18
EngineSoundLength 20
ShootSoundPrimary Shoot_Jet_Gatling2
ShootSoundSecondary Shoot_RocketPod

//------------------------------------------------

//---Plane----------------------------------------
//Flying Mode
Mode PLANE


//Misc
RestingPitch 0


//Propeller
Propeller 0 -40 22 -12 core metalPropeller
Propeller 1 -40 22 12 core metalPropeller


//------------------------------------------------
HasFlare True
FlareDelay 150
FlareSound FlareDeploy
TimeFlareUsing 2
LockedOnSound Lockon_Warning
SoundTime 14
LockedOnSoundRange 5

//Paintjob Settings
//Format is "Paintjob iconName textureName requiredDyeColour requiredDyeAmount" 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 IconF18E SkinF18ERAAF blue 6