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


//---Standard-------------------------------------
// Naming
Name J-31 Gyrfalcon
ShortName GFS_J31
ItemID Your ID


// Visuals
Model gfs.J31
ModelScale 1.15
Icon IconJ31


// Recipe


//Misc
Description Chinese Stealth Aircraft_1x 23mm 30mm Autocannon_4x Weapon Hardpoints_Introduction: 2020

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

//---Driveables-----------------------------------
//Visuals
Texture SkinJ31


//Movement
MaxThrottle 3
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.2
TurnRightSpeed 1.2
LookUpSpeed 1.8
LookDownSpeed 1.8
RollLeftSpeed 1.8
RollRightSpeed 1.8
Drag 0.75


//Wheels
NumWheels 3
WheelPosition 0 -32 -12 -33
WheelPosition 1 -32 -12 33
WheelPosition 2 73 -12 0
WheelSpringStrength 0.125


//Floating


//Ammo
AllowAllAmmo False
AddAmmo GFS_PL9
AddAmmo GFS_PL12
AddAmmo GFS_YJ81


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 1
ShootDelaySecondary 20
ReloadTimeSecondary 120
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 39 31 -22 core GFS_23mmAirGun
ShootPointSecondary 0 10 -20 core
ShootPointSecondary 0 10 20 core
ShootPointSecondary 0 15 -25 core
ShootPointSecondary 0 15 25 core


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


//Health and Collision
SetupPart core 450 -64 15 -28 176 27 56
SetupPart tail 425 -124 22 -70 60 43 140
SetupPart lefttWing 400 -64 24 -111 90 6 83
SetupPart rightWing 400 -64 24 28 90 6 83
SetupPart nose 400 112 16 -11 26 20 22
BulletDetection 8
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
AddEmitter flansmod.fmsmoke 1 [-110,24,-15] [3,3,3] [0,0,0] 0.25 2 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-110,24,15] [3,3,3] [0,0,0] 0.25 2 0 1 tail
AddEmitter largesmoke 1 [-110,24,-15] [3,3,3] [0,0,0] 0.5 2 0 1 tail
AddEmitter largesmoke 1 [-110,24,15] [3,3,3] [0,0,0] 0.5 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-110,24,-15] [3,3,3] [0,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-110,24,15] [3,3,3] [0,0,0] 0.75 2 0 1 tail


//Misc
CameraDistance 18.0


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

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

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


//Misc
RestingPitch 0


//Propeller
Propeller 0 0 24 15 core metalPropeller
Propeller 1 0 24 -15 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