mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Super Hornet mod support (#3331)
F/A-18E and F/A-18F are added to their factions, Growler is currently in its respective factions but was released in 2009, this will be changed if needed.
This commit is contained in:
@@ -300,6 +300,8 @@ class Faction:
|
|||||||
self.remove_aircraft("Su-57")
|
self.remove_aircraft("Su-57")
|
||||||
if not mod_settings.ov10a_bronco:
|
if not mod_settings.ov10a_bronco:
|
||||||
self.remove_aircraft("Bronco-OV-10A")
|
self.remove_aircraft("Bronco-OV-10A")
|
||||||
|
if not mod_settings.superhornet:
|
||||||
|
self.remove_aircraft("Super-Hornet")
|
||||||
# frenchpack
|
# frenchpack
|
||||||
if not mod_settings.frenchpack:
|
if not mod_settings.frenchpack:
|
||||||
self.remove_vehicle("AMX10RCR")
|
self.remove_vehicle("AMX10RCR")
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ class ModSettings:
|
|||||||
frenchpack: bool = False
|
frenchpack: bool = False
|
||||||
high_digit_sams: bool = False
|
high_digit_sams: bool = False
|
||||||
ov10a_bronco: bool = False
|
ov10a_bronco: bool = False
|
||||||
|
superhornet: bool = False
|
||||||
|
|
||||||
def save_player_settings(self) -> None:
|
def save_player_settings(self) -> None:
|
||||||
"""Saves the player's global settings to the user directory."""
|
"""Saves the player's global settings to the user directory."""
|
||||||
|
|||||||
@@ -204,6 +204,7 @@ class NewGameWizard(QtWidgets.QWizard):
|
|||||||
ov10a_bronco=self.field("ov10a_bronco"),
|
ov10a_bronco=self.field("ov10a_bronco"),
|
||||||
frenchpack=self.field("frenchpack"),
|
frenchpack=self.field("frenchpack"),
|
||||||
high_digit_sams=self.field("high_digit_sams"),
|
high_digit_sams=self.field("high_digit_sams"),
|
||||||
|
superhornet=self.field("superhornet"),
|
||||||
)
|
)
|
||||||
mod_settings.save_player_settings()
|
mod_settings.save_player_settings()
|
||||||
|
|
||||||
@@ -826,6 +827,10 @@ class GeneratorOptions(QtWidgets.QWizardPage):
|
|||||||
high_digit_sams.setChecked(mod_settings.high_digit_sams)
|
high_digit_sams.setChecked(mod_settings.high_digit_sams)
|
||||||
self.registerField("high_digit_sams", high_digit_sams)
|
self.registerField("high_digit_sams", high_digit_sams)
|
||||||
|
|
||||||
|
superhornet = QtWidgets.QCheckBox()
|
||||||
|
superhornet.setChecked(mod_settings.superhornet)
|
||||||
|
self.registerField("superhornet", superhornet)
|
||||||
|
|
||||||
modHelpText = QtWidgets.QLabel(
|
modHelpText = QtWidgets.QLabel(
|
||||||
"<p>Select the mods you have installed. If your chosen factions support them, you'll be able to use these mods in your campaign.</p>"
|
"<p>Select the mods you have installed. If your chosen factions support them, you'll be able to use these mods in your campaign.</p>"
|
||||||
)
|
)
|
||||||
@@ -877,6 +882,11 @@ class GeneratorOptions(QtWidgets.QWizardPage):
|
|||||||
modLayout.addWidget(QtWidgets.QLabel("High Digit SAMs"), modLayout_row, 0)
|
modLayout.addWidget(QtWidgets.QLabel("High Digit SAMs"), modLayout_row, 0)
|
||||||
modLayout.addWidget(high_digit_sams, modLayout_row, 1)
|
modLayout.addWidget(high_digit_sams, modLayout_row, 1)
|
||||||
modSettingsGroup.setLayout(modLayout)
|
modSettingsGroup.setLayout(modLayout)
|
||||||
|
modLayout_row += 1
|
||||||
|
modLayout.addWidget(QtWidgets.QLabel("Super Hornet"), modLayout_row, 0)
|
||||||
|
modLayout.addWidget(superhornet, modLayout_row, 1)
|
||||||
|
modSettingsGroup.setLayout(modLayout)
|
||||||
|
modLayout_row += 1
|
||||||
|
|
||||||
mlayout = QVBoxLayout()
|
mlayout = QVBoxLayout()
|
||||||
mlayout.addWidget(generatorSettingsGroup)
|
mlayout.addWidget(generatorSettingsGroup)
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ aircrafts:
|
|||||||
- F/A-18C Hornet (Lot 20)
|
- F/A-18C Hornet (Lot 20)
|
||||||
- SH-60B Seahawk
|
- SH-60B Seahawk
|
||||||
- UH-1H Iroquois
|
- UH-1H Iroquois
|
||||||
|
- F/A-18E Super Hornet
|
||||||
|
- F/A-18F Super Hornet
|
||||||
|
- EA-18G Growler
|
||||||
awacs:
|
awacs:
|
||||||
- E-3A
|
- E-3A
|
||||||
tankers:
|
tankers:
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ aircrafts:
|
|||||||
- S-3B Viking
|
- S-3B Viking
|
||||||
- SH-60B Seahawk
|
- SH-60B Seahawk
|
||||||
- UH-1H Iroquois
|
- UH-1H Iroquois
|
||||||
|
- F/A-18E Super Hornet
|
||||||
|
- F/A-18F Super Hornet
|
||||||
|
- EA-18G Growler
|
||||||
awacs:
|
awacs:
|
||||||
- E-2C Hawkeye
|
- E-2C Hawkeye
|
||||||
tankers:
|
tankers:
|
||||||
|
|||||||
BIN
resources/ui/units/aircrafts/banners/EA-18G.jpg
Normal file
BIN
resources/ui/units/aircrafts/banners/EA-18G.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 989 KiB |
BIN
resources/ui/units/aircrafts/banners/FA-18E.jpeg
Normal file
BIN
resources/ui/units/aircrafts/banners/FA-18E.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
resources/ui/units/aircrafts/banners/FA-18F.jpeg
Normal file
BIN
resources/ui/units/aircrafts/banners/FA-18F.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 226 KiB |
BIN
resources/ui/units/aircrafts/icons/EA-18G_24.png
Normal file
BIN
resources/ui/units/aircrafts/icons/EA-18G_24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
resources/ui/units/aircrafts/icons/FA-18E_24.png
Normal file
BIN
resources/ui/units/aircrafts/icons/FA-18E_24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
BIN
resources/ui/units/aircrafts/icons/FA-18F_24.png
Normal file
BIN
resources/ui/units/aircrafts/icons/FA-18F_24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
47
resources/units/aircraft/EA-18G_growler.yaml
Normal file
47
resources/units/aircraft/EA-18G_growler.yaml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
carrier_capable: true
|
||||||
|
description:
|
||||||
|
'The EA-18G Growler is twin engine, supersonic Electronic Warfare Aircraft that is flown
|
||||||
|
by a pilot and a WSO (Weapon Systems Officer) in a "glass cockpit". It combines extreme maneuverability , a
|
||||||
|
deadly arsenal of weapons, and the ability to operate from an aircraft carrier.
|
||||||
|
Operated by several nations, this multi-role fighter has been instrumental in conflicts
|
||||||
|
from 2009 to today.
|
||||||
|
|
||||||
|
The flight capabilities of the Growler closely mirror those of the F/A-18E/F.
|
||||||
|
This characteristic allows the Growler to excel in both escort jamming and the conventional standoff jamming mission,
|
||||||
|
which involves radar jamming and deception. Growlers can seamlessly accompany F/A-18s throughout
|
||||||
|
all stages of an attack mission. To enhance the Growler's stability during electronic warfare operations,
|
||||||
|
Boeing made modifications to the leading edge fairings and wing fold hinge fairings, incorporating wing fences and
|
||||||
|
aileron "tripper strips".'
|
||||||
|
|
||||||
|
introduced: 1999
|
||||||
|
manufacturer: Boeing Defense, Space & Security
|
||||||
|
origin: USA
|
||||||
|
price: 32
|
||||||
|
role: Carrier-based Electronic Warfare Aircraft
|
||||||
|
|
||||||
|
default_livery: "VAQ-139"
|
||||||
|
fuel:
|
||||||
|
|
||||||
|
variants:
|
||||||
|
|
||||||
|
radios:
|
||||||
|
intra_flight: AN/ARC-210
|
||||||
|
inter_flight: AN/ARC-210
|
||||||
|
channels:
|
||||||
|
type: common
|
||||||
|
# DCS will clobber channel 1 of the first radio compatible with the flight's
|
||||||
|
# assigned frequency. Since the EA-18's two radios are both AN/ARC-210s,
|
||||||
|
# radio 1 will be compatible regardless of which frequency is assigned, so
|
||||||
|
# we must use radio 1 for the intra-flight radio.
|
||||||
|
intra_flight_radio_index: 1
|
||||||
|
inter_flight_radio_index: 2
|
||||||
|
utc_kneeboard: true
|
||||||
|
# default_overrides:
|
||||||
|
# HelmetMountedDevice: 1
|
||||||
|
# InnerBoard: 0
|
||||||
|
# OuterBoard: 0
|
||||||
|
tasks:
|
||||||
|
DEAD: 600
|
||||||
|
SEAD: 500
|
||||||
|
EA: 750
|
||||||
|
hit_points: 20
|
||||||
0
resources/units/aircraft/FA-18E_super-hornet.yaml
Normal file
0
resources/units/aircraft/FA-18E_super-hornet.yaml
Normal file
0
resources/units/aircraft/FA-18F_super-hornet.yaml
Normal file
0
resources/units/aircraft/FA-18F_super-hornet.yaml
Normal file
Reference in New Issue
Block a user