Difference between revisions of "User:AVS/Map format"

From VCMI Project Wiki
Jump to: navigation, search
(Notes about H3M)
(Map format)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* unknown field p7 in player config is boolean flag controlling use of faction config for player (from SoD BT),
 
* unknown field p7 in player config is boolean flag controlling use of faction config for player (from SoD BT),
 
* field generateHero (unused) is wrong, this is if fact type of main city if it is random.
 
* field generateHero (unused) is wrong, this is if fact type of main city if it is random.
* field placeholdedHeroes is probably incorrect. Real meaning is custom hero names (from SoD bt) {{todo}} check
 
  
 
== Map format ==
 
== Map format ==
 +
[[New map format]]
  
{{wip}}
+
{{wip}}  
 +
 
 +
* JSON based
 +
* External format. One of:
 +
# Single JSON (current)
 +
# Single ZIP (several JSON inside: at least header separated)
 +
 
 +
* packing tiles
 +
# JSON object (current)
 +
#* + easy to implement
 +
#* + more readable
 +
# single string
 +
#* + faster
 +
 
 +
* (*) support for multiple levels of different size
 +
 
 +
* objects/object types
 +
# separated lists of templates and objects (as in h3m) (current)
 +
# embed objects in templates
 +
#* + more redable

Latest revision as of 06:19, 10 April 2013

Notes about H3M

some bugs in VCMI

  • unknown field p7 in player config is boolean flag controlling use of faction config for player (from SoD BT),
  • field generateHero (unused) is wrong, this is if fact type of main city if it is random.

Map format

New map format

[WiP]

  • JSON based
  • External format. One of:
  1. Single JSON (current)
  2. Single ZIP (several JSON inside: at least header separated)
  • packing tiles
  1. JSON object (current)
    • + easy to implement
    • + more readable
  2. single string
    • + faster
  • (*) support for multiple levels of different size
  • objects/object types
  1. separated lists of templates and objects (as in h3m) (current)
  2. embed objects in templates
    • + more redable