RPG Maker MV

RPG Maker MV

An Ning Feb 19, 2018 @ 6:12pm
Pass under a bridge?
Is there a way to do this?
I put a bridge between 2 buildings, but the player can walk down the street and onto the bridge instead of going into the building.

I'm fine making a mini-map where you go across the bridge to get between buildings, but how do I make it so on the main map the character can move under it?
Last edited by An Ning; Feb 19, 2018 @ 6:21pm
< >
Showing 1-15 of 25 comments
Iguana Guy Feb 19, 2018 @ 6:22pm 
It requires using a few events. One of them bring an event that uses the bridge piece as its image and having two event pages - an above player and below player setting. When you want the player to walk under - somehow they ned to activate the event page that makes it above player (usually this is done by walking overtop another event blow player/player touch that activates this.) Otherwise when they aproach the bridge as if to cross it, there would be a different switch to set the bridge event to below player so they can cross. There are youtube vids that probably descibe this is fuller detail. but that is the basics of what you need.
An Ning Feb 19, 2018 @ 6:28pm 
I know youtube is the go-to source for many, but I can't access it reliably here, so I have to find text explanations.
JohnDoeNews Feb 19, 2018 @ 6:38pm 
Normally you could do that with events, make the event "above character" or "below character" depending on if you want to go over, or under. However... Since you use the bridge from the tileset, this won't work.

The easiest way to deal with it, is to open the tileset in an image editor, cut out the bridge, paste it into a character sprite and use this one instead. Make sure the file name starts with "!" so it will not hover above. like the doors.

Use this in your even instead, make 2 pages in the even, one that is above and one that is below character. Now allign a switch to is, that gets triggered depending on if you're atop, or at the bottom.
Hajami Feb 19, 2018 @ 7:15pm 
If you create an Event on below Char and if you than choose as Graphic one from the Tileset,
than that Event will use the passability setting of that Tilesettile.

This means if your bridge is from left to right, and you choose the bridge Tiles from Tileset BtoE and if that Tile is only passable from left to right, than you allready finished walking over the bridge.

But you need second eventpage to also be able to run below it.
There you make the Eventpage to above or was it same as Player, and choose the same Tile.

Now all what is left is switching between those 2 Eventpages.
Just surround the Entrance on the left and right and on the top and down with Events on below char with trigger player touch and let them switch a switch on or off depending on if you want to go under or above it.

I hope this wasnt to much chineese^^ its early in the morning and i just got up :).
Last edited by Hajami; Feb 20, 2018 @ 1:36pm
An Ning Feb 19, 2018 @ 7:34pm 
Thanks, I got it to work -though it was a lot more complicated than I expected a "simple bridge" to be (I also had to toy with tilesets so the support structures under the bridge were "passable").

I don't know if it is needed, but I also put the starting "over player" event on the outsides of the "bridge under player" event, that wayrandom-movement NPCs won't be walking along the road and then suddenly walk over/onto the bridge (since my bridge is between 2 buildings in a town)
Last edited by An Ning; Feb 19, 2018 @ 7:35pm
JohnDoeNews Feb 19, 2018 @ 8:14pm 
Originally posted by Hajami:
If you create an Event on below Char and if you than choose as Graphic one from the Tileset,
than that Event will use the passability setting of that Tilesettile.

This means if your bridge is from left to right, and you choose the bridge Tiles from Tileset BtoE and if that Tile is only passable from left to right, than you allready finished walking over the bridge.

But you need second eventpage to also be able to run below it.
There you make the Eventpage to Above Player, and choose the same Tile.

Now all what is left is switching between those 2 Eventpages.
Just surround the Entrance on the left and right and on the top and down with Events on below char with trigger player touch and let them switch a switch on or off depending on if you want to go under or above it.

I hope this wasnt to much chineese^^ its early in the morning and i just got up :).

You can't do that with images from the tileset. Even if you put "above character" in the event page, it will still be shown "under character" if the image is set under character in the tile set. Thereore you you need to make a charater out of it.
An Ning Feb 19, 2018 @ 8:34pm 
Turns out that you go over the original tile, yes, but the game displays an icon and places it "over you", so you appear to be passing beneath it.

I will note that for my bridge to "work", I had to have the end pieces set to "same as character" instead of "above character" when the event triggered.. otherwise my character could walk under the bridge, then move sideways and suddenly appear on the bridge/rooftop
Last edited by An Ning; Feb 19, 2018 @ 8:43pm
JohnDoeNews Feb 19, 2018 @ 8:42pm 
Which bridge do you try to use? The wooden one from the main tile set? I'll make a characterfile out od it, you can use.

When you use it as a tileset, it will not be able to show above the player in one case, and under it in another.
An Ning Feb 19, 2018 @ 8:45pm 
I would show screenshots of it working, but for some reason my F12 key doesn't seem to be taking screenshots today
JohnDoeNews Feb 19, 2018 @ 8:52pm 
Oh it works now? Cool. :p I made the character images, but if you have it working, than it is all good. :)

Wait... Does this mean I am wrong about the tileset images not being able to shift heights?
Last edited by JohnDoeNews; Feb 19, 2018 @ 8:54pm
An Ning Feb 19, 2018 @ 8:57pm 
http://steamcommunity.com/sharedfiles/filedetails/?id=1307486866

It's working... mostly... there is one TINY problem where "since it's an icon, not the tile, you can thus walk off the side and back onto the road"
Last edited by An Ning; Feb 19, 2018 @ 8:57pm
JohnDoeNews Feb 19, 2018 @ 9:02pm 
Right. What you can do is: When you walk under it, it is all fine... But when you walk over it, ma it run at players touch, and make is give the player move route: "One step forward" Do this on each tile of the bridge. Now crossing is animated, you can not stop halfway, or fall down. And at the end of the bridge, it will stop walking automatically.

Cause you pick "one step forward" instead of left or right, you will be able to go both ways.

Oh check "wait for completion" in the move route.
An Ning Feb 19, 2018 @ 9:20pm 
That was probably simpler than my solution ended up being.. I made a second control switch that basically raised an invisible wall on either side of the bridge when you started crossing, and lowered it when you finished so traffic wouldn't stay impeded
JohnDoeNews Feb 19, 2018 @ 10:06pm 
Oh that works too. You don't need a second switch for that though. They can depend on the same switch that makes your bridge go under or above.
An Ning Feb 19, 2018 @ 10:55pm 
...should have thought of that
< >
Showing 1-15 of 25 comments
Per page: 1530 50

Date Posted: Feb 19, 2018 @ 6:12pm
Posts: 25