Hey everyone
Apologies if the answer to this question is fairly simple. I'm using the VisuStella plugin for Tiled in RMMZ. Their tutorial project is extremely helpful and I've met a couple people who are happy to share their experience with it, but I'm wondering if there's a message board or place where likeminded people with this tool help each other out? I understand the basics pretty well, but there's always nuanced specific tasks or problems I still come across.
Someone suggested I go to the Tiled Forum, but they seem to direct RPG Maker questions back to this forum.
I just don't want to get into the habit of asking Tiled questions here if it's not common practice.
Well, If you know how to get a map made with tiled into rpg maker via the plugin and get the collisions all working, that's all there is concerning rpg maker itself I would say. Technicalities of tiled itself would be a tiled forum thing to ask I would think.
That's about as much as one can say with the vague premise of "Nuanced specific tasks or problems".
In general, just make a thread for each nuanced specific task or problem, and people who know how to solve them will respond.
Fair point.
I changed the title of the thread. Here's the example.
I have a cutscene where a roof of a burning building collapses on itself half way through the scene. Instead of using events and switches in RMMZ, I decided to do the tile swap using levels in Tiled. It seemed cleaner.
I created two layers Before Roof Collapsed and Roof Collapsed, and gave them the correct priorities that display and disappear each layer depending on the level the player is on. During the cutscene I use Set Movement Route to move the player over toLvl1 collision tile. In theory this should swap the roof tiles, but it doesn't. To test whether it's an issue with the Set Movement Route or Tiled, I restored full movement at the end of the cutscene, moved the player off the toLvl1 tile and back onto it, and the tiles swapped like they should.
Conclusion: it doesn't seem like Set Movement Route command can be used to trigger a to-Lvl tile collision.
It sounds like the core of the issue is that there's a difference between moving the player via keyboard/mouse control and moving the player via movement route – the former triggers the thing you need, and the latter does not.
Is that accurate?
If so, I think you'd need to make copious used of the debugger to figure out what exactly is called to trigger that thing, and then call it manually in your movement route with a script call.
Yes that is 100% accurate.
By debugger, do you mean that additional window that shows up when you run a test play and shows a bunch of coding as you run the game?
I still want to figure this out, but I've also changed my approach on this cutscene.
The scene has the player follow another character through a village. Instead of forcing the players movement with Set Movement Route, I'm going to let the player follow with the keypad and use additional events to block the wrong directions. Seems more interactive.
debugger language is not something I’m good at so I’ll try to explain the best I can. Apologies if I’m explaining something you already know.
The tile swap isn’t triggered within the event, rather a player’s movement over a tile with level properties assigned in Tiled. The most common example of its use is showing a bridge above and below a player pending what level they are on. You make two tile layers of the same bridge in Tiled, one layered above the player the other layered below. Depending on what level the player is on, one layer is visible while the other is invisible. The swap is triggered when a player walks over a tile with a level property (eg toLvl0, toLvl1).
However, I think there’s a restriction to how the player steps on the level tile. You cannot activate a level tile by teleporting a player onto it. I think the same is true for Set Movement Route. The player has to walk over the level tile using the mouse or direction keys.
Anyways, I opted for a more interactive approach to this cutscene. The player is forced to follow another character and in the process walk over the level tile and triggering the tile swap and roof collapse. It actually flows nicer for the player.
Thanks again SF
Okay, so it sounds like a mechanic implemented in the Tiled plugin, perhaps in increaseSteps or a similar place. It would definitely be possible to trigger that in a move route. I don't know what the script call would be to do so though.
If you want I’ll make a test map and we can figure it out. Because if there’s a way to do it, there would definitely be an audience that would want it
For continuity of good advice. I actually found a simple solution in the Visustella Tiled sample project. It was right in front of me and didn't notice.
I believe it is map4 that outlines how Levels work in tiled, there's a pro tip that states:
This plugin comes with a simple command you can us in MZ. (Event command/Plugin Command/VisuMZ_5_TiledMZ/) called Set Map Level.
Simply input the level you want to change to manually, but this is a cumbersome way to do it, recommended only for special occasions like cutscenes and similar non-exploration.
In case someone else is reading this thread, I wanted them to have this solution.
good call! I actually did this in another cutscene with the Jump Command. I didn’t even think of the x/y offset. I’m assuming that can drop the sprite image down a few pixels to align it with the tilesets.
The Tiled plugin is great, along with the 8 wave bundle of plugins. Visustella has its fingerprints all over my project.
I have a few quality of life questions related to the Tiled plugin. Mind if I send you a private message?