aboutsummaryrefslogtreecommitdiff
path: root/docs/appendices/script-vm.md
Commit message (Collapse)AuthorAgeFilesLines
* feat(ai): queue scenario move orders for mobile unitsValentin Popov2026-11-141-0/+6
| | | | 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.
* feat(ai): patrol around script-selected objectsValentin Popov2026-11-141-0/+4
| | | | Uses the TMA logical ID to route a warbot around the current position of a building or unit. The original Behavior.dll confirms target class selection and radius. Mission 13 now assigns building patrols at stock startup.
* feat(ai): honor scenario warbot shutdown ordersValentin Popov2026-11-141-0/+4
| | | | 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.
* fix(script): honor numeric condition scopes during InitValentin Popov2026-11-141-0/+10
| | | | Shares condition execution with Mission and compares a float left operand as f32. Native ai.dll confirms all six operators on the observed difficulty comparison. The complete 900 s corpus has no crashes or periodic Mission stops; remaining Init stops are Handlers 15 and 68.
* fix(script): evaluate products before adding formula termsValentin Popov2026-11-141-3/+5
| | | | Reuses the original operand formats and rounds each product before adding or subtracting. The original ai.dll agreed on three campaign difficulty expressions. Mission 19 now reaches comparison branches in Init.
* feat(ai): reserve placed units for scenario ordersValentin Popov2026-11-141-0/+9
| | | | 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(script): evaluate scenario deadlines and timeout testsValentin Popov2026-11-141-0/+16
| | | | Handler(59) stores a DWORD deadline in Init or Mission. Handler(60) compares it strictly against the current scenario clock. The original ai.dll confirms overflow and the equality boundary. Mission 16 now reaches its scheduled message.
* feat(ai): issue scripted place patrols from clan InitValentin Popov2026-11-141-2/+5
| | | | Handler(15) читает живые клетки и направляет размещённого варбота в указанную точку. Кампания 01, миссия 02 при штатном старте ставит четыре патруля и продолжает Init до Handler(51).
* feat(runtime): execute scripted place patrol ordersValentin Popov2026-11-141-5/+12
|
* fix(runtime): set tutorial production thresholds from live clansValentin Popov2026-11-141-1/+8
|
* feat(runtime): count exact clan classes in mission scriptsValentin Popov2026-11-141-0/+7
|
* feat(runtime): resolve mission objectives and outcomeValentin Popov2026-11-141-6/+24
|
* feat(runtime): count live clan objects in mission scriptsValentin Popov2026-11-141-0/+14
|
* feat(runtime): trigger tutorial voices from tactical areasValentin Popov2026-11-141-0/+21
|
* feat(runtime): dispatch the periodic Mission script eventValentin Popov2026-11-141-2/+30
|
* feat(runtime): start missions with explicit Init stubsValentin Popov2026-11-141-1/+4
|
* fix(script): apply immediate Init assignmentsValentin Popov2026-11-141-0/+9
|
* feat(runtime): project factory-2 selector 6 metadataValentin Popov2026-10-311-1/+63
|
* docs(runtime): correct Control and collision interface contractsValentin Popov2026-10-311-7/+34
|
* feat(script): evaluate additive FML expressions during InitValentin Popov2026-10-311-21/+76
|
* feat(runtime): restore indexed Control provider queryValentin Popov2026-10-311-0/+74
|
* feat(runtime): project initial Behavior control groupsValentin Popov2026-10-311-0/+43
|
* feat(runtime): restore Control selector 15Valentin Popov2026-10-311-0/+65
|
* feat(assets): decode research tables and calculate candidate costsValentin Popov2026-10-311-5/+65
|
* feat(script): execute numeric FML assignments during mission InitValentin Popov2026-10-311-14/+90
|
* fix(script): read Init guards in native disk orderValentin Popov2026-10-311-5/+17
|
* test(runtime): pin native Control activation clock bitsValentin Popov2026-10-301-26/+59
|
* feat(runtime): recompute loaded Control owner profilesValentin Popov2026-10-291-9/+137
|
* docs(runtime): clarify Control load callback orderValentin Popov2026-10-291-7/+8
|
* feat(runtime): project load-time Control profile valuesValentin Popov2026-10-291-0/+137
|
* feat(runtime): project native Control object classesValentin Popov2026-10-291-0/+55
|
* feat(runtime): retain Control owner profiles during loadingValentin Popov2026-10-291-0/+24
|
* feat(runtime): support tag-26 Control resource budgetsValentin Popov2026-10-291-16/+53
|
* feat(runtime): support class-9 and default Control budgetsValentin Popov2026-10-291-15/+85
|
* feat(runtime): run tag-15 and tag-19 Control budgetsValentin Popov2026-10-291-10/+39
|
* feat(runtime): distribute Control provider amountsValentin Popov2026-10-291-9/+56
|
* feat(runtime): propagate Control node stage changesValentin Popov2026-10-291-11/+29
|
* feat(runtime): update Control node stagesValentin Popov2026-10-291-4/+45
|
* feat(runtime): publish provider values into model node stateValentin Popov2026-10-291-3/+24
|
* feat(runtime): update live Control provider amountsValentin Popov2026-10-291-8/+44
|
* test(runtime): verify randomized Control resource cadenceValentin Popov2026-10-291-3/+38
|
* test(runtime): verify native generator budget consumptionValentin Popov2026-10-291-0/+28
|
* feat(runtime): run resource schedules during world stepsValentin Popov2026-10-291-5/+13
|
* test(runtime): verify native Control activation clocksValentin Popov2026-10-291-3/+36
|
* test(runtime): verify active Control resource clockValentin Popov2026-10-291-8/+40
|
* test(runtime): verify native Control budget updatesValentin Popov2026-10-291-0/+31
|
* docs(runtime): trace original Control clock deliveryValentin Popov2026-10-291-5/+54
|
* test(runtime): verify native Control node stage transitionsValentin Popov2026-10-231-3/+55
|
* feat(runtime): retain initial Control node amountsValentin Popov2026-10-231-0/+40
|
* feat(runtime): project initial Control mesh metadataValentin Popov2026-10-231-0/+69
|