// ------------------------------------------------------ Naming ------------------------------------------------------
Name BF109
ShortName BF109
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon BF109
Model ww2.BF109
Texture SkinBF109
//Third Person Camera Distance
CameraDistance 10.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 15.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 4.5
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 1.6
TurnRightSpeed 1.6
//Pitch modifiers
LookUpSpeed 1.5
LookDownSpeed 1.0
//Roll modifiers
RollLeftSpeed 1.15
RollRightSpeed 1.15
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1.0
//Wheels
NumWheels 3
WheelPosition 0 42 -5 -15
WheelPosition 1 42 -5 16
WheelPosition 2 -94 18 0
WheelSpringStrength 0.125
//Propeller Positions
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 54 2 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 3
ShootDelaySecondary 100
//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 69 39 6 nose mg42
ShootPointPrimary 69 39 -6 nose mg42
ShootPointPrimary 94 30 0 nose MG151
AlternatePrimary False
AlternateSecondary False
DamageModifierPrimary 50
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 10
BombSlots 0
MissileSlots 0
AllowAllAmmo False
AddAmmo largeBomb
AddAmmo smallBomb
AddAmmo napalm
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 9 25 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound propStart
StartSoundLength 20
PropSound propSound
PropSoundLength 30
ShootSoundPrimary MG42Shoot
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 silver
AddDye 3 green
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 1000 -69 16 -10 139 30 20
SetupPart nose 500 70 18 -12 25 21 20
SetupPart tail 500 -122 23 -38 52 43 76
SetupPart rightWing 500 0 22 11 52 9 120
SetupPart leftWing 500 0 22 -130 52 9 120
BulletDetection 10
//Collision points for breaking wings etc. upon crashing
CollisionPoint 49 40 10 core
CollisionPoint 49 40 -10 core
CollisionPoint 49 16 -10 core
CollisionPoint 49 16 10 core
CollisionPoint -69 24 10 core
CollisionPoint -69 24 -10 core
CollisionPoint -69 41 -10 core
CollisionPoint -69 41 10 core
CollisionPoint -14 46 10 core
CollisionPoint -14 46 -10 core
CollisionPoint -14 17 -10 core
CollisionPoint -14 17 10 core
CollisionPoint -6 21 -11 leftWing
CollisionPoint -6 18 -11 leftWing
CollisionPoint -3 20 -32 leftWing
CollisionPoint -3 23 -32 leftWing
CollisionPoint 17 33 -129 leftWing
CollisionPoint 18 29 -129 leftWing
CollisionPoint 38 29 -129 leftWing
CollisionPoint 38 34 -129 leftWing
CollisionPoint 47 25 -32 leftWing
CollisionPoint 47 22 -32 leftWing
CollisionPoint 48 18 -11 leftWing
CollisionPoint 48 23 -11 leftWing
CollisionPoint -6 21 11 rightWing
CollisionPoint -6 18 11 rightWing
CollisionPoint -3 20 32 rightWing
CollisionPoint -3 23 32 rightWing
CollisionPoint 17 33 129 rightWing
CollisionPoint 18 29 129 rightWing
CollisionPoint 38 29 129 rightWing
CollisionPoint 38 34 129 rightWing
CollisionPoint 47 25 32 rightWing
CollisionPoint 47 22 32 rightWing
CollisionPoint 48 18 11 rightWing
CollisionPoint 48 23 11 rightWing
CollisionPoint -70 41 10 tail
CollisionPoint -70 41 -10 tail
CollisionPoint -70 24 -10 tail
CollisionPoint -70 24 10 tail
CollisionPoint -109 30 2 tail
CollisionPoint -109 30 -2 tail
CollisionPoint -115 64 -1 tail
CollisionPoint -115 64 1 tail
CollisionPoint -109 65 1 tail
CollisionPoint -109 65 -1 tail
CollisionPoint -100 62 -1 tail
CollisionPoint -100 62 1 tail
CollisionPoint -87 38 1 tail
CollisionPoint -87 38 -1 tail
CollisionPoint -96 23 1 tailWheel
CollisionPoint -96 23 -1 tailWheel
CollisionPoint -91 23 1 tailWheel
CollisionPoint -91 23 -1 tailWheel
CollisionPoint -91 21 -1 tailWheel
CollisionPoint -91 21 1 tailWheel
CollisionPoint -96 21 1 tailWheel
CollisionPoint -96 21 -1 tailWheel
CollisionPoint 50 40 10 nose
CollisionPoint 50 40 -10 nose
CollisionPoint 50 17 -10 nose
CollisionPoint 50 17 10 nose
CollisionPoint 70 17 10 nose
CollisionPoint 71 17 -10 nose
CollisionPoint 71 39 -10 nose
CollisionPoint 71 39 10 nose
CollisionPoint 95 31 1 nose
CollisionPoint 95 31 -1 nose
CollisionPoint 95 29 -1 nose
CollisionPoint 95 29 1 nose