//Naming
Name AH-1Z Super Cobra - Grey
ShortName AH1ZGrey
ItemID 28221
//Visuals
Icon IconPlaneAH1ZGrey
Model manus_modern_warfare.AH1Z
Texture SkinPlaneAH1ZGrey
//Third Person Camera Distance
CameraDistance 5.0
//Throttle
MaxThrottle 5.0
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2
TurnRightSpeed 2
//Pitch modifiers
LookUpSpeed 2
LookDownSpeed 2
//Roll modifiers
RollLeftSpeed 2
RollRightSpeed 2
//Drag (A (maxThrottle * numPropellers) : drag ratio of 1 : 1 with mass should keep the plane going at some reasonable speed at full throttle
Drag 0.98
//Lift (A lift : mass ratio of 1 : 1 should keep the plane perfectly level at full throttle
Lift 3.2
//Mass (In tons)
Mass 2.7
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 10.0
//More bounciness means the vehicle will bounce more upon going up slopes, but fall through the ground less
Bounciness 1.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
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 4000
AddGun 13 1 -27 leftWing M148JavelinDep
AddGun 13 1 27 rightWing M148JavelinDep
ShootDelay 7
//Bombs (Bomb delay is in 1/20ths of seconds)
BombDelay 1
BombPosition 7 -10 0
//Inventory Slots
CargoSlots 0
BombSlots 0
//Propeller Positions
Propeller 0 0 0 0 core 27036_Part_Propeller_RotorHeli
Propeller 1 0 0 0 tail 27036_Part_Propeller_RotorHeli
//Passengers
Pilot 13 7 0
Passengers 1
//Passenger <ID> <x> <y> <z> <part> [minYaw] [maxYaw] [minPitch] [maxPitch] [gunType] [gunModelName]
Passenger 1 32 2 0 nose -100 100 -50 10 M134 TURRET
//Sounds
StartSound propStart
StartSoundLength 20
PropSound LancasterProp
PropSoundLength 49
ShootSound gatling
BombSound bomb
//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 1 27057_Part_Cockpit_Heli 8 27010_Mat_Plate_Steel
AddRecipeParts nose 1 27077_Part_Nose_Plane 4 27010_Mat_Plate_Steel
AddRecipeParts tail 1 27052_Part_Tail_Heli 12 27010_Mat_Plate_Steel
AddRecipeParts leftWing 1 27032_Part_Wing_Heli 3 27010_Mat_Plate_Steel
AddRecipeParts rightWing 1 27032_Part_Wing_Heli 3 27010_Mat_Plate_Steel
AddRecipeParts coreWheel 10 27010_Mat_Plate_Steel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 white
SetupPart nose 100 46 -3 -9 20 20 18
SetupPart core 400 -26 -3 -10 72 34 20
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
HasGear True
HasDoor True
ModelScale 1