From c4439f993e3cd30f98acf65d0cd088abbb389232 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 25 Nov 2026 12:44:27 +0400 Subject: 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. --- docs/appendices/knowledge-boundaries.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/appendices') 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` обрабатывает захват. -- cgit v1.2.3