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


//---Standard-------------------------------------
// Naming
Name F-35C Lightning II
ShortName GFS_F35C
ItemID Your ID


// Visuals
Model gfs.F35C
ModelScale 1.15
Icon IconF35C


// Recipe


//Misc
Description US Marines/Navy Stealth Fighter Aircraft_1x 25mm Gatling Gun_6x Weapon Hardpoints_Introduction: 2018

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

//---Driveables-----------------------------------
//Visuals
Texture SkinF35C


//Movement
MaxThrottle 2.75
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.4
TurnRightSpeed 1.4
LookUpSpeed 2.0
LookDownSpeed 2.0
RollLeftSpeed 2.0
RollRightSpeed 2.0
Drag 0.9


//Wheels
NumWheels 3
WheelPosition 0 -22 -8 -30
WheelPosition 1 -22 -8 30
WheelPosition 2 73 -8 0
WheelSpringStrength 0.125


//Floating


//Ammo
AllowAllAmmo False
AddAmmo GFS_AIM9
AddAmmo GFS_AIM120
AddAmmo GFS_AGM84


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 0
ShootDelaySecondary 20
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 39 36 -22 core GFS_25mmAirGun2
ShootPointSecondary 0 14 -20 core
ShootPointSecondary 0 14 20 core
ShootPointSecondary 0 20 -24 core
ShootPointSecondary 0 20 24 core


//Driver and Passengers
Pilot 84 25 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 525 -68 14 -28 180 30 56
SetupPart tail 500 -124 22 -50 56 45 100
SetupPart leftWing 475 00 -76 24 -91 90 6 64
SetupPart rightWing 475 -76 24 28 90 6 64
SetupPart nose 400 112 16 -11 26 20 22
BulletDetection 8
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
AddEmitter flansmod.fmflame 1 [-100,27,0] [3,3,3] [0,0,0] 0.7 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-140,27,0] [3,3,3] [0,0,0] 0.7 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-180,27,0] [3,3,3] [0,0,0] 0.7 2 0 1 tail


//Misc
CameraDistance 18.0


//Sounds
StartSound Engine_Jet_F35
StartSoundLength 20
EngineSound Engine_Jet_F35
EngineSoundLength 20
ShootSoundPrimary Shoot_Jet_Gatling2
ShootSoundSecondary Shoot_AIM2


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


//Misc
RestingPitch 0


//Propeller
Propeller 0 0 30 0 core metalPropeller


//------------------------------------------------
HasFlare True
FlareDelay 50
FlareSound FlareDeploy
TimeFlareUsing 1
LockedOnSound Lockon_Warning
SoundTime 14
LockedOnSoundRange 5
LockOnToPlanes True
LockOnToVehicles False
LockOnToPlayers False
LockOnToLivings False
CanLockOnAngle 10
MaxRangeLockOn 600
LockedOnSoundRange 1
LockOnSound Lockon_AA2
LockOnSoundTime 14
Stealth True