I am trying to make it so that a bridge in my game can be walked on, but also you can go under it if you are below it. I made it so that a player turns a switch on, and you can go under it. But even with the switch off the bridge won't work normally. Help!
What am I doing wrong?
RPG Maker MZ SupportHere are a couple of tutorials that might help. I thought there was a written tutorial here, but I didn't find it immediately with a search. I hope these help!
You probably meant this one ;3
www.rpgmakerweb.com
Making Multi-Level Bridge Tiles | The Official RPG Maker Blog
When maps have multiple levels of elevation, you'll eventually want to have bridges. But how do you make your character both walk on the bridge, and under the bridge? Let's learn how!
... I did the event method and it still isn't working. I looked at one of those tutorials already. It's some sort of other thing. Can you please look at the screenshots I posted and tell me if I am missing something?
There could be a few things wrong with this setup, it's hard to tell without knowing exactly how the bridge is functioning differently from what you're trying to achieve
setting an event with a tile graphic to "below characters" means it will take the passability from the tileset
the event page with the highest number will always override lower pages
etc etc
you also probably want to prevent certain issues like the player walking into and out of the bridge from certain directions which require further setup
setting an event with a tile graphic to "below characters" means it will take the passability from the tileset
the event page with the highest number will always override lower pages
etc etc
you also probably want to prevent certain issues like the player walking into and out of the bridge from certain directions which require further setup
Just to make sure it is clear, your event works to allow the player to walk under the bridge, but you can't get the player to walk over the bridge?
As far as i can see, your events have both the triggers on action button (which cannot know when exactly you activate/deactivate the switch. The easiest way i just created and tested is this:
1. Set an event on the map that turns on the specific switch // you might want to configure it a bit to be triggered when stepping over certain cells & to be a parallel process
2. On your bridge, set a second event with 1 conditional branch that says "If bridge switch on, do nothing, else turn self switch A ON". Also make sure it's a parallel process
3. Within the same event, duplicate the event page and change the else to turn self switch A OFF"
4. Job Done
1. Set an event on the map that turns on the specific switch // you might want to configure it a bit to be triggered when stepping over certain cells & to be a parallel process
Are you resetting the switch? otherwise, it will be set to the player walking under it.
Link - How to create a togglable bridge
Link - How to create a togglable bridge
I did some more testing, and I discovered it was not working because empty space was underneath it. However, the two way passage settings in the tileset did not work, i.e I could walk over the bridge but I could walk onto the ground below from the bridge.
I followed this tutorial and made sure the bridge was over walkable ground and it worked :] Still sorta finicky - I can't make the bridge cover impassable things - but it's better than nuffin I suppose.
You can make a bridge cover impassable tiles (like water) if you use a tile graphic that is passable in the tileset. If you don't want to use a tile graphic, there are other workarounds but they're a bit more complicated
Edit: nevermind
Original thread: https://forums.rpgmakerweb.com/threads/what-am-i-doing-wrong.156635/