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.
[MOD] Pathfinder (EXPERIMENTAL)
[MOD] Pathfinder (EXPERIMENTAL)
DON'T mention coding style!
(c) sapier all rights reserved
(c) sapier all rights reserved
-
- Member
- Posts: 26
- Joined: Fri Feb 01, 2013 09:44
- jordan4ibanez
- Member
- Posts: 1923
- Joined: Tue Sep 27, 2011 18:44
- GitHub: jordan4ibanez
- IRC: jordan4ibanez
- In-game: jordan4ibanez
- jordan4ibanez
- Member
- Posts: 1923
- Joined: Tue Sep 27, 2011 18:44
- GitHub: jordan4ibanez
- IRC: jordan4ibanez
- In-game: jordan4ibanez
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
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
By perseverance the snail reached the ark.
- Charles Spurgeon
- Charles Spurgeon
Who is online
Users browsing this forum: No registered users and 31 guests