User Tools

Site Tools


formats:way

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
formats:way [2011-07-08 12:24]
edheldil
formats:way [2011-07-23 00:30]
edheldil
Line 1: Line 1:
 ==== WAY File ==== ==== WAY File ====
-These files contain ​searchmap, information on how to get from a spot in a map to a spot adjacent to the former one+These files contain ​searchmaps, information on how to walk between two points on a map.
  
-.WAY files are binary dump of [[cobjects:​CWAY_bin]] object, which mainly contains two lists, sometimes pretty long:  nodes [[cobject:​CWAY1_bin]] and links [[cobject::​CWAY2_bin]]. While nodes define a spot on a map, links define connection between two nodes.+.WAY files are binary dump of [[cobjects:​CWAY_bin]] object, which mainly contains two lists, sometimes pretty long:  nodes [[cobjects:​CWAY1_bin]] and links [[cobjects::​CWAY2_bin]]. While nodes define a spot on a map, links define connection between two nodes.
  
 .WAY files are located under $DATA/​Cache/​Levels,​ there'​s one .WAY file for each map. .WAY files are located under $DATA/​Cache/​Levels,​ there'​s one .WAY file for each map.
  
-For example, this picture shows nodes in Scar Ravine, with minimap in the background. Note that minimap might be slightly different from the actual map. Also note that although the nodes are mostly placed on a grid, there are some irregularities - perhaps they might be caused by terrain height?+For example, this picture shows nodes in Scar Ravine, with minimap in the background. Note that minimap might be slightly different from the actual map. Also note that although the nodes are mostly placed on a grid, there are some irregularities - perhaps they might be caused by terrain height ​or by distorting the grid to accurately cover the passable areas.
  
 {{:​formats:​scarravine-way.png|}} {{:​formats:​scarravine-way.png|}}
 +
 +Other searchmaps are markedly different, though. ​
 +
 +{{:​formats:​oupost_way.png|}}
 +
 +Part of Layered Character Testmap searchmap:
 +
 +{{:​formats:​layered_way.png|}}
 +
 +
formats/way.txt ยท Last modified: 2011-07-23 00:30 by edheldil