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


//---Standard-------------------------------------
// Naming
Name Tornado GR4
ShortName GFS_TornadoGR4
ItemID Your ID


// Visuals
Model gfs.TornadoGR4
ModelScale 1.15
Icon IconF18E


// Recipe


//Misc
Description British Attacker Aircraft_1x 27mm Autocannon_7x Weapon Hardpoints_Introduction: 1979

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

//---Driveables-----------------------------------
//Visuals
Texture SkinTornadoGR4


//Movement
MaxThrottle 2
MaxNegativeThrottle 0.0
TurnLeftSpeed 1
TurnRightSpeed 1
LookUpSpeed 1.25
LookDownSpeed 1.25
RollLeftSpeed 1.25
RollRightSpeed 1.25
Drag 0.8


//Wheels
NumWheels 3
WheelPosition 0 -25 -10 -25
WheelPosition 1 -25 -10 25
WheelPosition 2 60 -6 0
WheelSpringStrength 0.125


//Floating


//Ammo
BulletSpeed 10
BulletSpread 2
AllowAllAmmo False
AddAmmo GFS_AIM9
AddAmmo GFS_AGM65
AddAmmo GFS_Brimstone


//Weapons
Primary GUN
Secondary BOMB
ShootDelayPrimary 1
ShootDelaySecondary 5
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 72 16 10 core GFS_27mmAirGun
ShootPointSecondary -26 22 45 core 
ShootPointSecondary -26 22 -45 core 


//Driver and Passengers
Pilot 60 21 0
Passengers 1
Passenger 1 29 25 0 core


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 7
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 500 -77 11 -20 162 25 40
SetupPart tail 400 -130 11 -50 53 46 100
SetupPart lefttWing 300 -80 24 -98 60 6 78
SetupPart rightWing 300 -79 24 20 60 6 78
BulletDetection 8
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
ShootParticlesSecondary flansmod.fmflame 0 0 0 
AddEmitter flansmod.fmsmoke 1 [-100,30,6] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-100,30,-6] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail

AddEmitter flansmod.fmflame 1 [-100,30,6] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-10,30,-6] [3,3,3] [-3,0,0] 0.75 2 0 1 tail


//Misc
CameraDistance 18.0


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

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

//---Plane----------------------------------------
//Flying Mode
Mode PLANE
HasWing True


//Misc
RestingPitch 0


//Propeller
Propeller 0 -40 22 -12 core metalPropeller
Propeller 1 -40 22 12 core metalPropeller


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