mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Invert AEW&C default behavior.
This is working well. Make it the default, but don't remove it since we don't have HAVCAP yet. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1118
This commit is contained in:
parent
77373606fe
commit
e94ebd6ed2
@ -43,7 +43,7 @@ class Settings:
|
|||||||
automate_front_line_reinforcements: bool = False
|
automate_front_line_reinforcements: bool = False
|
||||||
automate_aircraft_reinforcements: bool = False
|
automate_aircraft_reinforcements: bool = False
|
||||||
restrict_weapons_by_date: bool = False
|
restrict_weapons_by_date: bool = False
|
||||||
disable_legacy_aewc: bool = False
|
disable_legacy_aewc: bool = True
|
||||||
generate_dark_kneeboard: bool = False
|
generate_dark_kneeboard: bool = False
|
||||||
invulnerable_player_pilots: bool = True
|
invulnerable_player_pilots: bool = True
|
||||||
auto_ato_behavior: AutoAtoBehavior = AutoAtoBehavior.Default
|
auto_ato_behavior: AutoAtoBehavior = AutoAtoBehavior.Default
|
||||||
|
|||||||
@ -473,20 +473,22 @@ class QSettingsWindow(QDialog):
|
|||||||
general_layout.addWidget(restrict_weapons, 0, 1, Qt.AlignRight)
|
general_layout.addWidget(restrict_weapons, 0, 1, Qt.AlignRight)
|
||||||
|
|
||||||
def set_old_awec(value: bool) -> None:
|
def set_old_awec(value: bool) -> None:
|
||||||
self.game.settings.disable_legacy_aewc = value
|
self.game.settings.disable_legacy_aewc = not value
|
||||||
|
|
||||||
old_awac = QCheckBox()
|
old_awac = QCheckBox()
|
||||||
old_awac.setChecked(self.game.settings.disable_legacy_aewc)
|
old_awac.setChecked(not self.game.settings.disable_legacy_aewc)
|
||||||
old_awac.toggled.connect(set_old_awec)
|
old_awac.toggled.connect(set_old_awec)
|
||||||
|
|
||||||
old_awec_info = (
|
old_awec_info = (
|
||||||
"If checked, the invulnerable friendly AEW&C aircraft that begins "
|
"If checked, an invulnerable friendly AEW&C aircraft that begins the "
|
||||||
"the mission in the air will not be spawned. AEW&C missions must "
|
"mission on station will be be spawned. This behavior will be removed in a "
|
||||||
"be planned in the ATO and will take time to arrive on-station."
|
"future release."
|
||||||
)
|
)
|
||||||
|
|
||||||
old_awac.setToolTip(old_awec_info)
|
old_awac.setToolTip(old_awec_info)
|
||||||
old_awac_label = QLabel("Disable invulnerable, always-available AEW&C (WIP)")
|
old_awac_label = QLabel(
|
||||||
|
"Spawn invulnerable, always-available AEW&C aircraft (deprecated)"
|
||||||
|
)
|
||||||
old_awac_label.setToolTip(old_awec_info)
|
old_awac_label.setToolTip(old_awec_info)
|
||||||
|
|
||||||
general_layout.addWidget(old_awac_label, 1, 0)
|
general_layout.addWidget(old_awac_label, 1, 0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user