// ------------------------------------------------------ Naming ------------------------------------------------------
Name Zero
ShortName zero
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon Zero
Model ww2.Zero
Texture Zero
//Third Person Camera Distance
CameraDistance 8.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 8.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 Plane
//Throttle
MaxThrottle 5.0
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2.4
TurnRightSpeed 2.4
//Pitch modifiers
LookUpSpeed 2.3
LookDownSpeed 2.3
//Roll modifiers
RollLeftSpeed 2.4
RollRightSpeed 2.4
ForwardSpeed 1.275
HeightLimit 330
//Wheels
NumWheels 3
WheelPosition 0 26 -36 -31
WheelPosition 1 26 -36 31
WheelPosition 2 -68 -18 0
WheelSpringStrength 0.125
//Propeller Positions
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 0 0 0 nose metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary Bomb
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 2
ShootDelaySecondary 30
//Whether to alternate or fire all together
AlternatePrimary False
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 80 11 6 nose type99
ShootPointPrimary 80 11 -6 nose type99
ShootPointSecondary -30 -22 0
DamageModifierPrimary 5
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 2
MissileSlots 0
AllowAllAmmo False
AddAmmo smallBomb
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 10 2 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound propStart
StartSoundLength 20
PropSound propSound
PropSoundLength 30
ShootSoundPrimary PlaneShoot
ShootSoundSecondary 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 metalCockpit
AddRecipeParts coreWheel 2 wheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts bay 1 bombBay
AddRecipeParts tail 1 metalTail
AddRecipeParts tailWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 white
AddDye 1 red
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 1000 -10 -9 -13 33 31 26
SetupPart nose 500 26 -9 -13 31 23 26
SetupPart rightWing 250 -4 -3 13 36 3 94
SetupPart leftWing 250 -4 -3 -101 36 3 94
SetupPart bay 250 -45 -9 -13 36 23 26
SetupPart tail 250 -78 -6 -10 30 18 21
ModelScale 1.3
BulletDetection 10
//Collision points for breaking wings etc. upon crashing
//RightWing
CollisionPoint 9 -3 80 rightWing
CollisionPoint 9 -3 60 rightWing
CollisionPoint 9 -3 40 rightWing
CollisionPoint 9 -3 20 rightWing
//LeftWing
CollisionPoint 9 -3 -80 leftWing
CollisionPoint 9 -3 -60 leftWing
CollisionPoint 9 -3 -40 leftWing
CollisionPoint 9 -3 -20 leftWing
//Nose
CollisionPoint 20 2 0 nose
CollisionPoint 40 2 0 nose
//Bay
CollisionPoint -60 2 0 bay
CollisionPoint -40 2 0 bay
//Tail
CollisionPoint -80 2 0 tail