I've been using Smart_Path_MV by Shaz throughout the entire development of my game, and it's had no issues up to this point.
I have a system in place for this map where the NPC in the white/purple cloak walks to different points of the map depending on the player's Region ID. I have a parallel process event that checks the player location every 1.5 seconds, and if the NPC isn't already standing in their place, it tells them to walk there with the SmartPath command.
Not everything fits on the screen, so it's missing the wait command at the top and the second SmartPath command below, but here's the list of commands:
And here's a screenshot of the portion of the map in question:
The NPC is at the bottom sort of to the left, and he's meant to walk to where the duplicate is standing at the top of the image. This only happens after the player has pushed the dead tree into the pond and walks across it.
The issue comes up when the NPC starts walking, he walks up to the cliff directly left of the pond, and then turns upwards and stops, as if he's trying to walk through the cliff. Here's one last image of what happens when I playtest this portion of the game, just for reference:
To give a few more details, the cliffs are set as walkable tiles, and the events lining the top and bottom prevent the player from traversing them unless specific conditions are met. This made me wonder if the problem would be solved by making the cliffs unwalkable in the tileset settings, but that didn't change anything.
Other things I tried include setting the dead tree tiles to "Through", or changing only the water tiles that the tree is on to be walkable, to see if either of those were creating a barrier, but neither worked (would it be different if I tried both at the same time?)
I've thought about setting the NPC to "Through" when he's walking, but I know from past experience that would allow him to just walk through the cliff, which is not what I want (and creates some crazy narrative complications, as you could imagine).
Does anyone who's used Shaz's plugin know if there's a fix for this? Do I just need to find a new pathfinding plugin to use in this area?
And thank you, I know this is a bit of a long post.
I have a system in place for this map where the NPC in the white/purple cloak walks to different points of the map depending on the player's Region ID. I have a parallel process event that checks the player location every 1.5 seconds, and if the NPC isn't already standing in their place, it tells them to walk there with the SmartPath command.
Not everything fits on the screen, so it's missing the wait command at the top and the second SmartPath command below, but here's the list of commands:
And here's a screenshot of the portion of the map in question:
The NPC is at the bottom sort of to the left, and he's meant to walk to where the duplicate is standing at the top of the image. This only happens after the player has pushed the dead tree into the pond and walks across it.
The issue comes up when the NPC starts walking, he walks up to the cliff directly left of the pond, and then turns upwards and stops, as if he's trying to walk through the cliff. Here's one last image of what happens when I playtest this portion of the game, just for reference:
To give a few more details, the cliffs are set as walkable tiles, and the events lining the top and bottom prevent the player from traversing them unless specific conditions are met. This made me wonder if the problem would be solved by making the cliffs unwalkable in the tileset settings, but that didn't change anything.
Other things I tried include setting the dead tree tiles to "Through", or changing only the water tiles that the tree is on to be walkable, to see if either of those were creating a barrier, but neither worked (would it be different if I tried both at the same time?)
I've thought about setting the NPC to "Through" when he's walking, but I know from past experience that would allow him to just walk through the cliff, which is not what I want (and creates some crazy narrative complications, as you could imagine).
Does anyone who's used Shaz's plugin know if there's a fix for this? Do I just need to find a new pathfinding plugin to use in this area?
And thank you, I know this is a bit of a long post.