Question on maps' XML semantics
Hi there,
I have been playing around with the map editor for some minutes and watched the XML output. I think I'm grasping what happens there, but I'm still puzzled by the TileData element. Maybe someone can help me out there?
For instance, I would have something like this:
<TileData>2665,1,0,0.000000,0,6</TileData>
<TileData>2,5,0,0.000000,0,10</TileData>
<TileData>78,1,0,0.000000,0,6</TileData> <!-- etc. -->
What I have gathered so far:
- the first value is the number of tiles affected; counting happens in a "rows" first, "columns" second manner (if one would see a map as a table)
for instance, my tiny map is 80 tiles wide, 64 tiles high; the first line would make the first 33 rows and 25 tiles of the 34th row water in my example above. Then there's two more tiles of another type, then 78 water tiles again. - the last value is the type as determined by the TerrainTypeInfo
Now I'm still riddling about the other values. I presume the floating-point one (the fourth one, that is) has to do with a tile's ground height. No clue about the others yet. Any ideas?