Combined Puzzle

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Loupaak
Posts: 2
Joined: Mon Oct 08, 2012 8:16 pm

Combined Puzzle

Post by Loupaak »

Hello, i have problem... i Cant figure out how to do this:
I have:
1 secret Switch
1 Lever
1 Keylock
and 1 pressure plate.

If i activate all of this, it should Close the pit and i can continue.

but i cant figure out how to write this to the script. Help pls?
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Combined Puzzle

Post by Komag »

- Make a counter set to 4 and link everything to it.
- For the lever and the plate, be sure to do activate->decrement and deactivate->increment.
- For the button, make sure you set it to only activate once.
- Then link the counter to the pit with activate->close (or any->toggle if you want people to be able to later on switch the lever or free the plate to open back up the pit)
Finished Dungeons - complete mods to play
Loupaak
Posts: 2
Joined: Mon Oct 08, 2012 8:16 pm

Re: Combined Puzzle

Post by Loupaak »

Thank you but if i Activate everything except Pressure plate and i step on it, Pit door will close. OK. bud if i step off it, it wont open again
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Combined Puzzle

Post by Komag »

I forgot that there is no "toggle" with counters. With the lever and the plate you need to make two connections each, one with activate->decrement and one with deactivate->increment
Finished Dungeons - complete mods to play
User avatar
Brodie301
Posts: 286
Joined: Sun Apr 08, 2012 6:00 pm
Location: Mississippi, USA

Re: Combined Puzzle

Post by Brodie301 »

I'm trying to kinda do the same without scripting.
It's kind of a take on the Toorum "I can't remember sequence" puzzle from level 5 of Grimrock.
I want it to be in certain sequence. Push button 1, pull lever 1, push button 2, pull lever 2, open 2 doors, but if not right sequence don't open.
I got the four items to decrement using counter then open door but it was any order.
I know this should be way easy with script but never used lua and can't seem to get it, which is a me problem.
The FORCE is with me!!!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Combined Puzzle

Post by Neikun »

I think it might be easier with buttons.

I think you're going to need a pretty complex script here.

if button1 press then button3 press counter1=reset

It's loose coding because I don't know exactly how it should look.
But basically you would need outcomes for every possible sequence. All failures resetting the puzzle, and the correct sequence opening the door.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Combined Puzzle

Post by Komag »

Yeah, you'll need scripting, each successive action will just have to rely on the previous one being done or else it all gets reset
Finished Dungeons - complete mods to play
Post Reply