Add new option in settings: OPFOR autoplanner aggressiveness (#61)

"Threatened" threshold based on a suggestion from FinCenturion. (#61)
This commit is contained in:
MetalStormGhost
2023-01-01 16:21:08 +02:00
committed by GitHub
parent ee1fc53dd3
commit d2a7de2775
3 changed files with 24 additions and 1 deletions

View File

@@ -395,6 +395,19 @@ class Settings:
min=1,
max=100,
)
opfor_autoplanner_aggressiveness: int = bounded_int_option(
"OPFOR autoplanner aggressiveness (%)",
page=MISSION_GENERATOR_PAGE,
section=GAMEPLAY_SECTION,
default=20,
min=0,
max=100,
detail=(
"Chance (larger number -> higher chance) that the OPFOR AI "
"autoplanner will take risks and plan flights against targets "
"within threatened airspace."
),
)
# Performance
perf_smoke_gen: bool = boolean_option(