Pathfinding in the editor
The above screenshot shows the map editor in “pathing” mode. Currently, pathing mode is basically just a “test” mode where you can choose the start and end location and see the path we’ll choose.
Note: the colours in these screenshots are pretty ugly due to JPEG compression. When saved as a PNG, the images are 1.2BM which I considered too big…
Before actually using the path, the game will “simplify” the path, which you can see in the screenshot above. It makes the path look more realistic, especially compared with the “default” one that A* gives us in the first screenshot.
The editor automatically decides the “passable” (green) and “impassable” (red) sections (based on slop). Future revision will let you tweak that and possibly also let you choose “fast” area - which will be useful to keep units from “hugging the mountains", which looks kind of unrealistic.

