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


//---Standard-------------------------------------
// Naming
Name F-35B Lightning II - Attacker Payload
ShortName GFS_F35B2
ItemID Your ID


// Visuals
Model gfs.F35B2
ModelScale 1.15
Icon IconF35B


// Recipe


//Misc
Description US Marines Stealth Fighter Aircraft_1x 25mm Gatling Gun_6x Weapon Hardpoints_VTOL_Introduction: 2015

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

//---Driveables-----------------------------------
//Visuals
Texture SkinF35B2


//Movement
MaxThrottle 2.25
MaxNegativeThrottle 0.0
TurnLeftSpeed 0.9
TurnRightSpeed 0.9
LookUpSpeed 1.5
LookDownSpeed 1.5
RollLeftSpeed 1.5
RollRightSpeed 1.5
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
BulletSpeed 10
BulletSpread 2
AllowAllAmmo False
AddAmmo GFS_Hydra70
AddAmmo GFS_HydraAPKWS
AddAmmo GFS_AIM9
AddAmmo GFS_AGM65


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 0
ShootDelaySecondary 4
ReloadTimeSecondary 120
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 39 36 -22 core GFS_25mmAirGun2
ShootPointSecondary -35 20 -73 rightWing
ShootPointSecondary -35 20 73 leftWing


//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
ShootParticlesSecondary 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 [-125,27,0] [3,3,3] [0,0,0] 0.7 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-150,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_RocketPod


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


//Misc
RestingPitch 0


//Propeller
Propeller 0 0 30 0 core metalPropeller
HeliPropeller 0 50 36 0 core metalPropeller


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