// Identity
Name AH-1Z Viper
ShortName AH1ZGreen

// Model and Rendering
Icon IconPlaneAH1ZGreen
Model manus_modern_warfare.AH1Z
Texture SkinPlaneAH1ZGreen
HasDoor True
ModelScale 1

// Paintjobs
Paintjob IconPlaneAH1ZGrey SkinPlaneAH1ZGrey white 10

// Recipe and Inventory
FuelTankSize 4000
CargoSlots 0
BombSlots 0
AddRecipeParts core 1 Part_Cockpit_Heli 8 Mat_Plate_Steel
AddRecipeParts nose 1 Part_Nose_Plane 4 Mat_Plate_Steel
AddRecipeParts tail 1 Part_Tail_Heli 12 Mat_Plate_Steel
AddRecipeParts leftWing 1 Part_Wing_Heli 3 Mat_Plate_Steel
AddRecipeParts rightWing 1 Part_Wing_Heli 3 Mat_Plate_Steel
AddRecipeParts coreWheel 10 Mat_Plate_Steel
AddDye 10 green

// Movement and Physics
Mode Heli
MaxThrottle 2.0
MaxNegativeThrottle 0.0
TurnLeftSpeed 2
TurnRightSpeed 2
LookUpSpeed 2
LookDownSpeed 2
RollLeftSpeed 2
RollRightSpeed 2
Drag 0.98
Lift 3.2
RestingPitch 0.0
HasGear False
RealMassKg 8391
RealEnginePowerHp 2680
RealMaxSpeedKmh 296
RealTurnRateDegPerSec 21.76
RealRotorDiameterM 14.63
RealClimbRateMs 14.2

// Weapons
AddGun 13 1 -27 leftWing M148JavelinDep
AddGun 13 1 27 rightWing M148JavelinDep
ShootDelay 7
BombDelay 1
BombPosition 7 -10 0
ReadWeaponsFromGunTypes true

// Protection
UseRealisticVehicleHealth true

// Parts and Seats
CameraDistance 5.0
WheelPosition 0 18 -8 -19 coreWheel
WheelPosition 1 18 -8 19 coreWheel
WheelPosition 2 -16 -8 -19 coreWheel
WheelPosition 3 -16 -8 19 coreWheel
HeliPropeller 0 0 41 0 blades SMP_Part_Propeller_RotorHeli
HeliTailPropeller 0 -111 33 3 tail SMP_Part_Propeller_RotorHeli
Pilot 13 7 0
Passengers 1
Passenger 1 32 2 0 nose -100 100 -50 10 M134 TURRET
GunOrigin 1 27 -22.1 2.5
SetupPart nose 100 46 -3 -9 20 20 18
SetupPart core 400 -26 -3 -10 72 34 20
SetupPart blades 150 -90 39 -90 180 4 180
SetupPart tail 300 -104 -3 -9 78 23 18
SetupPart leftWing 300 -14 -2 10 26 12 21
SetupPart coreWheel 100 -24 -10 -20 51 10 40
SetupPart rightWing 300 -14 -2 -31 26 12 21
BulletDetection 25

// Sounds
StartSound HelicopterStart
StartSoundLength 100
PropSound Helicopter1
PropSoundLength 93
ShootSound gatling
BombSound bomb
