// Identity
Name EC665 "Tiger"
ShortName EC665

// Item and rendering
Icon EC665
Model mw.EC665
Texture EurocopterCamo
AddDye 3 green
AddDye 3 lime
AddDye 4 black

// Recipe
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 metalPropeller

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

// Real-world physics
RealMassKg 6600
RealEnginePowerHp 2606
RealMaxSpeedKmh 290
RealRotorDiameterM 13.0
RealClimbRateMs 10.7

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

// Weaponry
Mode Heli
Primary Gun
Secondary Missile
ShootDelayPrimary 2
ShootDelaySecondary 10
AlternatePrimary False
AlternateSecondary True
ModePrimary FullAuto
ModeSecondary FullAuto
ShootPointPrimary 27 21 -31 leftWing m60
ShootPointSecondary 27 21 31 rightWing
GunOrigin 1 27 -5 -31
ReadWeaponsFromGunTypes true

// Optics
heliGuiSeat 1 true
heliGUI official_helioptics
passengerZoom 1 2

// Health and armour
SetupPart core 3000 -109 4 -12 212 47 24
SetupPart tail 2000 -183 10 -7 74 31 14
SetupPart leftWing 1000 -6 25 -45 21 6 33
SetupPart rightWing 1000 -6 25 12 21 6 33
SetupPart blades 1000 -125 63 -125 250 4 250
BulletDetection 10
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 15.0
WheelPosition 0 32 -10 -24
WheelPosition 1 32 -10 24
WheelPosition 2 -156 -10 0
HeliPropeller 0 0 48 0 blades metalPropeller
Pilot 53 15 0
Passengers 1
Passenger 1 28 26 0 core -10 10 -10 10 stinger Stinger

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