// ------------------------------------------------------ Naming ------------------------------------------------------
Name UH60MK19 Blackhawk
ShortName UH60Mk19
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon BlackHawk
Model dpn.UH60MK19
Texture Skin_Plane_UH60MK19
//Third Person Camera Distance
CameraDistance 15.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.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Heli
//Throttle
MaxThrottle 0.85
//Yaw modifiers
TurnRightSpeed 2
//Pitch modifiers
LookUpSpeed 3
LookDownSpeed 3
//Roll modifiers
RollLeftSpeed 2
RollRightSpeed 2

SpinWithoutTail True
HasDoor True
HasGear False
HasFlare True
FlareDelay 200
FlareSound FlareDeploy
TimeFlareUsing 1
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1.00
//Lift
Lift 2.3 
EmptyDrag 3
HeliThrottlePull false
//Wheels (Fake wheels imitating skids)
NumWheels 3
WheelPosition 0 81 -7 0
WheelPosition 1 -19 -7 34
WheelPosition 2 -19 -7 -34
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
HeliPropeller 0 0 48 0 blades metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 60
BombSlots 0
MissileSlots 0
AllowAllAmmo False
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 8000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 64 2 10 -50 50 -20 10
Passengers 9
Passenger 1 64 1 -11 core
Passenger 2 40 0 -14 core -130 -10 -20 20 lw_gun_MK19 PassengerGun2
GunOrigin 2 40 16 34
Passenger 3 40 0 14 core -10 130 -20 20 lw_gun_MK19 PassengerGun3
GunOrigin 3 40 16 -34
Passenger 4 14 2 12 core
Passenger 5 14 2 -2 core
Passenger 6 14 2 -15 core
Passenger 7 -2 2 -15 core
Passenger 8 -3 2 -2 core
Passenger 9 -2 2 12 core
ShootDelay 5




// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound UH60Start
StartSoundLength 50
PropSound UH60Idle
PropSoundLength 50
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts skids 3 wheel
AddRecipeParts blades 4 helicopterBlade
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail 1 passengerBay 1 metalPropeller
//rightWing, nose, turret, coreWheel, core
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 black
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 300 -60 -5 -10 140 42 20
SetupPart skids 50 -24 -15 -20 72 2 40
SetupPart blades 200 -24 39 -20 48 16 40
SetupPart rightWing 50 -12 1 -38 24 2 28
SetupPart leftWing 50 -12 1 10 24 2 28
SetupPart tail 100 -140 6 -3 76 24 18
BulletDetection 1

EngineSoundRange 125
SoundTime 10
LockedOnSound MissileLock
SoundTime 15
LockingOnSound LockingOn
SoundTime 10
LockOnSound Fire