// ------------------------------------------------------ Naming ------------------------------------------------------
Name Tupolev Tu-160 Blackjack
ShortName Tu-160
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon icontu160
Model russia.tu160
Texture tu160
//Third Person Camera Distance
CameraDistance 45.0
//Resting Pitch. Set this so the plane spawns level. It will fall onto its collision boxes automatically, but this lets you start it flat
RestingPitch 0
HasGear True
HasWing True
ModelScale 1
accelBonus 1.5
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Plane
//Throttle
//Throttle
MaxThrottle 0.85
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 0.6
TurnLeftSpeed 0.6
//Pitch modifiers
TurnLeftSpeed 0.6
TurnLeftSpeed 0.6
//Roll modifiers
TurnLeftSpeed 0.6
TurnLeftSpeed 0.6
Drag 1.5
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.35
//Lift
//Lift 2.5
//Wheels
NumWheels 3
WheelPosition 0 -92 -22 -15
WheelPosition 1 -92 -22 15
WheelPosition 2 12 -19 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 0 38 -62 core Repair
Propeller 1 0 38 62 core Repair
Propeller 2 0 38 96 core Repair
Propeller 3 0 38 -96 core Repair
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
//Weapons
Primary BOMB
Secondary MISSILE
ShootDelayPrimary 5
ShootDelaySecondary 120
AlternatePrimary True
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 56 34 -20 core
ShootPointPrimary 34 34 -20 core
ShootPointPrimary 14 34 -20 core
ShootPointPrimary -26 34 -20 core
ShootPointPrimary -43 34 -20 core
ShootPointPrimary -60 34 -20 core
ShootPointPrimary -157 34 -20 core
ShootPointPrimary -143 34 -20 core
ShootPointPrimary -126 34 -20 core
ShootPointPrimary 56 34 20 core
ShootPointPrimary 34 34 20 core
ShootPointPrimary 14 34 20 core
ShootPointPrimary -26 34 20 core
ShootPointPrimary -43 34 20 core
ShootPointPrimary -60 34 20 core
ShootPointPrimary -157 34 20 core
ShootPointPrimary -143 34 20 core
ShootPointPrimary -126 34 20 core
ShootPointSecondary 170 45 0 core
ShootPointSecondary 130 45 0 core
ShootPointSecondary -140 45 0 core
ShootPointSecondary -180 45 0 core
// ------------------------------------------------------ Inventory ------------------------------------------------------
BulletSpeed 7.5
BulletSpread 0
CargoSlots 0
BombSlots 11
MissileSlots 4
AllowAllAmmo False
AddAmmo 250_Ib_General-Purpose_Bomb
AddAmmo 500_Ib_General-Purpose_Bomb
AddAmmo 1000_Ib_General-Purpose_Bomb
AddAmmo 1900_Ib_General-Purpose_Bomb
AddAmmo 4000_Ib_General-Purpose_Bomb
AddAmmo KAB-500KR
AddAmmo KAB-500L
AddAmmo KAB-500M64
AddAmmo KAB-500U
AddAmmo KAB-1500KR
AddAmmo KMG-U_II
AddAmmo largeBomb
AddAmmo smallBomb
AddAmmo napalm
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 337 73 -10
Passengers 3
Passenger 1 170 45 0 core -1 1 -90 -88 dummygun BombSight
Passenger 2 278 73 -10 core
Passenger 3 278 73 10 core
flightCeiling 1800
invisiblePassenger 1 true
heliGuiSeat 1 true
heliGUI bombsightgui
passengerZoom 1 0.5 



hasHUD 0 true
hudColorR 0 0
hudColorG 0 255
hudColorB 0 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound Engine_Jet_B1
StartSoundLength 20
EngineSound Engine_Jet_B1
EngineSoundLength 20
ShootSoundPrimary bomb
ShootSoundSecondary RocketFire2
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 4 Repair
AddRecipeParts rightWing 1 lostWing
AddRecipeParts leftWing 1 lostWing
AddRecipeParts tail 12 Repair
AddRecipeParts airframe 1 lostWing
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------

SetupPart core 80 304 76 -18 10 20 36
SetupPart airframe 3260 -383 49 -31 792 61 66
SetupPart tail 3260 -402 105 -28 99 90 55
SetupPart leftWing 2445 -167 52 45 162 20 375
SetupPart rightWing 2445 -161 52 -406 162 20 375
SetupPart engine 978 -224 25 -114 218 31 35
SetupPart engine2 978 -224 25 -80 218 31 35
SetupPart engine3 978 -224 25 44 218 31 35
SetupPart engine4 978 -224 25 78 218 31 35


CollisionPoint 9 10 -80 rightWing
CollisionPoint 9 10 -60 rightWing
CollisionPoint 9 10 -40 rightWing
CollisionPoint 9 10 -20 rightWing
//LeftWing
CollisionPoint 9 10 80 leftWing
CollisionPoint 9 10 60 leftWing
CollisionPoint 9 10 40 leftWing
CollisionPoint 9 10 20 leftWing
//Nose
CollisionPoint 50 15 0 core
CollisionPoint 90 15 0 core
CollisionPoint 50 15 0 core
CollisionPoint 90 15 0 core
CollisionPoint 50 15 0 core
CollisionPoint 90 15 0 core
CollisionPoint 50 15 0 core
CollisionPoint 90 15 0 core
CollisionPoint 50 15 0 core
CollisionPoint 90 15 0 core
//Tail
CollisionPoint -60 15 0 tail

BulletDetection 15


//Collison Points

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 100


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


Description Tier 3.5_Soviet Heavy Bomber_Bombload 32000kg (4k x 8)_Cruise Missiles 4_Has Radar_1800 Block Flight Ceiling
hasPlaneRadar true
radarPositionOffset 20
radarRange 2000
radarVisible true 
radarRefreshDelay 10

ReloadSoundPrimary PlaneBomb_reload1
ReloadTimePrimary 1
ReloadTimeSecondary 1
ReloadSoundSecondary PlaneBomb_reload1

EngineSoundRange 1000

HasFlare True
FlareDelay 50
FlareSound FlareAC130
TimeFlareUsing 4
LockedOnSound Lock
SoundTime 8
LockedOnSoundRange 15


//nu flight model

//kilogram mass: somewhere between empty and max takeoff weight
mass 150000

//cruise speed for afterburn planes. default is 610mph, common for most jets, but set higher if you want super cruise
cruiseSpeed 600 


//takeoff speed is anything above stall speed (mph)
//code automatically calculates engine power so this will be real takeoff speed
takeoffSpeed 147 

//code learns true lift from this (meter/second)
climbRate 180

//code learns true drag from this (mph)
//diving speed is mechanically accurate by actually adding gravity to acceleration when diving
maximumSpeed 1380   

//these two are for gun recoil in M/s
muzzleVelocity 780

//if one 50 cal bullet is 10kg but there are 6 guns, enter 60kg
projectileMass 0.5




hasAfterBurner true
//use this to rename afterburner to WEP or 110% throttle or Notleistung or whatever the fuck
afterBurnName Afterburner

//multiplier to fuel consumption when afterburner on
afterBurnFuelPenalty 1.5

//measured in seconds at 100%throttle afterburner off
labjacFuel 720