MiG-31BM by szcz mod support (#496)

* Add files via upload

* Add files via upload

* Update start_generator.py

* Update faction.py

* Update QNewGameWizard.py

* Update QGeneratorSettings.py

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update MiG-31BM.lua

* Added SEAD Escort to MiG-31BM.yaml

* mig31bm.py fixed weapon injection

* Update mig31bm.py

formatted black

* Update faction.py

reformatted black

* Update start_generator.py

reformatted black

* Update __init__.py

* Update QGeneratorSettings.py

reformatted black

* added support for MiG-31BM mod

* Commit changes which can't seem to be discarded...

* Remove (presumably) accidentally copied file

* Remove unused imports

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
This commit is contained in:
szcz13
2025-04-05 22:19:22 +02:00
committed by GitHub
parent 1520c8c3a3
commit ffaf905bf6
11 changed files with 375 additions and 0 deletions

View File

@@ -0,0 +1,191 @@
local unitPayloads = {
["name"] = "MiG-31BM",
["payloads"] = {
[1] = {
["displayName"] = "R-77*2 R-37M*4 R27ER*2 ",
["name"] = "R-77*2 R-37M*4 R27ER*2 ",
["pylons"] = {
[1] = {
["CLSID"] = "{FBC29BFE-3D24-4C64-B81D-941239D12249}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{E8069896-8435-4B90-95C0-01A03AE6E400}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{R-37}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{R-37}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{R-37}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{R-37}",
["num"] = 6,
},
[7] = {
["CLSID"] = "{E8069896-8435-4B90-95C0-01A03AE6E400}",
["num"] = 7,
},
[8] = {
["CLSID"] = "{FBC29BFE-3D24-4C64-B81D-941239D12249}",
["num"] = 8,
},
},
["tasks"] = {
[1] = 10,
},
},
[2] = {
["displayName"] = "R-73*2 R-33*4 3000L tanks*2",
["name"] = "R-73*2 R-33*4 3000L tanks*2",
["pylons"] = {
[1] = {
["CLSID"] = "{FBC29BFE-3D24-4C64-B81D-941239D12249}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{R-33}",
["num"] = 3,
},
[3] = {
["CLSID"] = "{R-33}",
["num"] = 4,
},
[4] = {
["CLSID"] = "{R-33}",
["num"] = 5,
},
[5] = {
["CLSID"] = "{R-33}",
["num"] = 6,
},
[6] = {
["CLSID"] = "{FBC29BFE-3D24-4C64-B81D-941239D12249}",
["num"] = 8,
},
[7] = {
["CLSID"] = "{B79C379A-9E87-4E50-A1EE-7F7E29C2E87A}",
["num"] = 2,
},
[8] = {
["CLSID"] = "{B79C379A-9E87-4E50-A1EE-7F7E29C2E87A}",
["num"] = 7,
},
},
["tasks"] = {
[1] = 10,
},
},
[3] = {
["displayName"] = "Retribution BARCAP",
["name"] = "Retribution BARCAP",
["pylons"] = {
[1] = {
["CLSID"] = "{FBC29BFE-3D24-4C64-B81D-941239D12249}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{16602053-4A12-40A2-B214-AB60D481B20E}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{R-37M}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{R-37M}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{R-37M}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{R-37M}",
["num"] = 6,
},
[7] = {
["CLSID"] = "{16602053-4A12-40A2-B214-AB60D481B20E}",
["num"] = 7,
},
[8] = {
["CLSID"] = "{FBC29BFE-3D24-4C64-B81D-941239D12249}",
["num"] = 8,
},
},
["tasks"] = {
[1] = 11,
},
},
[4] = {
["displayName"] = "Retribution SEAD",
["name"] = "Retribution SEAD",
["pylons"] = {
[1] = {
["CLSID"] = "{D8F2C90B-887B-4B9E-9FE2-996BC9E9AF03}",
["num"] = 7,
},
[2] = {
["CLSID"] = "{D8F2C90B-887B-4B9E-9FE2-996BC9E9AF03}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{FBC29BFE-3D24-4C64-B81D-941239D12249}",
["num"] = 1,
},
[4] = {
["CLSID"] = "{FBC29BFE-3D24-4C64-B81D-941239D12249}",
["num"] = 8,
},
},
["tasks"] = {
[1] = 11,
},
},
[5] = {
["displayName"] = "Retribution SEAD Escort",
["name"] = "Retribution SEAD Escort",
["pylons"] = {
[1] = {
["CLSID"] = "{D8F2C90B-887B-4B9E-9FE2-996BC9E9AF03}",
["num"] = 7,
},
[2] = {
["CLSID"] = "{D8F2C90B-887B-4B9E-9FE2-996BC9E9AF03}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{R-37M}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{R-37M}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{R-37M}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{R-37M}",
["num"] = 6,
},
},
["tasks"] = {
[1] = 11,
},
},
},
["tasks"] = {
},
["unitType"] = "MiG-31BM",
}
return unitPayloads

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@@ -0,0 +1,23 @@
description:
The MiG-31 is a heavy, long-range interceptor, with a maximum takeoff weight of 46,200 kilograms and a top speed exceeding 3,000 kilometers per hour.
Designed to operate in all weather conditions at high altitudes, the aircraft was built to counter strategic bombers and cruise missiles.
MiG-31s played critical roles in the defense networks of the Soviet Union and later Russia, particularly in Arctic and border patrol missions.
Decades after its first flight in 1975, many of the over 500 units produced remain in service, continuing to be upgraded and fielded by the Russian Aerospace Forces.
introduced: 1981
manufacturer: Mikoyan-Gurevich/Mikoyan
origin: USSR/Russia
price: 24
role: Interceptor
max_range: 800
variants:
MiG-31BM Foxhound: {}
kneeboard_units: "metric"
tasks:
BARCAP: 550
Escort: 400
Fighter sweep: 500
Intercept: 600
TARCAP: 450
SEAD: 150
SEAD Escort: 150