// ------------------------------------------------------ Naming ------------------------------------------------------
Name CAIC WZ-10K Fierce Thunderbolt
ShortName WZ-10K
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconwz10k
Model pla.z10k
Texture z10k
//Third Person Camera Distance
CameraDistance 15.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
HasGear False
ModelScale 1.45
// ------------------------------------------------------ Movement ------------------------------------------------------
//Movement
MaxThrottle 2.50
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.15
TurnLeftSpeed 1.15
LookUpSpeed 0.85
LookDownSpeed 0.85
RollLeftSpeed 0.45
RollLeftSpeed 0.45
Drag 0.85
//Wheels
NumWheels 3
WheelPosition 0 -92 -22 -15
WheelPosition 1 -92 -22 15
WheelPosition 2 12 -19 0
WheelSpringStrength 0.125
//Propeller
HeliPropeller 0 3 69 0 blades metalPropeller
HeliTailPropeller 0 172 59 -7 blades metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary Missile
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 5
ShootDelaySecondary 10
//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
ShootPointPrimary 8 11 -30 rightWing CVR7
ShootPointPrimary 8 11 30 leftWing CVR7
ShootPointSecondary 0 10 49 leftWing
ShootPointSecondary 0 10 -49 rightWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 10
BombSlots 0
MissileSlots 2
AllowAllAmmo True
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 25 29 0
Passengers 1
Passenger 1 57 16 0 core -80 80 -60 10 minigun PassengerGun1
GunOrigin 1 80 0 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound heloB
StartSoundLength 20
PropSound heloB
PropSoundLength 30
ShootSoundPrimary RPGShoot
ShootSoundSecondary RocketFire2
// ------------------------------------------------------ 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 350 -55 4 -13 118 31 26
SetupPart tail 350 -114 7 -13 59 28 26
SetupPart blades 500 -67 44 -51 129 5 105
SetupPart leftWing 262 -19 11 -37 27 8 26
SetupPart rightWing 262 -17 12 11 26 7 26
SetupPart engine 212 -55 20 -15 47 17 31
BulletDetection 8
ShootParticlesPrimary flansmod.fmflame 0 0 0
IsExplosionWhenDestroyed true
SpinWithoutTail true

//Damage
AddEmitter flame 1 [-52,37,16] [12,1,12] [-0.05,0,0.25] -1 1 0 0.15 core
AddEmitter flame 1 [-52,37,-16] [12,1,12] [-0.05,0,-0.25] -1 1 0 0.15 core
AddEmitter flansmod.fmsmoke 1 [-52,37,16] [12,1,12] [-0.05,0,0.25] -1 1 0 0.3 core
AddEmitter flansmod.fmsmoke 1 [-52,37,-16] [12,1,12] [-0.05,0,-0.25] -1 1 0 0.3 core

HasFlare True
FlareDelay 300
FlareSound Flare
TimeFlareUsing 5
LockedOnSound Lock
SoundTime 8

StartSound EngineStart_Heli_Generic
StartSoundLength 100
EngineSound Engine_Hel_Kamov
EngineSoundLength 40
ShootSoundPrimary S5RocketShoot
ShootSoundSecondary ATGMShoot2
PlaceSoundPrimary Spitfire_PlaceSound

LockedOnSoundRange 15

hasHUD 0 true
hudColorR 0 0
hudColorG 0 255
hudColorB 0 0