Screenshots:
Guards (show ai, show ai guards)
A massive 3-dragoon attack by Blizzard AI (show ai player, show ai units, show regions)
Showing which town buildings belong to (show ai units)
The AI determined that those resources are a expansion location (show resareas)
The debug info is controlled through console that can be opened with the ~ key, with following commands:
show ai (Abbreviation sai)
Toggles the main debug output on/off. Shows the request queue of AI players in topleft corner, the AI will always only look at the first request on the queue until it can start working on it, or discard it completely.
show ai guards (Abbreviation saig)
Shows guard positions, for both alive guards and ones that the AI tries to build.
show ai units (Abbreviation saiu)
Draws lines from each AI unit to their related location. For workers and buildings the line shows their town, for military it shows the current region they are allocated to, and guards show their home point.
show ai player <player id> (Abbreviation saip <player id>)
Limits debug info to specific player and shows region info of a player. The player-id is 0-based, you can also use `player` command to show what player owns the currently selected unit.
show ai player all
Reverts `show ai player <n>`
show resareas
Shows the base resource areas, which are locations the AI will be able to expand to.
show regions
Shows the pathfinding regions. Useful with `show ai player <n>`, which shows extra info for each region.
show collision
Shows unit collision boxes.
show range
Shows an *approximation* of unit range. BW's distance algorithm causes the range to be more of a
12-gon than a circle, so the shown circle is not perfect representation.
show locations
Draws location borders on screen.
gsw <n>
Sets the game to wait *about* <n> milliseconds between frames. Slowest working value is around 150, holding down the + key will go even faster than `gsw 0`
Download:
https://github.com/neivv/ai_debug_1161/releases/tag/v3
And yes, I know the info text often overlaps/covers things, and may go off screen. I don't think I'm going to ever fix it though.
Edit 26th May: Added abbreviations and regions show their defense priority.
Post has been edited 2 time(s), last time on May 26 2018, 7:25 pm by Neiv.
None.