Page 1 of 1

[MOD] Pathfinder (EXPERIMENTAL)

PostPosted: 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?r99wagbeqs641zp

it's quite slow but as long as core version isn't added it's better than nothing.

PostPosted: Sun Mar 17, 2013 21:58
by Captain_AuXiL
what's pathfinding?

PostPosted: 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

PostPosted: Sun Mar 17, 2013 22:03
by Calinou

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

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

PostPosted: 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

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

PostPosted: 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