Game Development Reference
In-Depth Information
8. Position a couple of pressure plates behind the door for an easy exit. The plates
aren't quite perfect. Each one opens just the door in front of it. For extra props, dig
a trench two blocks deep under the plates and lay some redstone under both plates
that connects somewhere with the other wire originating from the button. This en-
sures that no matter which plate is jumped on, the original double-opening circuit
will receive the hit and swing both doors open.
Tip: Forgot to Shut the Door on Your Way Out?
Place a wooden pressure plate inside every door leading outside even if you don't
do any other wiring. You won't need to click the door to get out, and the door will
automatically close behind you every time.
This is just one example for connecting doors and running wiring; there are many ways to
slice this. The wiring could run over the top of the door. It could also be made shorter on
the delivery side by placing a redstone torch two blocks under the door and powering it
through an inverter, but the repeater significantly simplifies the design. And, of course, the
entire thing could be flipped so that the wiring runs behind the doors.
Let's get a touch more sophisticated. Swinging doors are great, but if you have in mind
somethingmorehightech,perhapsamodernfortressdeckedoutwitheverythingthatopens
and shuts (literally), you might consider leveling up to doors that glide open before you.
They'renotwhisperquietandtheydon'tevengivethatswooshsoundofthedoorsinevery
sci-fi show. However, they do look great, and you can make them from any material, in-
cluding glass blocks, so they'll add a certain something to any construction.
Sliding doors add an extra circuit to the loop. The pistons have to stay powered and there-
foreextendedforthedoortostayclosed.Butpressingthebuttondeliverspowerratherthan
cutting it off, and flipping a lever will just keep the doors in one state or the other. What
this circuit needs is a method of keeping the pistons powered constantly, but a way of in-
terrupting that only when the button supplies its own current. This setup is known as an
inverter , or a NOT gate, and is provided by a redstone torch attached to the button block.
Figure 9.15 shows the basic layout, with all components identified. The image shows the
pistonspowered.They'llberetractedatfirst,butyoucanplacetheactualdoorblockseither
in the middle or up against the pistons, and they'll work just fine as soon as the pistons are
extended for the first time.
Search WWH ::




Custom Search