Minimap and Fog of War
The map chart
In play, M cycles the chart: a corner minimap, the full chart, then off. The chart is a plan, not a picture: buildings and fences in brown, trees green, rocks grey, chests gold, villagers as calm dots, enemies as warning dots, water as water. The player is the bright mark: an arrow that points the way they face, a dot or a square, chosen with Player marker on Project Settings > Project. On generated terrain the chart is drawn from the ground's own colours. The key can be changed on the Game Controls page.
Lines in game.vdc:
- minimap off
- No chart at all.
- minimapsize <px>
- The corner minimap's size. 0 is automatic.
- minimapshape round
- A round corner minimap instead of a square one.
- minimappos <x> <y>
- Where the corner minimap sits, in window pixels from the top left.
- minimapcompass off
- Hide the compass.
A painted HUD can also carry a minimap widget of its own (see The UI Editor).
Fog of war
fogofwar on, or Project Settings > Project > Fog of war. The chart shows only where the player has walked; props, villagers and enemies in unexplored ground stay hidden until the player comes near. The fog lifts in a circle around the player, and every map remembers what was explored: leave and come back, or save and load, and the ground you uncovered stays uncovered.
A painted HUD's minimap widget can force the fog on or off for that HUD, or leave it to this setting.
The edge of the world
terrainedge says what lies past the last row of a generated map:
- void
- The map simply ends. The default.
- continue
- The border's height runs on to the horizon.
- water
- Sea to the horizon.
You rarely type this: the Terrain Generator's Edge dial writes it on Generate, and a new Generate replaces it. Edit it by hand for a map you sculpted or imported.