Archived

This topic is now archived and is closed to further replies.

  • 0
Harmonic Distortion

Removing "A" Set tiles with event?

Question

Hello everyone!

I'm creating a dungeon and I want to have a "secret door" (i.e. the player presses a switch and a passageway opens up in an otherwise normal-looking wall). The wall is constructed using "A" set tiles. Is there a way to remove the wall tiles with an event to effectively open a passageway in the wall? I'd really rather not have to change the wall graphic to something else (as that would make the "hidden door" way too obvious). It doesn't have to be animated or anything, I just need the section of wall to disappear.

I'm not that good with events yet so please forgive me if this is a foolish question. ^^;;; Let me know if you need any more details.

Thanks!

Share this post


Link to post
Share on other sites

8 answers to this question

Use an event set up over the passageway then use a switch to change the graphic on the event.

eg.

Event Page 1 -> No Graphic

(switch a on)

Event Page 2 -> 'Hole' Graphic

Share this post


Link to post
Share on other sites

Thanks! After a little tweaking this seems to have worked. However, I've run into another small snag. The wall in question is two tiles high (there's the "wall top" tile and the "wall side" tile) and the player is approaching from above. However, no matter what options I set on the event for the top tile, the player cannot pass through it. If necessary, I will change this to a second "hole" tile, but I would really like to keep the "wall top" graphic in place. Any way to get around this?

EDIT: OK, now I can't even get it to work with a "top" hole tile... on the tileset editor, I have the "top" hole tile marked with a star, which indicates that the player can pass, but the character graphic will be "behind" the tile, correct? With this setting, I can't get the player to pass through the top hole. If I change the passability to a circle, it works fine. Am I doing something wrong here?

Share this post


Link to post
Share on other sites

Use a blank tile from tilesets b-e with the 'o' setting, then put your event 'set to above' with the wall top graphic, it should work then.

Share this post


Link to post
Share on other sites

Hi tpasmall,

Thanks for your help! I gave that a try but it still doesn't work... my character just runs up against the wall top and stops dead. I've tried it with and without the "Through" option, and with every trigger type. If I set the priority to "Below characters" it works, but then the character graphic passes in front of the wall graphic.

Maybe it'll help if I post everything I'm doing, in case I've gone obviously wrong somewhere but I just can't see it. ^^;

Event 001

Location: wall top tile

Conditions: switch1 = on

Graphic: transparent graphic (or "upper hole" graphic, either way)

Priority: Above characters

Event 002

Location: wall side (or bottom) tile

Conditions: switch1 = on

Graphic: "lower hole" tile (from tileset "B")

Priority: Below characters

Event 003

Page 1: no conditions, contents "set switch1 to on", activate on button press, graphic of switch lever in "left" position

Page 2: condition that switch1 is on, graphic of switch lever in "right" position

As I said, it works fine when I have the priority for Event 001 set to "Below." I'm thinking what I might do is just take the floor tile graphic, and stick it into a custom set that I can select from the Graphic box in the event. At least it'll give me an excuse to figure out how to do that. :)

Thank you for your help!

Share this post


Link to post
Share on other sites

Setting the priority of the event to above characters, should not prevent the player from passing through it (the trigger doesn't matter in this case). Try again.

The tile below the event however, should be passable. If it's not passable (such as a real wall) the player will stop in its tracks. Be sure to put a tile underneath the event that will allow the player to walk through it.

Share this post


Link to post
Share on other sites

Did you use a blank tile on the wall top with the circle passability? (Not in the event, but an actual tile put on top of the wall top from tiles b-e). That's the key to making it work with the 'above' passability

Share this post


Link to post
Share on other sites

Thanks for your help, everyone. What I ended up doing is having just a blank space (i.e. the floor tile) on the actual map for the passageway. I created two events (since the wall is two tiles "high") each with two pages; page one has no conditions, priority is "same as player", and has the wall tile graphic (which I had to create a custom graphic for... why can't you choose A tiles in the Graphic box?), and page two has the condition "switch1 = on" with no graphic. This seems to have done it.

Thank you both for your assistance!

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.