Mapdev:minimap: Difference between revisions
From Spring
Jump to navigationJump to search
m →Mini-Map: added example images. |
m →Image File: added overrides |
||
| (One intermediate revision by the same user not shown) | |||
| Line 10: | Line 10: | ||
= Specification = | = Specification = | ||
== mapinfo.lua == | |||
<code><pre> | |||
local mapinfo = { | |||
... | |||
smf = { | |||
... | |||
minimapTex = "", | |||
... | |||
}, | |||
... | |||
}</pre></code> | |||
== Image File == | == Image File == | ||
* The mini map will update when the terrain is terraformed to reflect the changes. | * 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. | * The mini map is used as the grass shading map if a grass shading map hasn't been specified. | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
! width="15%" | File Location | ! width="15%" | File Location | ||
| This image is an intermediary file compiled into the SMF file using [[MapConv]] or [[MapConvNG]] | | 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 | ! File Format | ||
Latest revision as of 05:03, 19 April 2015
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 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 |
