// Identity
Name Biplane
ShortName Biplane

// Item and rendering
Icon Biplane
Model yeolde.Biplane
Texture Biplane

// Recipe
AddRecipeParts core 1 woodenCockpit
AddRecipeParts coreWheel 2 wheel
AddRecipeParts rightWing 1 biplaneWing
AddRecipeParts leftWing 1 biplaneWing
AddRecipeParts topWing 2 string
AddRecipeParts tail 1 woodenTail
AddRecipeParts tailWheel 1 wheel

// Inventory
CargoSlots 36
BombSlots 0
MissileSlots 0
AllowAllAmmo False
FuelTankSize 1000

// Real-world physics
RealMassKg 659
RealEnginePowerHp 130
RealMaxSpeedKmh 185
RealWingSpanM 8.53
RealWingAreaM2 21.46
RealClimbRateMs 5.5

// Movement
RestingPitch 5.0
MaxThrottle 0.2
MaxNegativeThrottle 0.0
TurnLeftSpeed 1
TurnRightSpeed 1
LookUpSpeed 1
LookDownSpeed 1
RollLeftSpeed 1
RollRightSpeed 1
Drag 0.5
WheelSpringStrength 0.125

// Weaponry
Mode Plane
Primary None
Secondary None
ShootDelayPrimary 0
ShootDelaySecondary 0
AlternatePrimary False
AlternateSecondary False
ModePrimary FullAuto
ModeSecondary FullAuto
ReadWeaponsFromGunTypes true

// Health and armour
SetupPart core 50 -12 -7 -11 24 10 22
SetupPart coreWheel 20 0 -15 -7 4 8 14
SetupPart rightWing 25 -9 -2 -50 18 2 41
SetupPart leftWing 25 -9 -2 9 18 2 41
SetupPart topWing 50 -9 18 -50 18 2 100
SetupPart tail 50 -51 -6 -5 40 8 10
SetupPart tailWheel 10 -48 -10 -1 4 4 2
BulletDetection 5
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 6.0
WheelPosition 0 2 -13 -6
WheelPosition 1 2 -13 6
WheelPosition 2 -46 -8 0
Propeller 0 14 0 0 core woodenPropeller
Pilot 0 -4 0
Passengers 0
CollisionPoint 0 -2 20 rightWing
CollisionPoint 0 -2 40 rightWing
CollisionPoint 0 -2 -20 leftWing
CollisionPoint 0 -2 -40 leftWing
CollisionPoint 0 18 -40 topWing
CollisionPoint 0 18 -20 topWing
CollisionPoint 0 18 0 topWing
CollisionPoint 0 18 20 topWing
CollisionPoint 0 18 40 topWing
CollisionPoint -40 -2 0 tail
CollisionPoint -20 -2 0 tail

// Sounds and particles
StartSound propStart
StartSoundLength 20
PropSound propSound
PropSoundLength 30
ShootSound PlaneShoot
BombSound bomb