Add option to limit convoy travel distances.

CPU load seems to scale with route length, so add an option to limit
the length of the convoy route. The tradeoff is that the performance
sensitive route won't necessarily be a correct route.
This commit is contained in:
MetalStormGhost
2021-11-27 11:40:06 +02:00
committed by GitHub
parent 690705ff8f
commit d11d3b58f7
2 changed files with 23 additions and 1 deletions

View File

@@ -407,6 +407,12 @@ class Settings:
section=PERFORMANCE_SECTION,
default=True,
)
convoys_travel_full_distance: bool = boolean_option(
"Convoys drive the full distance between control points",
page=MISSION_GENERATOR_PAGE,
section=PERFORMANCE_SECTION,
default=True,
)
perf_infantry: bool = boolean_option(
"Generate infantry squads alongside vehicles",
page=MISSION_GENERATOR_PAGE,