// ------------------------------------------------------ Naming ------------------------------------------------------
Name Sukhoi Su-25 Frogfoot
ShortName Su-25
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconsu25
Model russia.su25
Texture su25
//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 5.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.5
TurnRightSpeed 1.5
//Pitch modifiers
LookUpSpeed 1.9
LookDownSpeed 1.9
//Roll modifiers
RollLeftSpeed 2.4
RollRightSpeed 2.4
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1.1
//Lift
//Lift 2.5
//Wheels
NumWheels 3
WheelPosition 0 -14 -10 -31
WheelPosition 1 -14 -10 31
WheelPosition 2 54 -16 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 54 0 0 core Repair
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Missile
Secondary Bomb
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 20
ShootDelaySecondary 30
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary SemiAuto
ModeSecondary SemiAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 38 17 -40 leftWing
ShootPointPrimary 34 17 -55 leftWing
ShootPointPrimary 37 19 -71 leftWing
ShootPointPrimary 38 17 40 rightWing
ShootPointPrimary 34 17 55 rightWing
ShootPointPrimary 37 19 71 leftWing
ShootPointSecondary -5 15 -86 leftWing
ShootPointSecondary -9 16 -102 leftWing
ShootPointSecondary -5 15 86 rightWing
ShootPointSecondary -9 16 102 rightWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 4
MissileSlots 6
AllowAllAmmo False
AddAmmo R-27
AddAmmo R-27T
AddAmmo R-60
AddAmmo R-73
AddAmmo R-77
AddAmmo 250_Ib_General-Purpose_Bomb
AddAmmo 500_Ib_General-Purpose_Bomb
AddAmmo KAB-500KR
AddAmmo KAB-500L
AddAmmo KAB-500M64
AddAmmo KAB-500U
AddAmmo largeBomb
AddAmmo smallBomb
AddAmmo napalm
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 67 20 0
Passengers 0
flightCeiling 1200
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound JetStart
StartSoundLength 205
PropSound JetFly
PropSoundLength 60
ShootSoundPrimary MissileShoot
ShootSoundSecondary bomb
// ------------------------------------------------------ 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 4 Repair
AddRecipeParts rightWing 1 lostWing
AddRecipeParts leftWing 1 lostWing
AddRecipeParts tail 12 Repair
AddRecipeParts airframe 1 lostWing
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------

SetupPart core 100 -26 18 -5 10 20 10
SetupPart rightWing 160 -46 7 0 55 5 114
SetupPart airframe 350 -62 -11 -21 166 29 42
SetupPart leftWing 160 -46 7 -114 55 5 114
SetupPart tail 130 -116 -3 -18 58 40 36
BulletDetection 6


//Collison Points
CollisionPoint 155 65 0 core
CollisionPoint 116 65 0 core
CollisionPoint 155 65 0 core
CollisionPoint 116 65 0 core
CollisionPoint 23 42 -34 leftWing
CollisionPoint -41 42 -35 leftWing
CollisionPoint -42 42 -98 leftWing
CollisionPoint 2 42 -98 leftWing
CollisionPoint -27 42 -154 leftWing
CollisionPoint 23 42 34 rightWing
CollisionPoint -41 42 35 rightWing
CollisionPoint -42 42 98 rightWing
CollisionPoint 2 42 98 rightWing
CollisionPoint -27 42 154 rightWing

BulletSpeed 8.50
BulletSpread 1

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 50


hasPlaneRadar true
radarPositionOffset 20
radarRange 2000
radarVisible true 
radarRefreshDelay 10

ReloadSoundPrimary PG_reload
ReloadTimePrimary 80
ReloadTimeSecondary 160
ReloadSoundSecondary PlaneBomb_reload1

EngineSoundRange 1000

HasFlare True
FlareDelay 200
FlareSound Flare
TimeFlareUsing 5
LockedOnSound Lock
SoundTime 8
LockedOnSoundRange 15

ShootParticlesPrimary cloud 0 0 0
ShootParticlesSecondary cloud 1 0 0
ShootParticlesSecondary cloud -1 0 0
ShootParticlesSecondary explode -1 0 0


AddEmitter explode 1 [-72,19,18] [1,1,1] [-3,0,0] 0.05 0.2 0 1 tail
AddEmitter explode 1 [-72,19,-18] [1,1,1] [-3,0,0] 0.05 0.2 0 1 tail
AddEmitter explode 1 [-72,19,18] [1,1,1] [-2,0,0] 0.2 0.5 0 1 tail
AddEmitter explode 1 [-72,19,-18] [1,1,1] [-2,0,0] 0.2 0.5 0 1 tail
AddEmitter explode 1 [-72,19,18] [1,1,1] [-4,0,0] 0.5 0.8 0 1 tail
AddEmitter explode 1 [-72,19,-18] [1,1,1] [-4,0,0] 0.5 0.8 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-72,19,18] [3,1,1] [-1,0,0] 0.5 2 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-72,19,-18] [3,1,1] [-1,0,0] 0.5 2 0 1 tail


Description Soviet Attacker_Entered Service 1981_Has Armored Cockpit_Has Radar_1200 Block Flight Ceiling_Max Speed: 606 mph_2.1 minutes of fuel
//---new shit ---
//max speeds sea level and high alt when afterburning or WEPing
maxSpeed 1.47
highAltMax 1.47

//max speeds sea level and high alt when not afterburning dry thrust cruise speed
maxSpeedDry 1.47
highAltMaxDry 1.47

//max speed during a high energy death dive
diveBonus 1.5
//max speed when dying from low energy stall climb
stallSuffering 0.5

//bonus multiplier for gaining energy while diving
energyGainRate 0.7

//how fast energy is lost multiplier
energyLossRate 0.2

//maneuvrability multipliers applied when max energy, if low energy defaults to just x1  you can also use 0.x to simulate controls locking up at high speed
rollBonus 1.5
yawBonus 1.5
pitchBonus 2.0

//maneuvrability multiplier when low energy stall
rollStall 0.8
yawStall 0.8
pitchStall 0.9

hasAfterBurner False

//measured in seconds at 100%throttle afterburner off
labjacFuel 720
//---end of new shit----