// Identity
Name B-52
ShortName B52

// Item and rendering
Icon B52
Model mw.B52
Texture SkinB52
AddDye 15 silver
AddDye 15 gray
ModelScale 1

// Recipe
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts coreWheel 4 largeWheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 2 metalWingSection
AddRecipeParts leftWing 2 metalWingSection
AddRecipeParts tail 1 metalTail

// Inventory
CargoSlots 0
BombSlots 4
MissileSlots 0
AllowAllAmmo False
AddAmmo largeBomb
AddAmmo smallBomb
AddAmmo napalm
FuelTankSize 6000

// Real-world physics
RealMassKg 120000
RealEngineThrustKn 604.96
RealMaxSpeedKmh 1046
RealWingSpanM 56.4
RealWingAreaM2 370
RealClimbRateMs 31.85

// Movement
RestingPitch 0.0
HasGear True
MaxThrottle 5.5
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.5
TurnRightSpeed 1.5
LookUpSpeed 1.5
LookDownSpeed 1.5
RollLeftSpeed 1
RollRightSpeed 1
Drag 1.0
WheelSpringStrength 0.125
HasGear True

// Weaponry
Mode Plane
Secondary Bomb
ShootDelayPrimary 50
ShootDelaySecondary 50
AlternatePrimary False
AlternateSecondary True
ModePrimary FullAuto
ModeSecondary FullAuto
ShootPointSecondary 0 16 10 core 0
ShootPointSecondary -47 16 10 core 0
ShootPointSecondary 78 16 10 core 0
ShootPointSecondary 155 16 10 core 0
ShootPointSecondary 207 16 10 core 0
ShootPointSecondary 0 16 -10 core 0
ShootPointSecondary -47 16 -10 core 0
ShootPointSecondary 78 16 -10 core 0
ShootPointSecondary 155 16 -10 core 0
ShootPointSecondary 207 16 -10 core 0
ReadWeaponsFromGunTypes true

// Health and armour
BulletDetection 10
SetupPart leftWing 5000 -39 21 7 81 5 106
SetupPart rightWing 5000 -40 22 -112 82 5 105
SetupPart nose 6000 28 18 -10 56 24 20
SetupPart core 7000 -5 19 -11 33 23 21
SetupPart tail 5000 -94 18 -46 89 55 94
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 50.0
WheelPosition 0 -98 -10 -28
WheelPosition 1 -98 -10 27
WheelPosition 2 220 -10 0
Propeller 0 29 -41 21 core metalPropeller
Propeller 1 29 -41 -21 core metalPropeller
Pilot 412 69 -13
Passengers 5
Passenger 1 412 69 13 core
Passenger 2 385 34 16 core
Passenger 3 385 34 -16 core
Passenger 4 309 60 9 core
Passenger 5 309 60 -9 core

// Sounds and particles
StartSound JetIdle
StartSoundLength 140
PropSound JetEngine2
PropSoundLength 47
ShootSoundPrimary bomb
ShootSoundSecondary bomb