Status
Not open for further replies.

Mr. Beknacktoman

Villager
Member
Joined
Nov 13, 2012
Messages
9
Reaction score
9
First Language
German
Primarily Uses
So I want my characters to walk on roof when they climb up a ladder. I have 2 tilesets that are the same except the roofs in the A3 portion are passable in one of them. But the passability doesn't change even though I change the tileset, why?!
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,145
Reaction score
1,585
First Language
Dutch
Primarily Uses
RMMV
there are a couple of ways to do this, but it depends how it is setted up
and the way you feel comfortable with.

1) use 1 switch/variable to define upper/lower roof.
you can either use a switch (if ON), or variabe > 0 to check
the floor level, if switch is OFF, it means, the player is on the lower floor,
if its ON, its on the upper layer, you can trigger this switch on top of the ladder
to walk on the roof, when going down, it is turned off (player touch).

2) use 1 switch and 1 region (between 1-255), when switch is ON, you can only
walk on this region (region that is marked on this roof).
Ocram_Passages plugin might be 1 way, YEP_RegionRestriction as well.
but this depends on the plugin you use to avoid compability issues, you can
event this part too if it's minor and easier as well.

3) create the roof from B-E tileset using events, you can use OFF when above,
and trigger when below, this require roof be fully evented tiles.

there might be other ways as well, but those are 3 of the ways you can use,
and idea's how you can handle them.

in case if it's only for cutscenes, you can use "through = ON", but make sure
to turn it off after you are done, otherwise, dont use it.
 

Mr. Beknacktoman

Villager
Member
Joined
Nov 13, 2012
Messages
9
Reaction score
9
First Language
German
Primarily Uses
Thanks, but I have a question:
1) use 1 switch/variable to define upper/lower roof.
you can either use a switch (if ON), or variabe > 0 to check
the floor level, if switch is OFF, it means, the player is on the lower floor,
if its ON, its on the upper layer, you can trigger this switch on top of the ladder
to walk on the roof, when going down, it is turned off (player touch).
If I use a switch how does it affect the passability?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,865
Reaction score
14,989
First Language
English
Primarily Uses
RMMV
The A1-A4 tilesets have their own passability and don't care what you set in the editor.

Try putting your roof tiles into the A4 slot rather than A3 (copy the roof image and paste it into the A4 tilesheet - don't just put the whole A3 image into the A4 slot).

A4 will allow you to walk around on the "top" of the pair of tiles, as long as you have some way to get onto them.
 

Mr. Beknacktoman

Villager
Member
Joined
Nov 13, 2012
Messages
9
Reaction score
9
First Language
German
Primarily Uses
The A1-A4 tilesets have their own passability and don't care what you set in the editor.

Try putting your roof tiles into the A4 slot rather than A3 (copy the roof image and paste it into the A4 tilesheet - don't just put the whole A3 image into the A4 slot).

A4 will allow you to walk around on the "top" of the pair of tiles, as long as you have some way to get onto them.
Thanks, that worked! Still pretty weird that it does't care what you set...
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,865
Reaction score
14,989
First Language
English
Primarily Uses
RMMV
It's because it's an autotile with a specific purpose/function.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts



Here's Azrael sprite with the fire weapon, hope it came out good.
A13774F4-298B-4F4D-B639-E6921E49FCC2.jpeg
Art test for a victory title screen change
illuminatigirl.png
Illuminati may be just a cover-up for the actual secret society of Illuminaughty. :kaojoy:
Got distracted... again. So now I'm on project.... 5? 6? I can't even remember off the top of my head how many plugins I have in the works. Though I blame the latest two on a coding youtuber I watch occasionally. He codes in C++ but walks through the process well enough that it inspires me to do similar things for JS plugins. So... blame him for my lack of activity. lol

Forum statistics

Threads
113,760
Messages
1,077,254
Members
147,795
Latest member
AppleCider
Top