Mapdev:minimap

From Spring
Jump to navigationJump to search

Mini-Map

It is traditionally a simplified top down view of the battlefield, it can also be an arbitrary image. It is used in the lobby when viewing and selecting maps.

Example
Mapdev-diffuse.jpg Minimap example.jpg
Example Minimap Example of use

Specification

mapinfo.lua

local mapinfo = {
   ...
   smf = {
      ...
      minimapTex = "",
      ...
   },
   ...
}

Image File

  • The mini map will update when the terrain is terraformed to reflect the changes.
  • The mini map is used as the grass shading map if a grass shading map hasn't been specified.
File Location This image is an intermediary file compiled into the SMF file using MapConv or MapConvNG, it can also be specified in the mapinfo.lua
File Format Any that Mapconv programs can use
Colour Depth 8bpp
Channels RGB
Resolution 1024x1024