diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-25 12:14:50 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-25 12:14:50 +0300 |
| commit | 3278b382a1580e45ba915b64ad283168ab9ea7e1 (patch) | |
| tree | dc51110409e0e9ff1931792fecd3081ad23626c7 /docs/reference/tma.md | |
| parent | 6cce33ff5b29616fb3d5caf9325729068d0631eb (diff) | |
| download | fparkan-3278b382a1580e45ba915b64ad283168ab9ea7e1.tar.xz fparkan-3278b382a1580e45ba915b64ad283168ab9ea7e1.zip | |
feat(ai): recruit free groups before assigning their target
Handler(25) TAKE_ALL_FREE takes the free roster in order and returns ERROR
for an empty group. Target selection now belongs to Handler(28), so the
script can form a group first and then issue its attack. Attack orders
remain associated with their group; cleanup preserves a subsequent order.
Coverage counts recruitments by clan and mode, including empty results.
Original GOG ai.dll RVA 0xab85 confirmed membership across classes, busy
and reserved exclusions, assignment updates, order and the empty result.
Validated with Rust order-lifecycle checks, a licensed test that waits on
the stock empty clan before a deliberate debug roster transfer, workspace
fmt/check/test, and 900-second simulations of all 29 missions. Mission 12
ran from stock start in the window with clean Vulkan validation.
The debug transfer verifies the attack mechanism, not a mission playthrough.
Occupancy and routing remain approximate. Group orders for other classes
fail explicitly. Script stops remain in missions 15 (71/72), 19 (Problems0
orders) and 29 (building counters/construction and Handler 40).
Diffstat (limited to 'docs/reference/tma.md')
0 files changed, 0 insertions, 0 deletions
