Map

Submitted by Brutus5000 on Wed, 07/20/2016 - 18:46
Semantic

A map is used to represent a planet in terms of a Forged Alliance object. Each planet has excatly one map.  Battles for this planet always take place on this map. However, one map can be used for multiple planets.

To increase the diversity of the maps, all selected maps for GW get tagged by size and ground. Planets have these attributes, so only maps with matching attributes can be assigned to a planet.

The number of slots defines the reqiured numbers of attackers/defenders (each 50%) to start the battle. It can be lower than the actual map. That way the same map can be used for multiple team sizes.

Table name
map_pool
Table structure
  • id [INT, PRIMARY KEY, AUTO_INCREMENT]
  • faf_map_id [INT] - id of the map in FAF DB
  • faf_map_version [int] - version-id of the map in FAF DB
  • total_slots [TINYINT]: number of slots to play on this map
  • size [INT]: equivalent to map size 5,10,20,40
  • ground [CHAR]: [W]ater, [S]oil, [L]ava, [D]esert, [F]rost

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.