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


//---Standard-------------------------------------
// Naming
Name Q-5 Fantan
ShortName GFS_Q5
ItemID Your ID


// Visuals
Model gfs.Q5
ModelScale 1
Icon IconQ5


// Recipe


//Misc
Description Chinese Attack Aircraft_2x 23mm Autocannon_8x Weapon Hardpoints_Introduction: 1970

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

//---Driveables-----------------------------------
//Visuals
Texture SkinQ5


//Movement
MaxThrottle 2
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.4
TurnRightSpeed 1.4
LookUpSpeed 1.7
LookDownSpeed 1.7
RollLeftSpeed 1.7
RollRightSpeed 1.7
Drag 0.9


//Wheels
NumWheels 3
WheelPosition 0 -10 -12 -40
WheelPosition 1 -10 -12 40
WheelPosition 2 90 -12 0
WheelSpringStrength 0.125


//Floating


//Ammo
AllowAllAmmo False
AddAmmo GFS_Kh29
AddAmmo GFS_PL9
AddAmmo GFS_S5


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 1
ShootDelaySecondary 4
ReloadTimeSecondary 120
AlternatePrimary True
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 59 20 23 rightWing GFS_Type23
ShootPointPrimary 59 20 -23 leftWing GFS_Type23
ShootPointSecondary 48 10 -40 leftWing 
ShootPointSecondary 48 10 40 rightWing 


//Driver and Passengers
Pilot 77 22 0
Passengers 0


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 8
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_FighterFrame
AddRecipeParts rightWing 1 GFS_FighterWing
AddRecipeParts leftWing 1 GFS_FighterWing
AddDye 8 white


//Health and Collision
SetupPart core 525 -75 8 -18 190 30 36
SetupPart tail 425 -150 8 -39 74 60 80
SetupPart rightWing 450 -90 15 10 150 8 100
SetupPart leftWing 450 -90 15 -119 150 8 100
BulletDetection 8
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
ShootParticlesSecondary flansmod.fmflame 0 0 0 
AddEmitter flansmod.fmsmoke 1 [-110,22,5] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-110,22,-5] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-110,22,5] [1,1,1] [-3,0,0] 0.5 0.8 0 1 tail

AddEmitter flansmod.fmsmoke 1 [-110,22,-5] [3,1,1] [-3,0,0] 0.5 0.8 0 1 tail
AddEmitter flansmod.fmflame 1 [-110,22,5] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-110,22,-5] [3,3,3] [-3,0,0] 0.75 2 0 1 tail


//Misc
CameraDistance 18.0


//Sounds
StartSound Engine_Jet_F16
StartSoundLength 20
EngineSound Engine_Jet_F16
EngineSoundLength 20
ShootSoundPrimary Shoot_Jet_Autocannon
ShootSoundSecondary Shoot_RocketPod

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

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


//Misc
RestingPitch 0


//Propeller
Propeller 0 60 20 -16 core metalPropeller
Propeller 1 60 20 16 core metalPropeller


//------------------------------------------------
HasFlare True
FlareDelay 300
FlareSound FlareDeploy
TimeFlareUsing 2
LockedOnSound Lockon_Warning
SoundTime 14
LockedOnSoundRange 5