Mapdev:features: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Features =
= Features =
Map features are the bits and bobs that give maps more bling, such as rocks, trees, etc.  
Map features are the bits and bobs that give maps more bling, such as rocks, trees, etc.  
{| class="wikitable" style="text-align: center;" width="100%"
<center>
|
{| class="wikitable"
|-
|+Example
! Example
|[[File:Mapdev-features-with.jpg|640px]]
|}
|}</center>
 
= Specification =
= Specification =
== Feature List ==
== Feature List ==
Line 14: Line 15:


= Additional Information =
= Additional Information =
== Spring_Features_1.0 ==
* '''[[Spring Features]]''' is a mod archive filled with useful objects.
== FeaturePlacer ==
* '''[[Map_Making:_Feature_Placer|FeaturePlacer]]''' is an ingame tool to help with adding features to your map.


= History =
= History =
== Feature Map ==
== 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 [[Mapdev:grass|grass]]
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 [[Mapdev:grass|grass]]
{| class="wikitable" style="text-align: center;" width="100%"
<center>
| ||
{| class="wikitable" style="text-align: center;"
| [[File:Mapdev-grass.png]] || [[File:Mapdev-grass-example.png|451px]]
|-
|-
! Example Feature Map
! Example Feature Map
! Ingame Result
! Ingame Result
|}
|}</center>
=== Specification ===
=== Specification ===
* 8 bit RGB
{| class="wikitable" width="100%"
! width="15%" | 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
| <center>
{| class="wikitable" style="text-align: center;"
{| class="wikitable" style="text-align: center;"
! Spring Map Size<sup>*</sup>
!Spring Map Size<sup>*</sup>
! pixels = Spring Map Size * 64
!pixels = Spring Map Size * 64
|-
|-
| 2
| 2
Line 39: Line 55:
|-
|-
| 6
| 6
| 384
| 284
|-
|-
| ...
| ...
Line 48: Line 64:
|-
|-
| style="text-align: left;font-style:italic" colspan=2 | &#42; must be multiples of 2
| style="text-align: left;font-style:italic" colspan=2 | &#42; must be multiples of 2
|}</center>
|}
|}


[[Category:Mapdev]]
[[Category:Map Dev]]
[[Category:Development]]

Latest revision as of 00:57, 25 February 2014

Features

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

Example

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

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