// ------------------------------------------------------ Naming ------------------------------------------------------
Name Mikoyan MiG-44 Flatpack
ShortName MiG-44
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconmig44
Model russia.mig44
Texture mig44
//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 Missile
Secondary None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 5
ShootDelaySecondary 5
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary SemiAuto
ModeSecondary FullAuto
ShootPointPrimary -61 16 -82 leftWing
ShootPointPrimary -61 16 -102 leftWing
ShootPointPrimary -61 16 82 leftWing
ShootPointPrimary -61 16 102 rightWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 4
BombSlots 0
MissileSlots 4
flightCeiling 2000
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 86 30 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound JetStart
StartSoundLength 205
PropSound J20Engine
PropSoundLength 30
ShootSoundPrimary MissileShoot
ShootSoundSecondary MissileShoot
// ------------------------------------------------------ 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 leftWing 1 lostWing
AddRecipeParts tail 22 Repair
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 40 57 34 -5 10 20 10
SetupPart airframe 640 -160 12 -28 220 33 56
SetupPart tail 225 -240 7 -75 80 40 150
SetupPart leftWing 280 -200 -158 28 -122 87 5 244
BulletDetection 6
//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.35

CollisionDamageTimes 100

Description Tier 5_Russian Stealth Fighter_Has Radar_Is Invisible To Radar_1700 Block Flight Ceiling
hasPlaneRadar true
radarPositionOffset 20
radarRange 2000
radarVisible false
radarRefreshDelay 10
ShootParticlesPrimary cloud 0 0 0
ShootParticlesSecondary cloud 1 0 0
ShootParticlesSecondary cloud -1 0 0
ShootParticlesSecondary explode -1 0 0
ShootParticlesSecondary flame -1 0 0

EngineSoundRange 1000
ReloadSoundPrimary PG_reload
ReloadTimePrimary 50
ReloadTimeSecondary 80
ReloadSoundSecondary PlaneBomb_reload1

EngineSoundRange 1000

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