// ------------------------------------------------------ Naming ------------------------------------------------------
Name Harbin Z-8 Super Frelon
ShortName Z-8
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconz8
Model pla.z8
Texture z8
//Third Person Camera Distance
CameraDistance 25.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.8
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 1.1
TurnRightSpeed 1.1
//Pitch modifiers
LookUpSpeed 1.1
LookDownSpeed 1.1
//Roll modifiers
RollLeftSpeed 1.1
RollRightSpeed 1.1
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1.6
//Lift
Lift 2.5
//Wheels (Fake wheels imitating skids)
NumWheels 3
WheelPosition 0 10 -10 -44
WheelPosition 1 10 -10 44
WheelPosition 2 151 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
//Propeller Positions
HeliPropeller 0 1 -50 -0,5 blades metalPropeller
HeliPropeller 1 135 -49 -2 blades metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary None
Secondary None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 20
ShootDelaySecondary 0
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary SemiAuto
ModeSecondary SemiAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 10
BombSlots 0
MissileSlots 0
AllowAllAmmo True
AddAmmo mk4Rocket
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 160 39 12
Passengers 6
Passenger 1 160 39 -12 core
Passenger 2 113 28 -15 core
Passenger 3 75 28 -15 core
Passenger 4 44 28 -15 core
Passenger 5 75 28 15 core
Passenger 6 44 28 15 core
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound HelicopterStart
StartSoundLength 100
PropSound heloL
PropSoundLength 30
//ShootSoundPrimary bomb
//ShootSoundSecondary None
// ------------------------------------------------------ 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 3 passengerBay
AddRecipeParts nose 1 advancedMetalCockpit
AddRecipeParts coreWheel 4 wheel
AddRecipeParts blades 6 helicopterBlade
AddRecipeParts tail 1 metalTail
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 green
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 450 -59 -1 -21 165 45 44
BulletDetection 24

IsExplosionWhenDestroyed
SpinWithoutTail true