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


//---Standard-------------------------------------
// Naming
Name B-1B Lancer
ShortName GFS_B1B
ItemID Your ID


// Visuals
Model gfs.B1B
ModelScale 1
Icon IconB1B


// Recipe


//Misc
Description American Medium Bomber_9x Bomb Hardpoints_4x AGM-58 JASSM_Introduction: 1986

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

//---Driveables-----------------------------------
//Visuals
Texture SkinB1B


//Movement
MaxThrottle 2.0
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 6
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_500kg
AddAmmo GFS_250kg
AddAmmo GFS_1000kg
AddAmmo GFS_Cluster
AddAmmo GFS_JDAM
AddAmmo GFS_AGM158


//Weapons
Primary BOMB
Secondary MISSILE
ShootDelayPrimary 6
ShootDelaySecondary 120
AlternatePrimary True
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 190 45 14 core
ShootPointPrimary 170 45 14 core
ShootPointPrimary 150 45 14 core
ShootPointPrimary 130 45 14 core
ShootPointPrimary 110 45 14 core
ShootPointPrimary 190 45 -14 core
ShootPointPrimary 170 45 -14 core
ShootPointPrimary 150 45 -14 core
ShootPointPrimary 130 45 -14 core
ShootPointPrimary 110 45 -14 core
ShootPointPrimary -120 45 14 core
ShootPointPrimary -140 45 14 core
ShootPointPrimary -160 45 14 core
ShootPointPrimary -180 45 14 core
ShootPointPrimary -200 45 14 core
ShootPointPrimary -120 45 -14 core
ShootPointPrimary -140 45 -14 core
ShootPointPrimary -160 45 -14 core
ShootPointPrimary -180 45 -14 core
ShootPointPrimary -200 45 -14 core
ShootPointSecondary 170 45 0 core
ShootPointSecondary 130 45 0 core
ShootPointSecondary -140 45 0 core
ShootPointSecondary -180 45 0 core


//Driver and Passengers
Pilot 309 76 -13
Passengers 1
Passenger 1 309 76 13 core


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


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


//Health and Collision
SetupPart core 800 -160 35 -50 560 70 100
SetupPart tail 400 -420 36 -145 260 90 288
SetupPart rightWing 250 -180 54 52 190 12 360
SetupPart leftWing 250 -180 54 -412 190 12 360
BulletDetection 20
AddEmitter flansmod.fmflame 1 [-220,38,62] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-240,38,62] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-260,38,62] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-220,38,-62] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-240,38,-62] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-260,38,-62] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-220,38,96] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-240,38,96] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-260,38,96] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-220,38,-96] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-240,38,-96] [3,3,3] [0,0,0] 0.5 2 0 1 core
AddEmitter flansmod.fmflame 1 [-260,38,-96] [3,3,3] [0,0,0] 0.5 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
HasWing True


//Misc
RestingPitch 0


//Propeller
Propeller 0 0 38 -62 core metalPropeller
Propeller 1 0 38 62 core metalPropeller
Propeller 2 0 38 96 core metalPropeller
Propeller 3 0 38 -96 core metalPropeller


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