Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Bridge, lever and pressure plate logic  (Read 1318 times)

Cobbler89

  • Bay Watcher
  • Cobbler cancels celebrate Caesar: mending soles
    • View Profile
Bridge, lever and pressure plate logic
« on: December 15, 2012, 12:07:04 pm »

So, I'm trying to develop a complex fortress defense involving rerouting a river, giving multiple levels of control of it including the possibility of parts being triggered automatically via pressure plate but also of disabling that trigger for some of the parts.

Needless to say I'm all over the wiki now on mechanical contraptions, but there are a handful of things that are still not clear to me.

1) I understand pressure plates differentiate between "open" signals sent when triggered and "close" signals sent a little while after they're no longer triggered. Do "open" signals to a raised bridge raise it, close it or simply reverse the position from what it is? Do "close" signals do the opposite? What about retracting bridges? (Note: I see the design for a safer pressure plate latch here; as it uses a pressure plate, I'm curious how much control this gives me over which position bridges are in when one of these is triggered.)

Actually, 1 is all I can think of at the moment, but I know I'm going to have more questions, so I'll number them as they come.
Logged
Quote from: Mr S
You've struck embedded links. Praise the data miners!
Quote from: Strong Bad
The magma is seeping under the door.

Quote from: offspring
Quote from: Cobbler89
I have an idea. Let's play a game where you win by being as quiet as possible.
I get it, it's one of those games where losing is fun!
I spend most of your dimension's time outside of your dimension. I can't guarantee followup or followthrough on any comments, ideas, or plans.

Urist Da Vinci

  • Bay Watcher
  • [NATURAL_SKILL: ENGINEER:4]
    • View Profile
Re: Bridge, lever and pressure plate logic
« Reply #1 on: December 15, 2012, 12:19:50 pm »

Bridges:
on  raised/retracted
off lowered/extended

Plates send an "on" signal when stepped on, and send an "off" signal 100 ticks after the load is removed.
Multiple "on" signals to a bridge don't do anything.

Cobbler89

  • Bay Watcher
  • Cobbler cancels celebrate Caesar: mending soles
    • View Profile
Re: Bridge, lever and pressure plate logic
« Reply #2 on: December 15, 2012, 12:24:10 pm »

That, then, brings me to...

2) Is there a way to reverse the mini latch linked in my first post, so as to have an "off"/"close" signal sent when a device is activated, then have it remain activated until manually reset, at which point it sends an "on"/"open" signal?
Logged
Quote from: Mr S
You've struck embedded links. Praise the data miners!
Quote from: Strong Bad
The magma is seeping under the door.

Quote from: offspring
Quote from: Cobbler89
I have an idea. Let's play a game where you win by being as quiet as possible.
I get it, it's one of those games where losing is fun!
I spend most of your dimension's time outside of your dimension. I can't guarantee followup or followthrough on any comments, ideas, or plans.

rhesusmacabre

  • Bay Watcher
  • UNDEAD-CANNOT BE ATTACKED
    • View Profile
Re: Bridge, lever and pressure plate logic
« Reply #3 on: December 15, 2012, 12:58:31 pm »

In order to reverse a signal you need an additional device, like a power-to-signal converter. Just set it up so that when your latch sends an on signal the power is cut, and vice-versa.
Logged

Cobbler89

  • Bay Watcher
  • Cobbler cancels celebrate Caesar: mending soles
    • View Profile
Re: Bridge, lever and pressure plate logic
« Reply #4 on: December 15, 2012, 01:09:26 pm »

I guess then I'd need to convert the one signal to power logic, then use the power logic to convert back to signals, since the end result I want is to be able to lower/extend bridges on "on" signals from the initial pressure plate?
Logged
Quote from: Mr S
You've struck embedded links. Praise the data miners!
Quote from: Strong Bad
The magma is seeping under the door.

Quote from: offspring
Quote from: Cobbler89
I have an idea. Let's play a game where you win by being as quiet as possible.
I get it, it's one of those games where losing is fun!
I spend most of your dimension's time outside of your dimension. I can't guarantee followup or followthrough on any comments, ideas, or plans.

rhesusmacabre

  • Bay Watcher
  • UNDEAD-CANNOT BE ATTACKED
    • View Profile
Re: Bridge, lever and pressure plate logic
« Reply #5 on: December 15, 2012, 04:52:26 pm »

What you do is select a gear assembly between the converter and its power-source, and connect it to the pressure plate from your latch. The latch's plate will disengage the gear/power when triggered, which will result in an off signal from the converter's plate.
Logged

Cobbler89

  • Bay Watcher
  • Cobbler cancels celebrate Caesar: mending soles
    • View Profile
Re: Bridge, lever and pressure plate logic
« Reply #6 on: December 15, 2012, 07:46:32 pm »

Wait... I see now! Thanks!!
Logged
Quote from: Mr S
You've struck embedded links. Praise the data miners!
Quote from: Strong Bad
The magma is seeping under the door.

Quote from: offspring
Quote from: Cobbler89
I have an idea. Let's play a game where you win by being as quiet as possible.
I get it, it's one of those games where losing is fun!
I spend most of your dimension's time outside of your dimension. I can't guarantee followup or followthrough on any comments, ideas, or plans.