aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/control_resources.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-25 11:44:27 +0300
committerValentin Popov <valentin@popov.link>2026-11-25 11:44:27 +0300
commitc4439f993e3cd30f98acf65d0cd088abbb389232 (patch)
tree62173efad2e6ee416b8d2ef6a22bf77012aadf45 /crates/fparkan-runtime/src/control_resources.rs
parentb553096eb9a4d9ccaa46ec2616c5c392e8a39325 (diff)
downloadfparkan-c4439f993e3cd30f98acf65d0cd088abbb389232.tar.xz
fparkan-c4439f993e3cd30f98acf65d0cd088abbb389232.zip
feat(ai): patrol scripted protection points
PBM_PLACE_PROTECT recruits free warbots for TARGET_BY_PLACE and preserves its patrol group across Continue calls. New factory units can reinforce it; releasing the group preserves a subsequent movement or attack order. Coverage counts point orders and continuations by clan and both coordinates. Validated with fmt/check/test workspace, stock mission 10 group lifecycle, stock building and factory guard regressions, and 900-second simulations of missions 8, 10 and 12. Mission 10 ran in the window from stock start, issued the point order and reinforced it, with clean Vulkan validation. Original Behavior.dll RVA 0x2d520 confirmed point/radius parameters. Routing, free-unit recruitment and continuation timing remain approximate. Mission chronology alongside the original is open. Simulations expose Handler(13) in mission 8 and another group recruitment mode in mission 12.
Diffstat (limited to 'crates/fparkan-runtime/src/control_resources.rs')
0 files changed, 0 insertions, 0 deletions