Has anyone made a plugin that improves the pathfinding used when clicking on the map?
The only plugin I can find on the forums that does anything with pathfinding is Shaz's Smart Pathfinding plugin; but, as far as I can tell, all it does is makes events use the same pathfinding as touch movement. It doesn't alter how touch movement behaves in any way.
The following is a list of things I'd like to change about the pathfinding. It's just the things I've thought of and is probably not comprehensive. (Feel free to suggest other things if you think of them.)
I'm thinking of creating such a plugin myself if it doesn't already exist, but I thought I may as well search and ask around first, just in case it has already been done.
The only plugin I can find on the forums that does anything with pathfinding is Shaz's Smart Pathfinding plugin; but, as far as I can tell, all it does is makes events use the same pathfinding as touch movement. It doesn't alter how touch movement behaves in any way.
The following is a list of things I'd like to change about the pathfinding. It's just the things I've thought of and is probably not comprehensive. (Feel free to suggest other things if you think of them.)
- Better pathing around obstacles. Currently, if you click on the other side of a wall, the player walks up to the wall and stops – even if there's a viable path around it.
- Avoidance of damage terrain.
- Prefer moving horizontally in sloped regions (eg when using Cae_SlopeMove).
- Avoidance of events, or at least some types of events – map transfers in particular. Possibly others, I'd have to think on it more.
- Contrarily, understanding of "teleporters" – events that transfer you to another point on the same map.
I'm thinking of creating such a plugin myself if it doesn't already exist, but I thought I may as well search and ask around first, just in case it has already been done.