mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Player sixpack setting (#378)
This commit is contained in:
parent
9e9ea09f70
commit
ecf11363f2
@ -28,6 +28,7 @@
|
||||
* **[Modding]** Added support for SK-60 mod (v1.2.1)
|
||||
* **[Mission Generation]** Introducing the Armed Recon flight plan, i.e. CAS against any Theater Ground Object
|
||||
* **[Doctrine]** Ability to customize the startup time allocated to the player
|
||||
* **[Mission Generation]** Ability to choose whether player flights can spawn on the sixpack or not
|
||||
|
||||
## Fixes
|
||||
* **[UI/UX]** A-10A flights can be edited again
|
||||
|
||||
@ -205,7 +205,10 @@ class WaypointGenerator:
|
||||
not self.flight.state.in_flight
|
||||
and self.flight.state.spawn_type is not StartType.RUNWAY
|
||||
and self.flight.departure.is_fleet
|
||||
and not self.flight.client_count
|
||||
and not (
|
||||
self.flight.client_count
|
||||
and self.flight.coalition.game.settings.player_flights_sixpack
|
||||
)
|
||||
):
|
||||
# https://github.com/dcs-liberation/dcs_liberation/issues/1309
|
||||
# Without a delay, AI aircraft will be spawned on the sixpack, which other
|
||||
|
||||
@ -939,6 +939,12 @@ class Settings:
|
||||
default=True,
|
||||
detail=("Enables dynamic cargo for airfields, ships, FARPs & warehouses."),
|
||||
)
|
||||
player_flights_sixpack: bool = boolean_option(
|
||||
"Player flights can spawn on the sixpack",
|
||||
MISSION_GENERATOR_PAGE,
|
||||
GAMEPLAY_SECTION,
|
||||
default=True,
|
||||
)
|
||||
|
||||
# Performance
|
||||
perf_smoke_gen: bool = boolean_option(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user