Error: too many stages for auto-walk (SOLVED)

Started by InCreator, Thu 27/07/2006 12:46:06

Previous topic - Next topic

InCreator


http://www.2dadventure.com/upload/jones_remake.gif

There's only one walkable area on the screen -- the road.
AGS can't crack it. How to make it work more stable?
Would separating into different walkable areas help?

SSH

Does this occur on room-load, or when you try and walk somewhere? If the latter, you could help AGS by having split the walkable, say into top, bottom, left and right, then only making the char walk to the edge of the current area before turning on the next area and retrying the walk to their destination...
12

InCreator

During game & clicking onto somewhere. Not always, though.

Radiant

Looks like your walkable area is too complex. As I understand it, the walkto algorithm works by picking a number of waypoints along the road, to make sure you don't cross through non-walkable areas (and you can manually add waypoints with MoveCharacterPath() ). Since your walkable apparently consists of a lengthy, narrow, winding path, too many waypoints are required and the pathfinder halts.

(solution? Hardcode it).

Pumaman

#4
The path is probably too narrow. If you try widening the walkable area that should make it simpler to handle.

Edit by strazer:

Quote from: InCreator (via pm)
Quote from: strazer (via pm)Were you able to solve your walkable area problem? Did CJ's suggestion help?

At some rate, yes. I mean - I haven't encountered the problem again.
But then again, I've been busy with graphics and haven't tested it much...

SMF spam blocked by CleanTalk