aboutsummaryrefslogtreecommitdiff
path: root/docs/appendices
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 /docs/appendices
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 'docs/appendices')
-rw-r--r--docs/appendices/knowledge-boundaries.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/appendices/knowledge-boundaries.md b/docs/appendices/knowledge-boundaries.md
index 27e08a6b..163e51e8 100644
--- a/docs/appendices/knowledge-boundaries.md
+++ b/docs/appendices/knowledge-boundaries.md
@@ -488,10 +488,14 @@ ID выпущенной машины внутренний. Подъезд, выÐ
оставить робота над площадкой. Нативные события завершения открыты.
`script_group_order_approx` считает приказы группе по клану и цели.
Набор использует свободных варботов. Переназначение с менее важных заявок открыто.
+`script_point_group_order_approx` считает приказы патруля по клану и XY.
+`script_point_patrol_continue_approx` считает продолжения защиты точки.
+Маршруты, рейтинг набора и интервал без RNG остаются приближёнными.
`script_problem_wait_approx` отмечает ожидание гибели, захвата или простоя
при `OR_TASK`. `AND_TASK` и старение заявок открыты.
`script_factory_patrol_continue_approx` считает вызовы действующей охраны
-по клану и заводу. Интервал без добавки RNG. Остальные секции `_Continue` открыты.
+по клану и заводу. Интервал без добавки RNG. Кроме защиты строения и точки,
+секции `_Continue` открыты.
`Handler(15)` для `ORDER_ROBOT_SEARCH` генератора пока проходит как
`script_init_handler_stub`. GOG Behavior.dll по RVA `0x30110` настраивает
поиск для шасси класса не выше 2, а задача по RVA `0x30300` обрабатывает захват.