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


//---Standard-------------------------------------
// Naming
Name J-20
ShortName GFS_J20
ItemID Your ID


// Visuals
Model gfs.J20
ModelScale 1.15
Icon IconJ20


// Recipe


//Misc
Description Chinese Stealth Aircraft_1x 23mm 30mm Autocannon_6x Weapon Hardpoints_Introduction: 2017

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

//---Driveables-----------------------------------
//Visuals
Texture SkinJ20


//Movement
MaxThrottle 3.25
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.6
TurnRightSpeed 1.6
LookUpSpeed 2.3
LookDownSpeed 2.3
RollLeftSpeed 2.3
RollRightSpeed 2.3
Drag 0.6


//Wheels
NumWheels 3
WheelPosition 0 -48 -12 -39
WheelPosition 1 -48 -12 39
WheelPosition 2 86 -11 0
WheelSpringStrength 0.125


//Floating


//Ammo
BulletSpeed 10
BulletSpread 2
AllowAllAmmo False
AddAmmo GFS_PL9
AddAmmo GFS_PL12
AddAmmo GFS_Kh35


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 1
ShootDelaySecondary 20
ReloadTimeSecondary 120
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 60 38 -20 core GFS_23mmAirGun
ShootPointSecondary 0 12 -4 core 
ShootPointSecondary 0 12 4 core 
ShootPointSecondary 0 12 -12 core 
ShootPointSecondary 0 12 12 core 
ShootPointSecondary 0 23 -27 core 
ShootPointSecondary 0 23 27 core 


//Driver and Passengers
Pilot 105 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 black


//Health and Collision
SetupPart core 375 -131 18 -30 274 30 60
SetupPart tail 200 -179 21 -55 50 54 110
SetupPart leftWing 225 -129 35 30 150 6 79
SetupPart rightWing 225 -129 35 -109 150 6 79
SetupPart nose 150 143 22 -11 22 17 22
BulletDetection 8
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
AddEmitter flansmod.fmflame 1 [-150,28,10] [3,3,3] [0,0,0] 0.7 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-175,28,10] [3,3,3] [0,0,0] 0.7 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-200,28,10] [3,3,3] [0,0,0] 0.7 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-150,28,-10] [3,3,3] [0,0,0] 0.7 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-175,28,-10] [3,3,3] [0,0,0] 0.7 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-200,28,-10] [3,3,3] [0,0,0] 0.7 2 0 1 tail


//Misc
CameraDistance 18.0


//Sounds
StartSound Engine_Jet_J20
StartSoundLength 20
EngineSound Engine_Jet_J20
EngineSoundLength 20
ShootSoundPrimary Shoot_Jet_Autocannon
ShootSoundSecondary Shoot_AIM2

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

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


//Misc
RestingPitch 0


//Propeller
Propeller 0 0 37 -12 core metalPropeller
Propeller 1 0 37 12 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 300
LockedOnSoundRange 1
LockOnSound Lockon_AA2
LockOnSoundTime 14
Stealth True