Preparing to Create a Mini Map
When creating a mini-map, there are certain console variables that are better left turned off. Specific adjustment of CVars for mini-maps are controlled in the MapScreenshotSettings.xml file.
You can edit this file, located in the
<root>\Editor\ folder, with a text editor. You can create a Mini Map by selecting the desired area, and then click Generate Mini Map, under Terrain Editor -> Mini Map.
The standing settings are shown here:
For a better quality, you can adjust the Size and Resolution settings from the Mini Map tab. In addition, you can also change some of the lines in the *.xml file, or add new CVar commands.
These settings will raise the quality and the amount of objects visible.
Here is an example of some higher quality settings:
Creating a Minimap
Open the desired level in the Sandbox Editor, and then open the Mini Map tab located in the Terrain Editor window.
Pic1: Mini Map tab
After pressing the Mini Map button, a green bounding box, and a smaller blue selection box appears on the terrain. It is helpful to zoom far away from the terrain in order to see the entire area.
If you cannot see the terrain after zooming out, try increasing the ViewDistance setting under the Environment Editor.
Pic2: Selected area for creating a Mini Map
To move the mini-map bounding box, click on a different section of the terrain where you want to create your mini-map.
The green bounding box shows the area that will be converted into a mini-map image, you can adjust the preferred height by editing the input in the Size option under the Mini Map tab.
Make sure that the mini-map bounding box is actually larger than the actual play area of your map. Or else it may lead to anomalies if the player stands on the edge of your map.
Adjusting the Resolution in the mini-map increases the size of the mini-map image that the Editor generates. For example, choosing a resolution of 2048 provides you a mini-map image of 2048x2048 pixels.
After you have moved the box and set the Resolution and Size, and you can choose the file formats (*.dds and *.tif), and then click Generate MiniMap. The output are directly saved in the same folder as the currently opened .cry file along with an .xml file.
Pic3: Generating a Mini Map using the Terrain Editor
All the associated files (*.tif, *.dds and *.xml) will be saved in the level file name.
The *.xml file provides the CryENGINE with the map coordinates so that the player position is correctly displayed on the mini-map.
Example from Woodland level:
Save and reload the editor to see the mini-map active in the HUD.