﻿//---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

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

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


//Movement
MaxThrottle 2
MaxNegativeThrottle 0.0
TurnLeftSpeed 3
TurnRightSpeed 3
LookUpSpeed 3
LookDownSpeed 3
RollLeftSpeed 3.1
RollRightSpeed 3.1
ForwardSpeed 1.55
HeightLimit 640


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



//Weapons
UseNewWeaponSystem True

AddWeapon 25mm Cannon
WeaponType SHELL
FireMode FullAuto
ShootDelay 2
Damage 0.8
AmmoSlots 1
Alternate True
ShootSound sound_minigun
ShootPoint 59 20 23 rightWing
ShootPoint 59 20 -23 leftWing
Ammo GFS_Air25mm
Ammo GFS_Air25mmHE


AddWeapon Hydra Rockets
WeaponType GUN
FireMode FullAuto
ShootDelay 20
Alternate False
AmmoSlots 2
ShootPoint 48 10 -40 leftWing
ShootPoint 48 10 40 rightWing
ShootSound sound_rocketSmall
Ammo HydraAmmo

AddWeapon Bombs
WeaponType Bomb
FireMode FullAuto
ShootDelay 20
Alternate True
AmmoSlots 2
ShootPoint 30 5 -5 core
ShootPoint 30 5 5 core
ShootPoint -10 5 -10 core
ShootPoint -10 5 10 core
ShootSound Shoot_Bomb
Ammo GFS_500kg
Ammo GFS_250kg

//Driver and Passengers
Pilot 77 22 0
Passengers 0


//Inventory Slots
FlareSlots 1
FuelTankSize 5000


//Recipe
AddDye 8 white


//Health and Collision
SetupPart core 2500 -75 8 -18 190 30 36
SetupPart nose 800 115 9 -10 33 20 20
SetupPart tail 1200 -150 10 -33 74 23 68
SetupPart rightWing 950 -90 14 19 150 8 80
SetupPart leftWing 950 -90 14 -98 150 8 80
CollisionPoint -2 28 -14 leftWing
CollisionPoint -32 19 -55 leftWing
CollisionPoint 66 28 -18 leftWing
CollisionPoint -2 28 18 rightWing
CollisionPoint -32 28 55 rightWing
CollisionPoint 66 28 16 rightWing
CollisionPoint 129 19 1 nose
CollisionPoint -134 29 0 tail
CollisionPoint -83 19 -85 leftWing
CollisionPoint -83 19 85 rightWingWheel

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 JetIdle
StartSoundLength 140
EngineSound Engine_Jet_Frogfoot
EngineSoundLength 40

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

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


//Misc
RestingPitch 0


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


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