// Identity
Name F22 Raptor
ShortName modernwarfare_f22

// Item and rendering
Icon F22
Model mw.F22
Texture SkinF22
AddDye 8 silver
AddDye 8 gray
ModelScale 1.19

// Recipe
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts coreWheel 1 wheel 1 minigun
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail
AddRecipeParts rightWingWheel 1 wheel
AddRecipeParts leftWingWheel 1 wheel

// Inventory
CargoSlots 0
BombSlots 0
MissileSlots 4
AllowAllAmmo False
AddAmmo mk4Rocket
FuelTankSize 6000

// Real-world physics
RealMassKg 29410
RealEngineThrustKn 231.3
RealMaxSpeedKmh 2414
RealWingSpanM 13.56
RealWingAreaM2 78.04
RealClimbRateMs 330

// Movement
RestingPitch 5.0
HasGear True
MaxThrottle 8.0
MaxNegativeThrottle 0.0
TurnLeftSpeed 2.5
TurnRightSpeed 2.5
LookUpSpeed 3
LookDownSpeed 3
RollLeftSpeed 3.2
RollRightSpeed 3.2
Drag 1.0
WheelSpringStrength 0.125

// Weaponry
Mode Plane
Primary Gun
Secondary Missile
ShootDelayPrimary 2
ShootDelaySecondary 20
AlternatePrimary False
AlternateSecondary False
ModePrimary FullAuto
ModeSecondary FullAuto
ShootPointPrimary 46 30 24 core minigun
ShootPointSecondary -60 16 -58 leftWing
ShootPointSecondary -60 16 58 rightWing
ReadWeaponsFromGunTypes true

// Health and armour
SetupPart nose 4000 110 11 -15 48 36 29
SetupPart core 5000 46 6 -15 64 40 30
SetupPart core 5000 -39 6 -15 87 35 29
SetupPart core 5000 -39 5 14 116 31 23
SetupPart core 5000 -39 5 -37 116 31 23
SetupPart tail 4000 -145 5 -37 106 31 69
SetupPart tail 4000 -128 25 22 68 52 29
SetupPart tail 4000 -128 25 -52 67 51 29
SetupPart tail 4000 -158 24 -75 59 3 42
SetupPart tail 4000 -158 24 32 59 3 43
SetupPart rightWing 3000 -104 22 32 119 9 82
SetupPart leftWing 3000 -104 22 -115 119 9 82
BulletDetection 10
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 15.0
WheelPosition 0 -47 -10 -32
WheelPosition 1 -47 -10 32
WheelPosition 2 75 -10 0
Propeller 0 54 0 0 core metalPropeller
Pilot 103 31 0
Passengers 0
CollisionPoint 158 21 0 nose
CollisionPoint 79 46 0 core
CollisionPoint 62 24 -33 core
CollisionPoint 62 24 33 core
CollisionPoint 15 26 36 rightWing
CollisionPoint -54 24 114 rightWing
CollisionPoint 8 6 76 rightWing
CollisionPoint 30 6 47 rightWing
CollisionPoint 15 26 -37 leftWing
CollisionPoint -54 24 -114 leftWing
CollisionPoint 8 6 -76 leftWing
CollisionPoint 30 6 -47 leftWing
CollisionPoint -83 76 -50 tail
CollisionPoint -83 76 50 tail
CollisionPoint -128 26 75 tail
CollisionPoint -128 26 -75 tail

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