Portal 2 Puzzle Maker/Logic Gates: Difference between revisions
m (Added navbox) |
No edit summary |
||
Line 7: | Line 7: | ||
Watch it [http://www.youtube.com/watch?v=EN_-A9ctJlM&list=UUmODAs2zRgZ3lwkzyNxb9Nw&index=1&feature=plcp here]. | Watch it [http://www.youtube.com/watch?v=EN_-A9ctJlM&list=UUmODAs2zRgZ3lwkzyNxb9Nw&index=1&feature=plcp here]. | ||
== AND | == Logic gates == | ||
Logic gates are used to merge multiple signals onto a unique one. It has '''n''' inputs, like buttons or laser reciever and one output, you can then connect this output to a door, a laser field or something else. | |||
=== AND gate === | |||
A AND gate is activated when all of its inputs are activated. A good this for use is that and gates are implemented by default in the game, you just have to connect all of your inputs to the output. | |||
[[Image:http://nicolas-keller.com/img/and.png|thumb|300px|center]] | |||
== Latches == | == Latches == | ||
Line 21: | Line 22: | ||
<nowiki>If there are too many components that you want to connect to your relay make a laser emitter lined up with a laser catcher or relay. Wire the emitter to the relay from the latch and then connect the components you need to attach to the latch to the laser catcher or relay depending on what you placed.</nowiki> | <nowiki>If there are too many components that you want to connect to your relay make a laser emitter lined up with a laser catcher or relay. Wire the emitter to the relay from the latch and then connect the components you need to attach to the latch to the laser catcher or relay depending on what you placed.</nowiki> | ||
==Resetable Latches== | ===Resetable Latches=== | ||
Create a basic latch but extend the laser that is power by the relay two blocks back and place a moving panel between the relay and the laser. Next connect the panel to a reset button and the relay | Create a basic latch but extend the laser that is power by the relay two blocks back and place a moving panel between the relay and the laser. Next connect the panel to a reset button and the relay | ||
Another approach is to feed the reset line through an inverter (laser which is "Start enabled"), then feed this into the same laser which the relay output connects to. Using this trick, and by playing with the heights of the lasers, a resetable latch can be made in a single 1x1 pit. | Another approach is to feed the reset line through an inverter (laser which is "Start enabled"), then feed this into the same laser which the relay output connects to. Using this trick, and by playing with the heights of the lasers, a resetable latch can be made in a single 1x1 pit. | ||
==Delayers== | ==Delayers== |
Revision as of 10:47, 16 July 2012
It is possible to make some basic logic gates on the Puzzle maker.
Prefer To Watch
Watch it here.
Logic gates
Logic gates are used to merge multiple signals onto a unique one. It has n inputs, like buttons or laser reciever and one output, you can then connect this output to a door, a laser field or something else.
AND gate
A AND gate is activated when all of its inputs are activated. A good this for use is that and gates are implemented by default in the game, you just have to connect all of your inputs to the output.
Latches
To make a latch first place a button. Connect this button to a laser emitter lined up with a laser catcher. Wire the laser catcher to a second laser emitter with it's beam lined up on a laser relay. On the other side of the relay place another laser emitter and connect it to the relay. Finally connect all the components you wish to connect to your latch to the relay.
Comment: Is the first laser and catcher really necessary? I've created a latch by placing two lasers facing a relay, wiring the relay to one and the input to the other. Works like a charm.
If there are too many components that you want to connect to your relay make a laser emitter lined up with a laser catcher or relay. Wire the emitter to the relay from the latch and then connect the components you need to attach to the latch to the laser catcher or relay depending on what you placed.
Resetable Latches
Create a basic latch but extend the laser that is power by the relay two blocks back and place a moving panel between the relay and the laser. Next connect the panel to a reset button and the relay
Another approach is to feed the reset line through an inverter (laser which is "Start enabled"), then feed this into the same laser which the relay output connects to. Using this trick, and by playing with the heights of the lasers, a resetable latch can be made in a single 1x1 pit.
Delayers
Basic Delayers
Basic delayers or uncontrollable delayers are created by placing an excursion funnel with a box button at the end of it. Place a box dropper above the excursion funnel, make sure that "auto drop first cube" and "auto respawn cube" are disabled. The length of the delay is changed by how far away the box dropper is from the button.
Advanced Delayers
Advanced delayers or controllable delayers are very complex. First create four raised blocks on one side place two laser catchers and on the other two laser emitters. Place a button, the one that you want to start the delay, and connected it to the first laser. The laser catcher that faces the first laser should be connected to the second laser emitter. The second laser emitter should be set to on by default, so that when the laser gets powered it turns off, this creates a NOT gate. Now create a basic latch (non-resetable) and connect the input to the button you are using at the start of the delay. The output should be connected to a basic delayer, as detailed above, the delayer should have a one block space between the button and the dropper. Next create the item you want to use as you output and connect the box button from the basic delayer to it and also connect the second laser catcher. To control the length of the delay change the button "on" time.
|