From: Arne R. <arn...@gm...> - 2005-02-16 21:56:33
|
Hi, I just worked on the helping tool Kris requested. It is a little perl script that converts pathes in the directional format into waypoints. It parses the input for "...from (x,y)...: DIR..." with - x and y as unsigned integers that represent the start position - DIR as one of n, nw, w, sw, s, se, e, ne that represents a direction (one step of the path). There may be (and probably are) more than one DIR. - ... as anything irrelevant So you can easily copy the debug output from CPathfinding and it will calculate the absolute positions of all the tiles on the way. Hope there are no(t many) bugs... ;) cya arne |