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


//---Standard-------------------------------------
// Naming
Name H-6K
ShortName GFS_H6K
ItemID Your ID


// Visuals
Model gfs.H6K
ModelScale 1
Icon IconH6K


// Recipe


//Misc
Description Chinese Medium Bomber_6x Bomb Hardpoints_4x KD-88_Introduction: 1969

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

//---Driveables-----------------------------------
//Visuals
Texture SkinH6K


//Movement
MaxThrottle 1.75
MaxNegativeThrottle 0.0
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
LookUpSpeed 0.75
LookDownSpeed 0.75
RollLeftSpeed 0.75
RollRightSpeed 0.75
Drag 1.0


//Wheels
NumWheels 3
WheelPosition 0 -20 -12 -15
WheelPosition 1 -20 -12 15
WheelPosition 2 162 -12 0
WheelSpringStrength 0.125


//Floating


//Ammo
BulletSpeed 4
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_500kg
AddAmmo GFS_250kg
AddAmmo GFS_1000kg
AddAmmo GFS_Cluster
AddAmmo GFS_KD88


//Weapons
Primary BOMB
Secondary MISSILE
ShootDelayPrimary 6
ShootDelaySecondary 160
AlternatePrimary True
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 100 20 -10 core 
ShootPointPrimary 100 20 10 core 
ShootPointPrimary 75 20 -10 core 
ShootPointPrimary 75 20 10 core 
ShootPointPrimary 50 20 -10 core 
ShootPointPrimary 50 20 10 core 
ShootPointPrimary 25 20 -10 core 
ShootPointPrimary 25 20 10 core 
ShootPointPrimary 0 20 -10 core 
ShootPointPrimary 0 20 10 core 
ShootPointSecondary -10 30 -200 rightWing 
ShootPointSecondary -10 30 200 leftWing 
ShootPointSecondary -45 30 -250 rightWing 
ShootPointSecondary -45 30 250 leftWing 
ShootPointSecondary -80 30 -300 rightWing 
ShootPointSecondary -80 30 300 leftWing 


//Driver and Passengers
Pilot 355 51 -13
Passengers 1
Passenger 1 355 51 13 core


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


//Recipe
AddRecipeParts core 1 GFS_BomberFrame
AddRecipeParts rightWing 1 GFS_BomberWing
AddRecipeParts leftWing 1 GFS_BomberWing
AddDye 16 white


//Health and Collision
SetupPart tail 800 -449 36 -145 260 150 290
SetupPart leftWing 250 -190 28 50 350 30 352
SetupPart rightWing 250 -190 28 -402 350 30 352
BulletDetection 20
AddEmitter flansmod.fmsmoke 1 [-86,44,49] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmsmoke 1 [-86,44,-49] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-90,44,49] [3,3,3] [0,0,0] 0.75 2 0 1 core
AddEmitter flansmod.fmflame 1 [-90,44,-49] [3,3,3] [0,0,0] 0.75 2 0 1 core


//Misc
CameraDistance 45.0


//Sounds
StartSound Engine_Jet_B1
StartSoundLength 20
EngineSound Engine_Jet_B1
EngineSoundLength 20
ShootSoundPrimary Shoot_Bomb
ShootSoundSecondary Shoot_CruiseMissile

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

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


//Misc
RestingPitch 0


//Propeller
Propeller 0 0 44 -49 core metalPropeller
Propeller 1 0 44 49 core metalPropeller


//------------------------------------------------
HasFlare True
FlareDelay 80
FlareSound FlareAC130
TimeFlareUsing 5
LockedOnSound Lockon_Warning
SoundTime 14
LockedOnSoundRange 5