Files
WT-Offline/game-ai/ground
N0VAN0M4LY 9ba92f289d feat(ground-ai): scope custom ground AI to slot bots and PvE defenders
- Capture unit_mgr, agent_unit_idx, unit_count, and unit_array inside driveToPos::update (patches/native/local_mp_ground_ai.jsonc) so local_mp_ground_ai.c short-circuits stock movement only for MPlayer slot bots (userId < -1) and leaves non-MPlayer mission wave AI (such as Ground Assault enemy tanks) on stock mission control.
- Return customBots/wtoPveMode from wtoGroundAiScriptReady so ground AI scripts in Assault PvE take over only Team A friendly defenders (army 1) and synthesize a friendly defense anchor from the mission safe_zone area.

Verified: MSVC wto_ws.dll build (0 project warnings), .37 check-patches (14/14), .37/.64 native module resolution (18/18), and temporary game-copy build packing 55 ground AI modules; in-game acceptance pending.
2026-12-06 17:43:25 +08:00
..