[I have searched the JavaScript Releases forum as well as other posts in RPG maker forums, it seems that all existing posts I have found are not talking about the exact same thing as I want]
Hello guys, thank you for clicking in and check this thread out!
I'm making my 1st game and encountered an issue about the passibility of bridges:
In the original RMMV software, a bridge cannot be set to be able to be passed by both above and under it. However, the KADOKAWA provided a .js plugin that allows you to use regional id tiles to set up the "bridge" region, which allows both to go above it and under it based on the direction you go across the region, shown as the graph:
by default the region tiles are #254 and #255, I changed them to #39 and #40. Basically what it does is to set up a "gate" (by #39) to allow you to go above the tiles covered by #40 regions if you went through the gate, I guess.
This works perfectly fine with the bridge from the original RMMV tilesets, as well as most of the vertical-direction bridges from other tilesets.
However, it gets a little bit tricky with those horizontal bridges with handrails, as shown in the graph:
You see, it's made up of 3 parts: 1: the upper handrail, 2: the bridge, and 3: the lower handrail.
the 2nd part is supposed to be set up as "o" to go under the player and the 1st & 3rd parts are supposed to be set up as "star" to go above the player for best visual performance:
However, this does not work really well with the OverpassTile.js, and here is what happens:
if I assign the bridge region to the entire bridge, the character will go above the lower handrail when on the bridge:
and if I only assign the bridge region to the bridge-only parts, the parts that are covered by the lower handrail will not be passable if I enter the bridge through the gate regions, and in this case, the player will only be able to use half of the width of the bridge, and that feels really uncomfortable.
if I enter the bridge through the unassigned regions ( the part covered by the handrail), if I move up, if will go under the assigned region to the ground level:
←see his hair?
I think the problem is because the region tiles don't identify layers of the other tiles, thus it doesn't care if there are 2 tiles laying together with different priorities.
I tried to play around with different passage setups for the tiles and it doesn't work out.
This could be done by heavy use of events, but definitely not the best way for this.
So, what I think is perfect for this is to develop a plugin which does exactly the opposite of the KADOKAWA's OverpassTile: assign an "UnderBridgeRegion" by the same way, which put the player under the tiles in assigned region, if the player goes through the region via the gate region, like this:
It would be great if somebody is willing to spare some of their valuable time to develop this plugin!
I'm ok to pay a reasonable price for this (similar price as the Yanfly's plugins maybe?) if this would help, and it would be great if this is open for commercial usages.
Thank you for reading!
It is also greatly appreciated if you can mention some other way to fix this problem without heavy usage of other features
Hello guys, thank you for clicking in and check this thread out!
I'm making my 1st game and encountered an issue about the passibility of bridges:
In the original RMMV software, a bridge cannot be set to be able to be passed by both above and under it. However, the KADOKAWA provided a .js plugin that allows you to use regional id tiles to set up the "bridge" region, which allows both to go above it and under it based on the direction you go across the region, shown as the graph:
by default the region tiles are #254 and #255, I changed them to #39 and #40. Basically what it does is to set up a "gate" (by #39) to allow you to go above the tiles covered by #40 regions if you went through the gate, I guess.
This works perfectly fine with the bridge from the original RMMV tilesets, as well as most of the vertical-direction bridges from other tilesets.
However, it gets a little bit tricky with those horizontal bridges with handrails, as shown in the graph:
You see, it's made up of 3 parts: 1: the upper handrail, 2: the bridge, and 3: the lower handrail.
the 2nd part is supposed to be set up as "o" to go under the player and the 1st & 3rd parts are supposed to be set up as "star" to go above the player for best visual performance:
However, this does not work really well with the OverpassTile.js, and here is what happens:
if I assign the bridge region to the entire bridge, the character will go above the lower handrail when on the bridge:
and if I only assign the bridge region to the bridge-only parts, the parts that are covered by the lower handrail will not be passable if I enter the bridge through the gate regions, and in this case, the player will only be able to use half of the width of the bridge, and that feels really uncomfortable.
if I enter the bridge through the unassigned regions ( the part covered by the handrail), if I move up, if will go under the assigned region to the ground level:
I think the problem is because the region tiles don't identify layers of the other tiles, thus it doesn't care if there are 2 tiles laying together with different priorities.
I tried to play around with different passage setups for the tiles and it doesn't work out.
This could be done by heavy use of events, but definitely not the best way for this.
So, what I think is perfect for this is to develop a plugin which does exactly the opposite of the KADOKAWA's OverpassTile: assign an "UnderBridgeRegion" by the same way, which put the player under the tiles in assigned region, if the player goes through the region via the gate region, like this:
It would be great if somebody is willing to spare some of their valuable time to develop this plugin!
I'm ok to pay a reasonable price for this (similar price as the Yanfly's plugins maybe?) if this would help, and it would be great if this is open for commercial usages.
Thank you for reading!
It is also greatly appreciated if you can mention some other way to fix this problem without heavy usage of other features