Pathfinding Script that Understands Terrain

There are serveral pathfinding scripts available and I've looked over a few. I am looking for what is a relatively obscure feature though I guess. I have events that are ships and I want them to remain on sea tiles while pathfinding. Do any of you know if any of the existing scripts support this? If not I suppose I could just use some of the other scripts with event way points, but I'd like to avoid that if possible.
What pathfinding scripts have you tried?


It would be strange if a pathfinding script doesn't actually consider passage settings since that's one of the requirements for whether a tile is actually part of a path or not.
Have you tried Jet's Pathfinding Script? I haven't tried it for myself, but I hear it's good.
I guess the one I tried was Galv's move route, but he says it's not really a pathfinding script.

I don't know...none of the scripts mention this as a feature. Since events don't have a domain (land, sea, air) I could see them flying around all over the place, that's what happened with Galv's the ships moved where I wanted, but sailed through land when they wanted. Or I can see them mainly thinking about land based events and entirely avoiding water.

I'm just trying to tap the collective knowledge to see if anyone knows for sure this is a feature in one (sea pathing). It doesn't usually make the list of features in summary anyway.
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.


I'm not aware of any that provide this currently. That does not mean none do.


I think your best bet would be to find a script that you like to use for 'normal' purposes (if you're doing pathfinding on land), then make a request to have it modified so you can state a terrain ID or region ID as part of the call, and if that is provided, the script will only allow movement over tiles that match (and maybe ignore other types of checks)
One additional information for you:

The vehicles move by tile ID because there is no real terrain data. Somewhere in the engine there is a list that decides which of the A1-tiles is passable for a ship based on the position of that tile in the tilesheet.

Those tiles are only water in the default sheet - if you made a custom tileset where some of the default Water-Tiles were exchanged for additional land-tiles, then the boat and ship will be able to travel on those land-tiles (it's a bit more complex as the passability also influences this, but basically you can have the ship travel on land by exchanging the tile graphics, because the vehicles don't care how a tile looks like).
It's in the tileset data/flags.

Original thread: https://forums.rpgmakerweb.com/threads/pathfinding-script-that-understands-terrain.35186/