// Identity
Name Mi-24 Hind
ShortName hind

// Item and rendering
Icon Hind
Model mw.Hind
FlashModel DefaultFlash
Texture Hind
AddDye 10 yellow

// Recipe
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts skids 2 helicopterSkid
AddRecipeParts blades 5 helicopterBlade
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail 1 passengerBay 1 metalPropeller

// Inventory
CargoSlots 0
BombSlots 0
MissileSlots 8
AllowAllAmmo False
AddAmmo mk4Rocket
FuelTankSize 5000

// Real-world physics
RealMassKg 12000
RealEnginePowerHp 4400
RealMaxSpeedKmh 335
RealRotorDiameterM 17.3
RealClimbRateMs 12.5

// Movement
RestingPitch 0.0
MaxThrottle 3.5
MaxNegativeThrottle 0.0
TurnLeftSpeed 2
TurnRightSpeed 2
RealTurnRateDegPerSec 18.4
LookUpSpeed 2
LookDownSpeed 2
RollLeftSpeed 2
RollRightSpeed 2
Drag 1.0
WheelSpringStrength 0.125

// Weaponry
Mode Heli
Primary Missile
Secondary None
ShootDelayPrimary 20
ShootDelaySecondary 0
AlternatePrimary False
AlternateSecondary False
ModePrimary FullAuto
ModeSecondary FullAuto
ShootPointPrimary -13 7 -53 rightWing
ShootPointPrimary -13 7 53 leftWing
GunOrigin 1 68 -29.1 0
ReadWeaponsFromGunTypes true

// Health and armour
SetupPart core 3000 -94 -9 -18 215 67 36
SetupPart tail 2000 -242 32 -10 148 26 20
SetupPart leftWing 1000 -39 2 -83 25 33 65
SetupPart rightWing 1000 -39 2 18 25 33 65
SetupPart blades 1000 -30 68 -30 60 2 60
BulletDetection 10
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 20.0
WheelPosition 0 81 -27 0
WheelPosition 1 -19 -27 34
WheelPosition 2 -19 -27 -34
HeliPropeller 0 0 48 0 blades metalPropeller
Pilot 64 18 0
Passengers 5
Passenger 1 88 4 0 nose -90 90 -90 5 rpd Nose
Passenger 2 -50 6 12 nose -360 30 -360 1
Passenger 3 -50 6 -12 nose -360 30 -360 2
Passenger 4 -40 6 12 nose -360 30 -360 3
Passenger 5 -40 6 -12 nose -360 30 -360 4

// Sounds and particles
StartSound HelicopterStart
StartSoundLength 100
PropSound Helicopter1
PropSoundLength 93
ShootSoundPrimary RocketFire1