I'm wanting to be able to do stuff like replace the rowboat with a minecart and mark which tiles are tracks by terrain tags, but I haven't been successful thus far. Any ideas? I'm not afraid to tinker with simple scripts.
Getting Vehicles to Move in Areas with a Specific Terrain Tag
RPG Maker VXAce SupportNot tested Idea, but it could work.
You could copy paste the Tileset in the Database and make a second one where only the Tracks are passable.
When entering the Vehicle, you use Eventcommand Change Tileset. And when you leave the Vehicle
you change the Tileset back to normal. Both Tilesets are identical but the passability is different.
Edit:
A code solution with 1 parallel Event and some positon checks would also work, let us know if you
rather want this than the first mentioned Idea.
You could copy paste the Tileset in the Database and make a second one where only the Tracks are passable.
When entering the Vehicle, you use Eventcommand Change Tileset. And when you leave the Vehicle
you change the Tileset back to normal. Both Tilesets are identical but the passability is different.
Edit:
A code solution with 1 parallel Event and some positon checks would also work, let us know if you
rather want this than the first mentioned Idea.
Not quite, because the concern would be boat movement. Thus far, "water" tiles specifically are the only tiles that boats can move on, but I can't figure out how on Earth it identifies "water".
Why would you need to identify water tiles if we changed the tileset and made the water passable while we made the land unpassable?
Else:
Event Command "Get Location Info" can detect the Terain Tag of the Maptile the Player is standing on, or
a Region ID.
Edit: Does it need to be the Boat? Would a Self Made Vehicle also work?
Are the Train tracks passable if player is not in a mine cart?
Else:
Event Command "Get Location Info" can detect the Terain Tag of the Maptile the Player is standing on, or
a Region ID.
Edit: Does it need to be the Boat? Would a Self Made Vehicle also work?
Are the Train tracks passable if player is not in a mine cart?
I misunderstood what you were suggesting, and that could work. If I can't find a better solution, I'll do that.
That could work, but I was hoping to find an easier method.
No, but it's convenient and less likely to be needed as an actual boat elsewhere.
Probably, but I don't know how to make a new vehicle.
By default, yes, but I might change that.
Original thread: https://forums.rpgmakerweb.com/threads/getting-vehicles-to-move-in-areas-with-a-specific-terrain-tag.124592/