// ------------------------------------------------------ Naming ------------------------------------------------------
Name Sukhoi Su-57 Felon
ShortName Su-57
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconsu57
Model russia.su57
Texture su57
//Third Person Camera Distance
CameraDistance 15.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 0.0
HasGear True
ModelScale 1.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 0.85
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 1.87
TurnRightSpeed 1.87
//Pitch modifiers
LookUpSpeed 0.95
LookDownSpeed 0.95
//Roll modifiers
RollLeftSpeed 1.58
RollRightSpeed 1.58
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.55
//Wheels
NumWheels 3
WheelPosition 0 -70 -10 -54
WheelPosition 1 -70 -10 54
WheelPosition 2 50 -10 0
WheelSpringStrength 0.125
//Propeller Positions
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 0 0 0 core Repair
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
ShootParticlesPrimary flansmod.fmflame 0 0 0
ShootParticlesSecondary flansmod.fmflame 0 0 0
Secondary Missile
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 1
ShootDelaySecondary 5
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary SemiAuto
ShootPointPrimary 77 36 18 core rpd
ShootPointSecondary -26 27 -106 leftWing
ShootPointSecondary -26 27 106 rightWing
ShootPointSecondary -26 27 -90 leftWing
ShootPointSecondary -26 27 90 rightWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 0
MissileSlots 4
AllowAllAmmo False
AddAmmo R-27
AddAmmo R-27T
AddAmmo R-60
AddAmmo R-73
AddAmmo R-77
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 1000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 89 36 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound Engine_Idle_Flanker
StartSoundLength 100
PropSound Engine_Jet_Flanker
PropSoundLength 88
ShootSoundPrimary JetShoot
ShootSoundSecondary GSHShoot
flightCeiling 2000
// ------------------------------------------------------ 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 5 Repair
AddRecipeParts airframe 1 lostWing
AddRecipeParts rightWing 1 lostWing
AddRecipeParts leftWing 1 lostWing
AddRecipeParts tail 20 Repair
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart airframe 640 -165 12 -44 183 36 100
SetupPart tail 640 -168 7 -37 73 40 78
SetupPart rightWing 290 -138 23 50 150 6 91
SetupPart leftWing 290 -135 30 -137 150 6 91
SetupPart core 40 83 30 -5 10 20 10
SetupPart nose 640 19 20 -19 135 31 39
SetupPart engine2 220 -188 7 -39 73 40 25
SetupPart engine 220 -188 7 14 73 40 25


BulletDetection 3
//Collision points for breaking wings etc. upon crashing
//RightWing
CollisionPoint 9 30 -80 rightWing
CollisionPoint 9 30 -60 rightWing
CollisionPoint 9 30 -40 rightWing
CollisionPoint 9 30 -20 rightWing
//LeftWing
CollisionPoint 9 30 80 leftWing
CollisionPoint 9 30 60 leftWing
CollisionPoint 9 30 40 leftWing
CollisionPoint 9 30 20 leftWing
//Nose
CollisionPoint 50 55 0 core
CollisionPoint 90 55 0 core
CollisionPoint 50 55 0 core
CollisionPoint 90 55 0 core
CollisionPoint 50 55 0 core
CollisionPoint 90 55 0 core
CollisionPoint 50 55 0 core
CollisionPoint 90 55 0 core
//Tail
CollisionPoint -60 35 0 tail
BulletSpeed 8
BulletSpread 0
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 80

hasPlaneRadar true
radarPositionOffset 20
radarRange 2000
radarVisible false
radarRefreshDelay 10
EngineSoundRange 1000
ReloadSoundPrimary PG_reload
ReloadTimePrimary 50
ReloadTimeSecondary 80
ReloadSoundSecondary PlaneBomb_reload1
EngineSoundRange 1000
HasFlare True
FlareDelay 220
FlareSound Flare
TimeFlareUsing 6
LockedOnSound Lock
SoundTime 8
LockedOnSoundRange 15
Stealth True

//nu flight model

//kilogram mass: somewhere between empty and max takeoff weight
mass 20000

//cruise speed for afterburn planes. default is 610mph, common for most jets, but set higher if you want su
cruiseSpeed 870   


//takeoff speed is anything above stall speed (mph)
//code automatically calculates engine power so this will be real takeoff speed
takeoffSpeed 149

//code learns true lift from this (meter/second)
climbRate 738

//code learns true drag from this (mph)
//diving speed is mechanically accurate by actually adding gravity to acceleration when diving
maximumSpeed 1320 

//these two are for gun recoil in M/s
muzzleVelocity 900

//if one 50 cal bullet is 10kg but there are 6 guns, enter 60kg controls locking up at high speed
projectileMass 0.5

hasAfterBurner true
//use this to rename afterburner to WEP or 110% throttle or Notleistung or whatever the fuck
afterBurnName Afterburner

//multiplier to fuel consumption when afterburner on
afterBurnFuelPenalty 1.5

//measured in seconds at 100%throttle afterburner off
labjacFuel 720

//afterburner particle emitter
particleAfterBurn flansmod.fmflame 1 [-141,23,-17] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-141,23,17] [3,3,3] [3,0,0] tail

//multiplier to fuel consumption when afterburner on
afterBurnFuelPenalty 3

//measured in seconds at 100%throttle afterburner off
labjacFuel 720

particleAfterBurn flansmod.fmflame 1 [-221,25,27] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-221,25,-27] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-221,25,27] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-221,25,-27] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-221,25,27] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-221,25,-27] [3,3,3] [3,0,0] tail