My idea was to create a combination lock to open a door. I did a little searching on Youtube to get some ideas for the combination lock, and I was not disappointed. There were a number of solutions using two-way switches, connected to pistons, which moved blocks of material back and forth. The last block has a magnetic key on it. The basic idea is that if you set the switches in the correct combination of off and on, the pistons extend fully and the magnetic key on the last block activates a magnetic switch, which is connected to the piston for the door. If the switches are not in the correct position then the magnetic key cannot activate the switch.
In order to make it something more that just “flip a switch and open the door”, I discovered I could reverse the pistons that move the blocks. What this does is to collapse the piston if the switch is in the “on” position and extend it if the switch is in the “off” position. Since all pistons need to be fully extended, this allow me to create a combination of “on” and “off” needed to open the door.
The best part is that you can reset the combination to anything you want just by modifying the “reverse” setting on the pistons.
To give the player a visual clue, I added small colored LED lights that turn on and off with the switches. This way you can leave a clue about the switch settings somewhere for the player to find. Since I couldn’t connect the two-way switches to the lights, I had to build the device just above the wall.
Here’s a picture to give you visual to go with my description. Any yes, that is the one and only Ironman building my level.
No comments:
Post a Comment