Pathfinding Help

Posted By: log2

Pathfinding Help - 09/16/08 18:44

I know it's been asked, I've read all the posts in the AI section, but I have been trying to write an AI code for pathfinding, only a few problems...

- I don't want to use paths in WED (Which seems to be the easiest way so far)
- I don't want to use someone elses script (Includes lines of code not needed, so no point)
- I want it to be able to update it's path (Obviously)


Now I don't want someone to write the code for me (Hence point 2 :P) but I have just started using Lite-C and well I was trying to do it using c_trace, and c_scan, but I just can't seem to get it working properly

I would appreciate a few snippets to help find something like holes in the wall, or stuff like that, and I would also like a written example of the best way to make a pathfinding script, but not the script itself :P haha

Well thanks in advance, by the way, all I want at the moment is something simple, as in find my way to a door in a room with a wall in the center, that's what I'm trying to make, I just can't seem to think of how to do it in Lite-C
Posted By: Puppeteer

Re: Pathfinding Help - 09/17/08 07:32

YOu have the wrong idea about pathfinding you should read this one for pathfinding without paths:(non dynamic)
http://www.coniserver.net/coni_users/web_users/pirvu/au/tutorials/zipped/pathfinding.zip
and this one for dynamic A* pathfinding
http://www.coniserver.net/coni_users/web_users/pirvu/au/tutorials/zipped/astar_en.zip

EDIT: If you want something simple you should use non dynamic pathfinding (point or path based) or try collision avoiding instead of pathfinding.
Posted By: log2

Re: Pathfinding Help - 09/18/08 16:48

Hey thanks for the response, the A* was the one I was looking for, it's a little confusing at the moment, haha, but thanks a bunch for the article
Posted By: Carlos3DGS

Re: Pathfinding Help - 11/10/08 18:21

Is there any other A* guide available?
© 2024 lite-C Forums