aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/clan_script_init.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(ai): queue scenario move orders for mobile unitsValentin Popov2026-11-141-0/+14
| | | | Runs the stock order sequence in mission 16. Both mobile headquarters receive five destinations in script order. Movement uses existing terrain routing until the native Go task is wired.
* fix(script): continue Init past the uncovered AI settingValentin Popov2026-11-141-0/+22
| | | | Handler(69) writes an AI field for nonnegative DWORD operands. Until its consumer is modeled, the observed form is counted as a stub. Mission 10 now runs the subsequent shutdown and patrol orders and finishes clan Init.
* fix(script): continue clan Init past the base area stubValentin Popov2026-11-141-7/+36
| | | | Accepts the observed float form of Handler(68) through a reported gameplay stub. Mission 8 now executes its reservations and reaches the next robot order.
* feat(ai): honor scenario warbot shutdown ordersValentin Popov2026-11-141-8/+16
| | | | Behavior.dll task dispatch selects ShutDown for order 0x13. Stop autonomous motion and fire until a new supported order is assigned. The field-camp clan now completes Init and all three placed warbots receive the shutdown order.
* feat(ai): reserve placed units for scenario ordersValentin Popov2026-11-141-0/+52
| | | | Handler(51) changes availability in the owning clan, matching a direct ai.dll call. Reserved units stay out of the free capturer query. Campaign mission 7 now finishes Init and mission 13 reserves the addressed unit.
* feat(ai): issue scripted place patrols from clan InitValentin Popov2026-11-141-1/+20
| | | | Handler(15) читает живые клетки и направляет размещённого варбота в указанную точку. Кампания 01, миссия 02 при штатном старте ставит четыре патруля и продолжает Init до Handler(51).
* fix(script): continue clan Init past the research stubValentin Popov2026-11-141-0/+24
Оставляем строгую загрузку прежней. В игровом режиме команда без результата отмечена по клану и номеру инструкции, следующие команды исполняются. На штатных ресурсах все 29 миссий запускаются, 12 вызовов дошли до заглушки, а Single.01 завершила Init без обрыва.