// Identity
Name Two Seat Biplane
ShortName TwoSeatBiplane

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

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

// Inventory
CargoSlots 16
BombSlots 0
MissileSlots 0
AllowAllAmmo False
FuelTankSize 1500

// Real-world physics
RealMassKg 830
RealEnginePowerHp 110
RealMaxSpeedKmh 145
RealWingSpanM 10.97
RealWingAreaM2 30.66
RealClimbRateMs 3.6

// Movement
RestingPitch 5.0
MaxThrottle 0.3
MaxNegativeThrottle 0.0
TurnLeftSpeed 1
TurnRightSpeed 1
RealTurnRateDegPerSec 29.02
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 bay 50 -36 -7 -10 24 10 20
SetupPart tail 50 -55 -6 -5 19 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 1
Passenger 1 -24 -4 0 bay
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 bay

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