Walls?

Status
Not open for further replies.

Matsoman

MatsoKing
Member
Joined
Jul 12, 2013
Messages
14
Reaction score
0
First Language
English
Primarily Uses
I made a village with walls but I can walk through the walls on the sides that to not have the interior showing. Is there a way to make the player unable to pass through those?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,363
Reaction score
7,673
First Language
German
Primarily Uses
RMMV
passability is set by the tileset and doesn't work that way - all walls are impassable if you didn't use custom tilesets.

I think what might have happened is that you used roof tiles instead of wall tiles - those can't be walked on from ordinary floor tiles, but if getting on them by other (non-floor-tile) ways allows you to walk on the roof.

Your best options is to exchange the roof-tiles with true wall-tiles, because otherwise you might get more problems with special passability settings.

Unfortunately in some tilesets, the difference between wall and roof can only be seen when making a larger area with the roof-tile. Both are autotiles, which means they will fill larger areas differently - and you can see the intended use better with that different filling pattern.
 

Espon

Lazy Creator
Veteran
Joined
Mar 20, 2012
Messages
1,810
Reaction score
192
First Language
Gibberish
Primarily Uses
RMMV
Roof tiles cannot be walked on at all, where as wall tiles can be entered from the bottom.

I'm guessing the problem is with the passability.  The walls should be set to X instead of O.
 

Espon

Lazy Creator
Veteran
Joined
Mar 20, 2012
Messages
1,810
Reaction score
192
First Language
Gibberish
Primarily Uses
RMMV
I don't see anything in there about roof tiles you can walk on.  If passability is set to X then you cannot walk on them at all, even if you put the player on them.  Sure you could set the passability to O to walk on them, but then you can enter from any direction. You could very easily claim water is walk-able as well in that case.

Walls on the other hand can be walked on top of as long as there's some way to enter from the bottom.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,363
Reaction score
7,673
First Language
German
Primarily Uses
RMMV
I don't see anything in there about roof tiles you can walk on.  If passability is set to X then you cannot walk on them at all, even if you put the player on them.  Sure you could set the passability to O to walk on them, but then you can enter from any direction. You could very easily claim water is walk-able as well in that case.

Walls on the other hand can be walked on top of as long as there's some way to enter from the bottom.
They're called ceiling tiles in that topic, not roof tiles, but it especially says that you can walk on them only when you have a way to get on them (ladder or staircase) and that they will have a auto-set directional passing (which can't be changed for autotiles) to prevent the player from leaving them when he is up there or getting up there from ordinary tiles without the access.

That is exactly what is described up - a wall set to X would never be walkable, but the autotiles of the roof/ceilings have the special directional passages to prevent entering depending on what thy of tile is next to them. And the topic also states that those settings for roofs/ceilings cannot be changed in the database passability.
 

Espon

Lazy Creator
Veteran
Joined
Mar 20, 2012
Messages
1,810
Reaction score
192
First Language
Gibberish
Primarily Uses
RMMV
Ceiling tiles are different than roof tiles.  Ceiling tiles are basically the tops of walls, where as roof tiles are the top of buildings.  Test it yourself, you cannot walk on the roof of a building, where as you walk on top of walls.



While a still image doesn't show much, the character was not able to move onto the top of the building, however she was able to climb up onto the wall/ceiling and move around.  Even if I held Ctrl and moved her onto the roof, she was stuck in place.  And yes you can change the passability of the autotiles.  You cannot get more definite answers than actually testing it out yourself.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
That's right. That thread is discussing the A4 tiles. Exterior building walls and roofs are in the A3 slot, which is not used in the Interior tilesets, and does not follow the same passability rules as the A4 tileset.


In the Exterior tileset, the A4 tiles (stone walls, hedge, cliffs and trees) do follow those rules - if you can get on them somehow, you can walk around on them - despite the fact that they have an X on them in the tileset Passages settings (so that's not necessarily a good indicator, where the A tiles are concerned). But the building walls and roofs don't work that way.

And the topic also states that those settings for roofs/ceilings cannot be changed in the database passability.
You may have misread. The topic says you CAN change the X/O passability settings on the A tiles, but you cannot change the 4-directional passability settings on the A1-A4 tiles. And though not explicitly stated, but still implied, an X on the A4 tiles does not mean you cannot walk on them at all, in the case of the first, third and fifth rows.
 
Last edited by a moderator:

jamester989

Warper
Member
Joined
Oct 27, 2014
Messages
3
Reaction score
0
First Language
english
Primarily Uses
I have set my A4 walls to X and can pass through, due the the instant pass through thing, is there a script that can fix this?
 

Kalin

Veteran
Veteran
Joined
Jul 24, 2015
Messages
81
Reaction score
23
First Language
English
Primarily Uses
It would be easier to just copy the tiles you want into a new A5 sheet so you can set the 4-way manually. You might need to draw a map with them and take a screenshot to get the different versions.

Also, the whole X/O business is a red herring that is only used in the editor and not even saved as part of the tileset. For non-autotiles, X means it is impassible in all 4 dirs and O means that it is passable in at least one dir. Changing X to O makes the tile passable in all dirs, changing O to X makes it impassible in all dirs, and changing X to * makes it passable in all dirs.

For autotiles, O means all 48 versions are passable in all 4 dirs and the tile is impassible to boats and ships. For A1, A2, A3, and even rows of A4 an X means all 48 versions are impassible in all 4 dirs. For certain A1 tiles an X means it is passable to boats and/or ships. For odd rows of A4 an X means the outside borders on top, left, and right edges are impassible and the rest are passable (see the non-autotile cliffs in A5).

For more info:

Help -> Contents -> RPG Maker VX Ace -> Reference Material -> Resource Standards -> Tilesets.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
jamester989, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


You don't need a script - you just need to find out WHY you're passing through them when you shouldn't be, and I can guarantee it's because you've done something wrong.


If you still need help after reading the above, please post your own new thread.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,858
Messages
1,017,023
Members
137,565
Latest member
Callmelogann
Top