 // ------------------------------------------------------ Naming ------------------------------------------------------
Name Huey Cobra
ShortName cobra
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon Cobra
Model dpn.Cobra
Texture Skin_Plane_Cobra
//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
// ------------------------------------------------------ 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.80
MaxNegativeThrottle 0.20
//Yaw modifiers
TurnLeftSpeed 3
TurnRightSpeed 3
//Pitch modifiers
LookUpSpeed 3
LookDownSpeed 3
//Roll modifiers
RollLeftSpeed 4
RollRightSpeed 4
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.95
//Lift
Lift 3.5
//Wheels (Fake wheels imitating skids)
NumWheels 4
WheelPosition 0 -32 -5 -24
WheelPosition 1 -32 -5 24
WheelPosition 2 48 -5 24
WheelPosition 3 48 -5 -24
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
HeliPropeller 0 0 48 0 blades metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Missile
Secondary Gun
AddGun 12 10 29 turret vechMG
AddGun 12 10 -29 turret vechMG

//Time between shots in 1/20ths of seconds
ShootDelayPrimary 30
ShootDelaySecondary 2
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 12 10 45 rightWing
ShootPointPrimary 12 10 -35 leftWing
HasFlare True
FlareDelay 200
FlareSound FlareDeploy
TimeFlareUsing 1
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 0
MissileSlots 2
AllowAllAmmo False
AddAmmo Rocket
AddAmmo WGRocket
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 3000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 30 11 0 -50 50 -20 10
Passengers 1
Passenger 1 49 6 0 nose -20 20 -20 10 AH1CobraGun PassengerGun0
GunOrigin 1 55 1 0
PassengerGun1ShootDelay 5
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound HelicopterStart
StartSoundLength 100
PropSound Helicopter2
PropSoundLength 50
ShootSoundPrimary HeliRocket
ShootSoundSecondary CobraGun
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts skids 2 helicopterSkid
AddRecipeParts blades 2 helicopterBlade
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail 1 passengerBay 1 metalPropeller
//rightWing, nose, turret, coreWheel, core
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 green
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 400 -23 0 -11 84 35 23
SetupPart tail 300 -105 2 -10 80 21 20
SetupPart leftWing 100 -12 15 -42 24 5 30
SetupPart rightWing 100 -12 15 12 24 5 30
SetupPart blades 200 -20 35 -9 40 7 18
SetupPart skids 100 -24 -9 -24 72 3 48
BulletDetection 8

EngineSoundRange 125
SoundTime 10
LockedOnSound MissileLock
SoundTime 15
LockingOnSound LockingOn
SoundTime 10
LockOnSound Fire