Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Mapdev:minimap

From Fightorder
Revision as of 20:03, 18 April 2015 by mapdevinter>Enetheru (Image File: added overrides)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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
File:Mapdev-diffuse.jpg File: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