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 revisionPrevious revision
Next revision
Previous revision
formats:way [2010-10-17 01:24] edheldilformats:way [2011-07-23 00:30] (current) 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.
  
-They consist of two list of structures, sometimes pretty long. +.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 binary dump of [[cobjects:CWAY_bin]] objectwhich mainly contains two lists, sometimes pretty long:  nodes and linksWhile nodes define a spot on a map, linksdefine connection between two nodes.+.WAY files are located under $DATA/Cache/Levelsthere's one .WAY file for each map.
  
- [[cobjects:CWAY1_bin]] and [[cobjects:CWAY2_bin]] listsThe former seems to hold indices to the latter.+For example, this picture shows nodes in Scar Ravine, with minimap in the backgroundNote 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|}} 
 + 
 +Other searchmaps are markedly different, though.  
 + 
 +{{:formats:oupost_way.png|}} 
 + 
 +Part of Layered Character Testmap searchmap: 
 + 
 +{{:formats:layered_way.png|}}
  
  
formats/way.1287278680.txt.gz · Last modified: 2010-10-17 01:24 by edheldil