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

Mapdev:features

From Fightorder

Features

Map features are the bits and bobs that give maps more bling, such as rocks, trees, etc.

Example
File:Mapdev-features-with.jpg

Specification

Feature List

All features on a map are listed in the set.lua

Feature

The features themselves are complex enough to warrant their own set of pages.

Additional Information

History

Feature Map

Feature maps are a single RGB image where features such as grass, geothermal vents and trees, as well as structures, etc were "placed" using pixels on the image. This method was extremely imprecise and involved recompiling the map many times in order to simply move a tree from one location to another. They are still used for the purpose of placing grass

File:Mapdev-grass.png File:Mapdev-grass-example.png
Example Feature Map Ingame Result

Specification

File Location The feature map is an intermediary file compiled into the SMF/SMT files using MapConv or MapConvNG.
File Format Any that Mapconv programs support
Colour Depth 8bpp
Channels RGB
Resolution
Spring Map Size* pixels = Spring Map Size * 64
2 128
4 256
6 284
... ...
32 2048
* must be multiples of 2