How to make buildings passable

Hello there.

I was wondering how I could make the second floor of my Inn passable on the village map without making all the other houses passable too.Someone was advising me to dubplicate a tileset,but I have no clue how to do it.

I'd be grateful for any help!
I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.


You're talking about the EXTERIOR of your village, and you want the player to be able to walk behind the taller buildings?


I don't think the suggestion is a very good one. If you had the buildings impassable on one tileset and passable on the other and switched between them, at some point ALL your buildings would be passable - the ones on the ground level too.


You COULD make 2 versions of your building tile in the tileset and have one passable and one impassable, then remember to use the passable one for the upper levels. But then you'd have to do the same for any roof tiles or decorations (like windows, etc) that you put ON the upper levels.


Neon Black's Terrain (Region) script might be most helpful to you. No tileset changes necessary.
You mean like have the player be able to walk on the rooftop of the inn, right? To duplicate the tileset, go to Tilesets in the database and add a new space in the list of tilesets. Then copy/paste the one you're using so you have two copies of it (rename the second copy so you don't get confused). In the second copy, go to the tile you want to change and make it passable by clicking on it. Then go to the map properties for that map and set it to use the new tileset.

If you have other buildings on that map with the same tile that you don't want to be passable, what I would do is to put blank events on top of the edges of all the other rooftops and set the priority to Same as Characters. That will create an invisible barrier so that you can't accidentally step on the other rooftops. It's kind of a clunky way to do it, but it saves time lol.

If it's a really large map and there is enough rooftop such that you'd have to make a really large amount of events, it might be better to export the tileset and edit it somehow so that there are just two copies of the same tile within a tileset. But barring that, the blank events should be fine.

Edit- ninja'd, the script sounds like a better way to go about it anyway.
I have tried out that script and it works very good,exactly what I wanted!But another problem occured: everywhere I made those terrain tags,some things started to disappear,like the chimneys,only showing the smoke now.Or the window from the second floor inn has also disappeared.Is there a way to prevent this from happening?
If they work on switches, make sure you set an autorun event that turns said switches on, or they don't appear.
Are your chimney tiles set to have a star passability in the tileset? If they're not, add that and see if it helps.


If they have stars and they're still not showing, make a post in that thread and Neon Black will attempt to fix it. A screenshot of your map in the editor, and again in the game, showing the differences, would be a big help if you do that.
Yes,Ive tried everything.Setting the chimney and the window to cross,circle or star-neither of them were shown when playtesting.I will post a few pictures about it in Neon Black's thread to show it.I really like this script and I'd hope to use it further since it makes things really easy!In the meanwhile,I will try the other suggestions from the other that posted here!

Edit: I posted in his thread.If you want,you can have a look in case I really have overlooked something!
It looks like the issue has also been reported by a few other people, so Neon Black is aware of it.


If the smoke shows, you might be able to get around it by using events to display the windows. But I'm generally not fond of using events for map stuff if it can be avoided.
It indeed worked!I made an event for the window with "Above character" and it was shown and I could walk through it!Perfect!But how do I do it with the chimneys?Since I already used one event on them for the smoke to be animated
Is the smoke on the same tile as the chimney?


You COULD edit your smoke character sheet (which really means make a backup of it first or create a new one), and paste the chimney sprite below the smoke sprite in all 3 frames.
It could possibly work,but unfortunately I have absolutely no experience with that and it'd probably end in a disaster...
Here's a modified version of the !Other2.png character sheet.


If you want ALL your smoke to have a chimney, just save this file into your project's Graphics/Characters folder. If you only want SOME smoke to have a chimney, save it into the same folder, but give it a different name - call it !Other4.png so it doesn't overwrite any of the RTP. Then (if you rename it) just change your smoke events to use this character sheet instead of !Other3.

Spoiler
Other2_zps4ce1c48a.png
Thanks a lot for the efforts!It's finally working!I can go through the buildings now and the windows and chimneys are showing as intended while being able to walk under them,thanks you all!

Hey!I was wondering another thing making passable...inside my building,I wanted to make a part of the wall passable,using the 18 tag.The problem is that on the right edge from where the 18 starts,I can only walk under it from above,not when coming from right with my character.I've tried different things with the tags from 18-23,but not much worked here.

Image:

http://imgur.com/Kn1J4jh
HappyChaos, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


I have merged your posts. Next time, just edit your last post instead and add the extra info


I can't really see why that wouldn't work. Do you need to set up any map-specific settings for the script? I suggest you put any further problems you have with this script into the appropriate thread, to ensure Neon Black sees them.
Oh,I'm sorry!I'll avoid double posting in the future.

Yes,that'll surely help!I was just thinking that maybe you had already some experience with it so that you could maybe help me. 🙂
No, I haven't actually used the script myself. I just know a bit of what it's capable of doing 🙂


I'll close this, and you can ask your question in the original thread 🙂


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.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-buildings-passable.22125/