Maps/List

From MegaGlest
Revision as of 16:32, 12 November 2009 by 213.252.171.99 (talk) (Created page with '==Maps== Maps are single files, that define bidimensional matrices of cells, each cell has the following attributes: * Height. From 0 to 20 * Surface type. There are 5 surface t…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Maps

Maps are single files, that define bidimensional matrices of cells, each cell has the following attributes:

  • Height. From 0 to 20
  • Surface type. There are 5 surface types, in the map file there is only a number indicating the type of texture, the texture file itself depends of the tileset.
  • Object. A cell can have an object or not, there are 10 types of objets, object models depend of the tileset, but objects 1, 2 and 3 are trees and objects 4 and 5 are stones, objects from 5 to 10 can be anything, depending on the tileset.
  • Resource. A cell can have an resource or not. A cell can't have both and object and a resource. Resources dependof the Tech Tree.

Maps also define some other things such as start locations for each player, size of the map, altitude factor, and water level. Maps can't define the placement of any unit or building. Maps can be edited with the map editor. To play maps created with it just place them into the map folder of the game. Map files must have gmp extension. There is a manual for the map editor.