mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Option to define culling exclusion radius in campaign yaml file
This commit is contained in:
parent
bd4eb3e105
commit
39426dde45
@ -170,6 +170,8 @@ VERSION = _build_version_string()
|
||||
#:
|
||||
#: Version 10.5
|
||||
#: * Support for scenery objectives defined by quad zones.
|
||||
#: * Campaign designers can now define `max_frontline_length` (in km) setting:
|
||||
#: `max_frontline_length: 25`
|
||||
#: * Campaign designers can now define more settings:
|
||||
#: `max_frontline_length: 25` (in km)
|
||||
#: `culling_exclusion_radius: 35` (in km)
|
||||
|
||||
CAMPAIGN_FORMAT_VERSION = (10, 5)
|
||||
|
||||
@ -144,6 +144,8 @@ class NewGameWizard(QtWidgets.QWizard):
|
||||
automate_aircraft_reinforcements=self.field("automate_aircraft_purchases"),
|
||||
supercarrier=self.field("supercarrier"),
|
||||
max_frontline_length=campaign.data.get("max_frontline_length", 80),
|
||||
perf_culling=campaign.data.get("culling_exclusion_radius") is not None,
|
||||
perf_culling_distance=campaign.data.get("culling_exclusion_radius", 100),
|
||||
)
|
||||
generator_settings = GeneratorSettings(
|
||||
start_date=start_date,
|
||||
|
||||
@ -15,6 +15,7 @@ description: "<p>This mission was designed for the We Run Liberation group [WRL]
|
||||
</p>"
|
||||
miz: Battle4Georgia.miz
|
||||
max_frontline_length: 30
|
||||
culling_exclusion_radius: 35
|
||||
performance: 2
|
||||
version: "10.5"
|
||||
recommended_player_money: 2000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user