mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Expose OPFOR squadrons
This allows for customizing OPFOR liveries, checking whether pilots are assigned, number of pilots available, and more stuff to get information & debug in an easier way...
This commit is contained in:
parent
86ef189da4
commit
779f66670f
@ -12,6 +12,7 @@
|
||||
* **[Mission Generation]** Ability to inject custom kneeboards
|
||||
* **[Options]** Extend option (so it can be disabled when fixed in DCS) to force air-starts (except for the slots that work) at Ramon Airbase, similar to the Nevatim fix in Retribution 1.3.0
|
||||
* **[Options]** New option in Settings: Default start type for Player flights.
|
||||
* **[AirWing]** Expose OPFOR Squadrons, giving the ability to change liveries, auto-assignable mission types & an easy way to retrieve debug information.
|
||||
|
||||
## Fixes
|
||||
* **[UI/UX]** A-10A flights can be edited again.
|
||||
|
||||
@ -540,6 +540,7 @@ class GameModel:
|
||||
self.sim_controller = sim_controller
|
||||
self.transfer_model = TransferModel(self)
|
||||
self.blue_air_wing_model = AirWingModel(self, player=True)
|
||||
self.red_air_wing_model = AirWingModel(self, player=False)
|
||||
if self.game is None:
|
||||
self.ato_model = AtoModel(self, AirTaskingOrder())
|
||||
self.red_ato_model = AtoModel(self, AirTaskingOrder())
|
||||
|
||||
@ -245,7 +245,16 @@ class AirWingTabs(QTabWidget):
|
||||
game_model.game.theater,
|
||||
game_model.sim_controller,
|
||||
),
|
||||
"Squadrons",
|
||||
"Squadrons OWNFOR",
|
||||
)
|
||||
self.addTab(
|
||||
SquadronList(
|
||||
game_model.red_ato_model,
|
||||
game_model.red_air_wing_model,
|
||||
game_model.game.theater,
|
||||
game_model.sim_controller,
|
||||
),
|
||||
"Squadrons OPFOR",
|
||||
)
|
||||
self.addTab(AirInventoryView(game_model), "Inventory")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user