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


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


// Visuals
Model gfs.F18E2
ModelScale 1.15
Icon IconF18E


// Recipe


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

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

//---Driveables-----------------------------------
//Visuals
Texture SkinF18E2


//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_500kg
AddAmmo GFS_250kg
AddAmmo GFS_1000kg
AddAmmo GFS_Cluster
AddAmmo GFS_JDAM


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 0
ShootDelaySecondary 10
ReloadTimeSecondary 120
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 113 35 0 core GFS_20mmAirGun
ShootPointSecondary -44 20 46 core 
ShootPointSecondary -44 20 -46 core 
ShootPointSecondary -44 20 56 core 
ShootPointSecondary -44 20 -56 core 
ShootPointSecondary -44 20 64 core 
ShootPointSecondary -44 20 -64 core 
ShootPointSecondary -44 20 74 core 
ShootPointSecondary -44 20 -74 core 


//Driver and Passengers
Pilot 58 28 0
Passengers 0


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 4
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
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_Bomb

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

//---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