Add A-7E Corsair II mod

Banner, icon, payloads & export by Adecarcer

Create A-7E.lua

Co-Authored-By: Antonio <54774215+Adecarcer@users.noreply.github.com>
This commit is contained in:
Raffson 2023-04-23 16:05:45 +02:00
parent 81e6e682bb
commit 6be517ad3e
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
15 changed files with 1837 additions and 0 deletions

View File

@ -126,6 +126,7 @@ from dcs.unittype import FlyingType
from game.dcs.aircrafttype import AircraftType
from pydcs_extensions.a4ec.a4ec import A_4E_C
from pydcs_extensions.a6a.a6a import VSN_A6A
from pydcs_extensions.a7e.a7e import A_7E
from pydcs_extensions.f100.f100 import VSN_F100
from pydcs_extensions.f104.f104 import VSN_F104C, VSN_F104G, VSN_F104S, VSN_F104S_AG
from pydcs_extensions.f105.f105 import VSN_F105D, VSN_F105G
@ -274,6 +275,7 @@ CAS_CAPABLE = [
F_16A_MLU,
F_16A,
B_1B,
A_7E,
A_4E_C,
F_14B,
F_14A_135_GR,
@ -373,6 +375,7 @@ SEAD_ESCORT_CAPABLE = [
Su_25T,
Su_25TM,
F_4E,
A_7E,
A_4E_C,
JAS39Gripen_AG,
AV8BNA,
@ -481,6 +484,7 @@ STRIKE_CAPABLE = [
MiG_29G,
MiG_29A,
F_4E,
A_7E,
A_10C_2,
A_10C,
VSN_F4C,
@ -554,6 +558,7 @@ ANTISHIP_CAPABLE = [
Tornado_GR4,
AV8BNA,
S_3B,
A_7E,
A_20G,
Ju_88A4,
MosquitoFBMkVI,
@ -625,6 +630,7 @@ RUNWAY_ATTACK_CAPABLE = [
VSN_F4C,
VSN_F4B,
S_3B,
A_7E,
A_4E_C,
Bronco_OV_10A,
M_2000C,

View File

@ -379,6 +379,8 @@ class Faction:
self.remove_aircraft("Su-57")
if not mod_settings.ov10a_bronco:
self.remove_aircraft("Bronco-OV-10A")
if not mod_settings.a7e_corsair2:
self.remove_aircraft("A-7E")
# frenchpack
if not mod_settings.frenchpack:
self.remove_vehicle("AMX10RCR")

View File

@ -55,6 +55,7 @@ class GeneratorSettings:
class ModSettings:
a4_skyhawk: bool = False
a6a_intruder: bool = False
a7e_corsair2: bool = False
f4bc_phantom: bool = False
f15d_baz: bool = False
f_16_idf: bool = False

View File

@ -1,5 +1,6 @@
from .a4ec import *
from .a6a import *
from .a7e import *
from .f4b import *
from .f84g import *
from .f100 import *

1470
pydcs_extensions/a7e/a7e.py Normal file

File diff suppressed because it is too large Load Diff

View File

@ -323,6 +323,7 @@ def create_game(
ModSettings(
a4_skyhawk=False,
a6a_intruder=False,
a7e_corsair2=False,
fa_18efg=False,
f4bc_phantom=False,
f22_raptor=False,

View File

@ -183,6 +183,7 @@ class NewGameWizard(QtWidgets.QWizard):
mod_settings = ModSettings(
a4_skyhawk=self.field("a4_skyhawk"),
a6a_intruder=self.field("a6a_intruder"),
a7e_corsair2=self.field("a7e_corsair2"),
f4bc_phantom=self.field("f4bc_phantom"),
f15d_baz=self.field("f15d_baz"),
f_16_idf=self.field("f_16_idf"),
@ -818,6 +819,8 @@ class GeneratorOptions(QtWidgets.QWizardPage):
self.registerField("a4_skyhawk", self.a4_skyhawk)
self.a6a_intruder = QtWidgets.QCheckBox()
self.registerField("a6a_intruder", self.a6a_intruder)
self.a7e_corsair2 = QtWidgets.QCheckBox()
self.registerField("a7e_corsair2", self.a6a_intruder)
self.hercules = QtWidgets.QCheckBox()
self.registerField("hercules", self.hercules)
self.uh_60l = QtWidgets.QCheckBox()
@ -866,6 +869,7 @@ class GeneratorOptions(QtWidgets.QWizardPage):
mod_pairs = [
("A-4E Skyhawk (v2.1.0)", self.a4_skyhawk),
("A-6A Intruder (v2.7.5.01)", self.a6a_intruder),
("A-7E Corsair II", self.a7e_corsair2),
("C-130J-30 Super Hercules", self.hercules),
(
"F-4B/C Phantom II (v2.8.1.01 Standalone + 29Jan23 Patch)",

View File

@ -0,0 +1,332 @@
local unitPayloads = {
["name"] = "A-7E",
["payloads"] = {
[1] = {
["displayName"] = "Retribution SEAD",
["name"] = "Retribution SEAD",
["pylons"] = {
[1] = {
["CLSID"] = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 6,
},
[7] = {
["CLSID"] = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",
["num"] = 7,
},
[8] = {
["CLSID"] = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",
["num"] = 8,
},
},
["tasks"] = {
[1] = 29,
},
},
[2] = {
["displayName"] = "Retribution DEAD",
["name"] = "Retribution DEAD",
["pylons"] = {
[1] = {
["CLSID"] = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{BRU41A_6*MK20_ROCKEYE}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 6,
},
[7] = {
["CLSID"] = "{BRU41A_6*MK20_ROCKEYE}",
["num"] = 7,
},
[8] = {
["CLSID"] = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",
["num"] = 8,
},
},
["tasks"] = {
[1] = 29,
},
},
[3] = {
["displayName"] = "Retribution Strike",
["name"] = "Retribution Strike",
["pylons"] = {
[1] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{51F9AAE5-964F-4D21-83FB-502E3BFE5F8A}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{C40A1E3A-DD05-40D9-85A4-217729E37FAE}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{C40A1E3A-DD05-40D9-85A4-217729E37FAE}",
["num"] = 6,
},
[7] = {
["CLSID"] = "{51F9AAE5-964F-4D21-83FB-502E3BFE5F8A}",
["num"] = 7,
},
[8] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 8,
},
[9] = {
["CLSID"] = "{B1EF6B0E-3D91-4047-A7A5-A99E7D8B4A8B}",
["num"] = 9,
},
},
["tasks"] = {
[1] = 33,
},
},
[4] = {
["name"] = "Retribution OCA/Runway",
["pylons"] = {
[1] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}",
["num"] = 2,
["settings"] = {
["GUI_fuze_type"] = 1,
["arm_delay_ctrl_FMU139CB_LD"] = 1,
["function_delay_ctrl_FMU139CB_LD"] = 0,
},
},
[3] = {
["CLSID"] = "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}",
["num"] = 3,
["settings"] = {
["GUI_fuze_type"] = 1,
["arm_delay_ctrl_FMU139CB_LD"] = 1,
["function_delay_ctrl_FMU139CB_LD"] = 0,
},
},
[4] = {
["CLSID"] = "{AGM_122_SIDEARM}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}",
["num"] = 6,
["settings"] = {
["GUI_fuze_type"] = 1,
["arm_delay_ctrl_FMU139CB_LD"] = 1,
["function_delay_ctrl_FMU139CB_LD"] = 0,
},
},
[7] = {
["CLSID"] = "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}",
["num"] = 7,
["settings"] = {
["GUI_fuze_type"] = 1,
["arm_delay_ctrl_FMU139CB_LD"] = 1,
["function_delay_ctrl_FMU139CB_LD"] = 0,
},
},
[8] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 8,
},
[9] = {
["CLSID"] = "{B1EF6B0E-3D91-4047-A7A5-A99E7D8B4A8B}",
["num"] = 9,
},
},
["tasks"] = {
[1] = 34,
},
},
[5] = {
["name"] = "Retribution OCA/Aircraft",
["pylons"] = {
[1] = {
["CLSID"] = "{BRU41A_6*MK82AIR}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{BRU41A_6*MK82AIR}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 6,
},
[7] = {
["CLSID"] = "{BRU41A_6*MK82AIR}",
["num"] = 7,
},
[8] = {
["CLSID"] = "{BRU41A_6*MK82AIR}",
["num"] = 8,
},
[9] = {
["CLSID"] = "{B1EF6B0E-3D91-4047-A7A5-A99E7D8B4A8B}",
["num"] = 9,
},
},
["tasks"] = {
[1] = 34,
},
},
[6] = {
["name"] = "Retribution BAI",
["pylons"] = {
[1] = {
["CLSID"] = "{BRU41A_6*MK82}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{BRU41A_6*MK82}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 6,
},
[7] = {
["CLSID"] = "{BRU41A_6*MK82}",
["num"] = 7,
},
[8] = {
["CLSID"] = "{BRU41A_6*MK82}",
["num"] = 8,
},
[9] = {
["CLSID"] = "{B1EF6B0E-3D91-4047-A7A5-A99E7D8B4A8B}",
["num"] = 9,
},
},
["tasks"] = {
[1] = 29,
},
},
[7] = {
["name"] = "Retribution CAS",
["pylons"] = {
[1] = {
["CLSID"] = "{BRU42A_3*LAU3_HYDRA_MK1HE}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{BRU41A_6*CBU99_mod6}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{AIM-9L}",
["num"] = 4,
},
[5] = {
["CLSID"] = "{AIM-9L}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{A7E_AERO1D}",
["num"] = 6,
},
[7] = {
["CLSID"] = "{BRU41A_6*CBU99_mod6}",
["num"] = 7,
},
[8] = {
["CLSID"] = "{BRU42A_3*LAU3_HYDRA_M156WP}",
["num"] = 8,
},
[9] = {
["CLSID"] = "{B1EF6B0E-3D91-4047-A7A5-A99E7D8B4A8B}",
["num"] = 9,
},
},
["tasks"] = {
[1] = 31,
},
},
},
["tasks"] = {
},
["unitType"] = "A-7E",
}
return unitPayloads

View File

@ -13,6 +13,7 @@
"C-130",
"A-4E Skyhawk",
"A-6A Intruder",
"A-7E Corsair II",
"F-4B Phantom II",
"F-4C Phantom II",
"F-4E Phantom II",

View File

@ -7,6 +7,7 @@
"A-10A Thunderbolt II",
"A-4E Skyhawk",
"A-6A Intruder",
"A-7E Corsair II",
"AJS-37 Viggen",
"B-52H Stratofortress",
"C-130",

View File

@ -12,6 +12,7 @@
"CH-47D",
"CH-53E",
"A-4E Skyhawk",
"A-7E Corsair II",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-4B Phantom II",

View File

@ -10,6 +10,7 @@
"AH-1W SuperCobra",
"A-4E Skyhawk",
"A-6A Intruder",
"A-7E Corsair II",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-14B Tomcat",

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,16 @@
carrier_capable: true
description:
The LTV A-7 Corsair II is an American carrier-capable subsonic light attack aircraft designed and manufactured by Ling-Temco-Vought (LTV).
The A-7 was developed during the early 1960s as replacement for the Douglas A-4 Skyhawk.
Its design was derived from the Vought F-8 Crusader; in comparison with the F-8, the A-7 is both smaller and restricted to subsonic speeds, its airframe being simpler and cheaper to produce.
Initially adopted by USN, the A-7 proved attractive to other services, soon being adopted by the United States Air Force (USAF) and the Air National Guard (ANG)
Improved models of the A-7 would be developed, typically adopting more powerful engines and increasingly capable avionics.
American A-7s would be used in various major conflicts, including the Invasion of Grenada, Operation El Dorado Canyon, and the Gulf War.
introduced: 1967
manufacturer: Vought
origin: USA
price: 10
role: Carrier-based Attack
gunfighter: true
variants:
A-7E Corsair II: {}