New account registration is temporarily disabled.

DUNGEON PUZZLE HELP

Posts

Pages: 1
Man, do I hate just showing up to bug you guys, but this is killing me, here! See, I've got this dungeon where I want to put an emphasis on thinking man's puzzles (though not too hard, as it's early on). One of the puzzles I wanted to impliment was a switch puzzle wherein stepping on one switch would activate or deactivate the ones around it (classic puzzle, we've all seen it). However, I'm having one helluvca time getting it to work. I've looked for tutuorials all over the place, but it's been a no-go. Is it possible for anyone to help a fellah out with getting this puzzle working? How do I do it, exactly, 'cause I've been doing it wrong... If you have a tutorial link, that'd be great too (and hell, any other puzzle tuts would be great, as well)!

As always, I appreciate you taking the time to read this!
How good is your knowledge of RPGMaker in general? Do you understand switches and variables yet? If not, you really need to look into in.

A simple variable should do the trick for this puzzle:

-Name a variable something like "Switch Puzzle".
-By standing on the first switch, set this variable to 1. Then on a new page on the same switch event set the switch graphic to pushed down. Like you said, if you do want to turn it off and on, set it to turn the variable to 0 when you step on it on page two.
-Set all the doors/ switches you want to open or whatever, when the varaible is 1 that surrounds it, or the ones you want to change.
-Then when you stand on another switch turn the same variable, "Switch Puzzle" to 2
-Change the next things you want to open to 2.
-Now the variable is different everything you did with the first switch will turn off.
-Just repeat this idea!

I've not actually done this puzzle before, but I see no reason why it wouldn't work.

EDIT: Re-reading you post, haha is that even want you meant at all?
I did something exactly like this for my game. It is just a matter of using switches like LWG said.

I have 5 levers, each in their own event. Each lever has two states ON and OFF. Trigger is Action Key.

For the lever itself, if ON, it turns itself OFF, and if OFF, turns itself ON (with appropriate animations).

Now, the lever also affects the levers immediately next to them, by toggling their states. So if you change Lever 2, Lever 1 and Lever 3 would toggle their states. The goal is to have all levers in the same state.

I have a separate parallel process checking to see if Levers 1 - 5 are ON, and if they are, a new staircase appears.
Thanks for all the help, guys! I have a good grasp of RPGMaker. Not terribly technical (I won't be adding a day-night system anytime soon, and I won't be touching Ruby scripting with a ten foot pole), but I know my stuff. Kentona seems to have a good grasp of what I'm trying to do. I feel kinda dumb for overlooking the use of a Parallel Process, now...

Out of curiosity, would anyone happen to know of any puzzle tutorials? I wanna try some new stuff outside of "push rock out of the way," "step on this switch," etc. I've got a few good ideas (i.e. an egyptian-style tomb where you need to fill or empty sand in the main room to access certain areas), but I don't want my dungeons and areas to get stale, y'know?
Pages: 1