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,013
Reaction score
1,523
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,531
Reaction score
14,848
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,531
Reaction score
14,848
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

Figured I would start posting what I am working on here. Anyways, a quest system plugin I have been working on:
20mgjmZ.png


What features would yall like to see in a quest system?
Playing my game to improve my game. (Totally not procrastinating)
Hope he recovers fast :|
Looks like it's functional:

Forum statistics

Threads
112,502
Messages
1,068,743
Members
146,176
Latest member
MissOclock
Top