Mapdev:features: Difference between revisions

From Spring
Jump to navigationJump to search
m →Features: hmm needs work. a lot of work.
m blocked out some more to make it better
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%"
|
|-
! Example
|}
= Specification =
== Feature List ==
All features on a map are listed in the set.lua file located at:
: ./mapconfig/featureplacer/set.lua
* link to set.lua spec page(similar to mapinfo.lua)


= Specification =
== Feature ==
* feature set file
The features themselves are complex enough to warrant their own set of pages.
* link to feature creation page


= Additional Information =
= Additional Information =
* FeaturePlacer
== Spring_Features_1.0 ==
== FeaturePlacer ==


= 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]]
{| class="wikitable" style="text-align: center;" width="100%"
| ||
|-
! Example Feature Map
! Ingame Result
|}
=== Specification ===
=== Specification ===
 
* 8 bit RGB
{| class="wikitable" style="text-align: center;"
! Spring Map Size<sup>*</sup>
! pixels = Spring Map Size * 64
|-
| 2
| 128
|-
| 4
| 256
|-
| 6
| 384
|-
| ...
| ...
|-
| 32
| 2048
|}


[[Category:Mapdev]]
[[Category:Mapdev]]
[[Category:Development]]
[[Category:Development]]

Revision as of 04:34, 18 December 2012

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 file located at:

./mapconfig/featureplacer/set.lua
  • link to set.lua spec page(similar to mapinfo.lua)

Feature

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

Additional Information

Spring_Features_1.0

FeaturePlacer

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

  • 8 bit RGB
Spring Map Size* pixels = Spring Map Size * 64
2 128
4 256
6 384
... ...
32 2048