[MOD] Pathfinder (EXPERIMENTAL)

Posted:
Sun Mar 17, 2013 20:47
by sapier
This mod adds a function to do pathfinding in pure lua.
http://www.mediafire.com/download.php?r99wagbeqs641zpit's quite slow but as long as core version isn't added it's better than nothing.

Posted:
Sun Mar 17, 2013 22:02
by 10twenty4
Captain_AuXiL wrote:what's pathfinding?
Exactly what it sounds like: algorithms to find the best path between two points. It would allow a zombie to go around obstacles instead of always moving in a straight line and getting stuck, for instance

Posted:
Mon Mar 18, 2013 02:35
by jojoa1997
I might figure out a way to ad this maybe to my npc mod.

Posted:
Thu Mar 21, 2013 01:55
by jordan4ibanez
Oh nice, how does it work?

Posted:
Thu Mar 21, 2013 02:58
by jojoa1997
jordan4ibanez wrote:Oh nice, how does it work?
I haven't been able to get to coding lately I am hoping to do it next week cause I am off for break

Posted:
Wed Mar 27, 2013 02:26
by jordan4ibanez
How do you even use this?

Posted:
Tue Apr 02, 2013 14:37
by Jonathan
Would the pathfinder take into account doors? Meaning would it look at a door the same as a wall? I would think a pathfinder would be a lot more interesting if a mob, for example, knew it had to open a certain number of doors in a building in order to reach the player. Because most buildings have doors.
This would also be very nice to be able to be set as an option for a mob. So only certain mobs could open wood doors, and could also have the option for a mob to open a steel door. This however, might take a lot of work coding wise, and I am not that good at lua (and pathfinding, I would say, is probably one of the hardest things to code).
- Jonathan