Logic Block: The Relay
3 posters
Page 1 of 1
Logic Block: The Relay
Maybe theres already a way to do this indirectly, but i had an idea for a logic block.
OK, so the image is a little big. The idea would be that a switch linked to the green(Relay) would alternate which output is connected to the input. you could have a reversed version of this with two inputs and one output.
As a use case, you could connect the hotkey 4 switch to the input, and have your rockets on one output, and the landing gear on the other. You can hit a button which, through a multilink, switches the relay and folds your wings, going into "landing mode" and what was once your trigger for your rockets, is now your landing gear actuator.
This is just a very specific example, but there could be a lot of uses for this, for instance, it could just be a saftey, where one output is intentionally left unlinked, so you can disable a switch. or turn off a monitor, etc.
OK, so the image is a little big. The idea would be that a switch linked to the green(Relay) would alternate which output is connected to the input. you could have a reversed version of this with two inputs and one output.
As a use case, you could connect the hotkey 4 switch to the input, and have your rockets on one output, and the landing gear on the other. You can hit a button which, through a multilink, switches the relay and folds your wings, going into "landing mode" and what was once your trigger for your rockets, is now your landing gear actuator.
This is just a very specific example, but there could be a lot of uses for this, for instance, it could just be a saftey, where one output is intentionally left unlinked, so you can disable a switch. or turn off a monitor, etc.
IronicMollusk- Posts : 23
Join date : 2017-01-19
Age : 36
Location : Washington, USA
Re: Logic Block: The Relay
Nice idea I wanted to do something like that indeed, a router command. Did not thought about the reversed one, so I will add both indeed ! I will add a few other block like an If command, and an observer command to watch status of existing system.
Re: Logic Block: The Relay
Oh very cool. I never thought about an observer circuit, very useful.
IronicMollusk- Posts : 23
Join date : 2017-01-19
Age : 36
Location : Washington, USA
Re: Logic Block: The Relay
tsunamayo wrote:Nice idea I wanted to do something like that indeed, a router command. Did not thought about the reversed one, so I will add both indeed !
if the mixer accepts values on its two input ports you already have a router command.
and with two of those you can make the inverse one as well
so depending on how annoying the individual functions are to build its maybe faster to give the mixer the full analog input range on its two interpolation border pins.
Cornflakes- Posts : 3
Join date : 2017-02-23
Similar topics
» When hitting F2 to hide HUD, also disable the wireframe block highlighting that shows the boundary of whichever block you're looking at.
» Naming buttons and switches and other logic bricks
» The new holo projector block - one little thing
» Modular building with Identity block
» Rotaing Block
» Naming buttons and switches and other logic bricks
» The new holo projector block - one little thing
» Modular building with Identity block
» Rotaing Block
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum