mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
@@ -56,6 +56,7 @@ class Campaign:
|
||||
data: Dict[str, Any]
|
||||
path: Path
|
||||
advanced_iads: bool
|
||||
settings: Dict[str, Any]
|
||||
|
||||
@classmethod
|
||||
def from_file(cls, path: Path) -> Campaign:
|
||||
@@ -108,6 +109,7 @@ class Campaign:
|
||||
data,
|
||||
path,
|
||||
data.get("advanced_iads", False),
|
||||
data.get("settings", {}),
|
||||
)
|
||||
|
||||
def load_theater(self, advanced_iads: bool) -> ConflictTheater:
|
||||
|
||||
@@ -658,7 +658,7 @@ class Settings:
|
||||
|
||||
@staticmethod
|
||||
def plugin_settings_key(identifier: str) -> str:
|
||||
return f"plugins.{identifier}"
|
||||
return f"{identifier}"
|
||||
|
||||
def initialize_plugin_option(self, identifier: str, default_value: Any) -> None:
|
||||
try:
|
||||
|
||||
@@ -170,9 +170,10 @@ VERSION = _build_version_string()
|
||||
#:
|
||||
#: Version 10.5
|
||||
#: * Support for scenery objectives defined by quad zones.
|
||||
#: * Campaign designers can now define more settings:
|
||||
#: `max_frontline_length: 25` (in km)
|
||||
#: `culling_exclusion_radius: 35` (in km)
|
||||
#: * Campaign designers can now define almost all settings:
|
||||
#: `settings:`
|
||||
#: ` max_frontline_length: 25` (in km)
|
||||
#: ` perf_culling_distance: 35` (in km)
|
||||
#:
|
||||
#: Version 10.6
|
||||
#: * Designated CTLD zones for ControlPoints (Airbases & FOBs/FARPs)
|
||||
|
||||
Reference in New Issue
Block a user