mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Support for supercarrier deck-crew
This commit is contained in:
parent
aae4c905b9
commit
cc90627ee5
@ -37,6 +37,7 @@
|
|||||||
* **[UI]** Display TOT for all waypoints in the flight plan
|
* **[UI]** Display TOT for all waypoints in the flight plan
|
||||||
* **[UI]** Edit basic datalink properties for applicable aircraft
|
* **[UI]** Edit basic datalink properties for applicable aircraft
|
||||||
* **[Mission Generation]** Automatic datalink network setup for applicable aircraft (_should_ in theory avoid the need to re-save the mission)
|
* **[Mission Generation]** Automatic datalink network setup for applicable aircraft (_should_ in theory avoid the need to re-save the mission)
|
||||||
|
* **[Options]** New option to force-enable deck-crew for super-carriers on dedicated server.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
* **[UI/UX]** A-10A flights can be edited again
|
* **[UI/UX]** A-10A flights can be edited again
|
||||||
|
|||||||
@ -53,6 +53,10 @@ class ForcedOptionsGenerator:
|
|||||||
self.game.settings.battle_damage_assessment
|
self.game.settings.battle_damage_assessment
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def _set_supercarrier_deck_crew(self) -> None:
|
||||||
|
value = self.game.settings.supercarrier_deck_crew
|
||||||
|
self.mission.forced_options.supercarrier_deck_crew = value
|
||||||
|
|
||||||
def generate(self) -> None:
|
def generate(self) -> None:
|
||||||
self._set_options_view()
|
self._set_options_view()
|
||||||
self._set_external_views()
|
self._set_external_views()
|
||||||
@ -60,3 +64,4 @@ class ForcedOptionsGenerator:
|
|||||||
self._set_labels()
|
self._set_labels()
|
||||||
self._set_unrestricted_satnav()
|
self._set_unrestricted_satnav()
|
||||||
self._set_battle_damage_assessment()
|
self._set_battle_damage_assessment()
|
||||||
|
self._set_supercarrier_deck_crew()
|
||||||
|
|||||||
@ -738,6 +738,12 @@ class Settings:
|
|||||||
GAMEPLAY_SECTION,
|
GAMEPLAY_SECTION,
|
||||||
default=False,
|
default=False,
|
||||||
)
|
)
|
||||||
|
supercarrier_deck_crew: bool = boolean_option(
|
||||||
|
"Use supercarrier deck-crew",
|
||||||
|
MISSION_GENERATOR_PAGE,
|
||||||
|
GAMEPLAY_SECTION,
|
||||||
|
default=True,
|
||||||
|
)
|
||||||
generate_marks: bool = boolean_option(
|
generate_marks: bool = boolean_option(
|
||||||
"Put objective markers on the map",
|
"Put objective markers on the map",
|
||||||
MISSION_GENERATOR_PAGE,
|
MISSION_GENERATOR_PAGE,
|
||||||
|
|||||||
@ -33,7 +33,7 @@ pluggy==1.5.0
|
|||||||
pre-commit==3.7.1
|
pre-commit==3.7.1
|
||||||
pydantic==2.7.4
|
pydantic==2.7.4
|
||||||
pydantic-settings==2.3.3
|
pydantic-settings==2.3.3
|
||||||
pydcs @ git+https://github.com/dcs-retribution/pydcs@4b63a60f410b5542c9654ebe4d74cfcb17e06eff
|
pydcs @ git+https://github.com/dcs-retribution/pydcs@1eb583d4616a434d21e8cde73ef4247a0ec19a74
|
||||||
pyinstaller==5.13.2
|
pyinstaller==5.13.2
|
||||||
pyinstaller-hooks-contrib==2024.0
|
pyinstaller-hooks-contrib==2024.0
|
||||||
pyparsing==3.1.2
|
pyparsing==3.1.2
|
||||||
|
|||||||
@ -102,6 +102,16 @@ options =
|
|||||||
}, -- end of ["graphics"]
|
}, -- end of ["graphics"]
|
||||||
["plugins"] =
|
["plugins"] =
|
||||||
{
|
{
|
||||||
|
["Supercarrier"] =
|
||||||
|
{
|
||||||
|
["deck_crew"] = true,
|
||||||
|
["enable_FLOLS_overlay"] = true,
|
||||||
|
["messages_enabled"] = true,
|
||||||
|
["helpers_enabled"] = true,
|
||||||
|
["Use_native_ATC_text"] = false,
|
||||||
|
["velocity_limit_enabled"] = true,
|
||||||
|
["simplified_taxi"] = true,
|
||||||
|
}, -- end of ["Supercarrier"]
|
||||||
["Su-25T"] =
|
["Su-25T"] =
|
||||||
{
|
{
|
||||||
["CPLocalList"] = "default",
|
["CPLocalList"] = "default",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user