Stormworks: Build and Rescue

Stormworks: Build and Rescue

How to On/Off Switchbox
Can someone please explain to me how to make an on/off switchbox. I'm trying to make separate controls for a vehicle that is activated with switchboxes but I cannot figure out how to make an on/off switch box for lights, wheel locks, etc. They seem to have switchboxes for everything except for on/off. I feel like I'm missing something.
< >
Показване на 16-26 от 26 коментара
Tremble, nerds! Barbarian engineers are at your gates, and their numbers are doubling fast!
(Now I want to play a Barbarian engineers' game.)
The gates seem stronger than what I thought at first.

I've been spending quite some time trying to figure out how to make a system with a pair of linked toggles such as if you press one button, the other gets turned off if it was on.

In the process I invented several types of very fast ticking clocks, but in the end I think I achieved my goal. Would you be so kind as to take a look at it and tell me if my logic is sound, or if I overlooked a better solution?

https://steamcommunity.com/sharedfiles/filedetails/?id=2061730359
Последно редактиран от Jorg Hammond; 15 апр. 2020 в 2:23
Първоначално публикувано от Rashtek Frites:
I've been spending quite some time trying to figure out how to make a system with a pair of linked toggles such as if you press one button, the other gets turned off if it was on.

JK Flip flop. It's literally why it exists.

As for the logic, i'll look at it after i'm done with my daily Animal Crossing :)

https://steamcommunity.com/sharedfiles/filedetails/?id=2061876053

Nothing wrong with the logic itself, but i made it slightly simpler.
Последно редактиран от Ra-Ra-Rasputin; 15 апр. 2020 в 5:38
If you want to use one button for on and one button for off, multiple places, use a sr latch/jk flip flop. They are a toggle gate with more options. Like press to turn on. A signal(alarm) reset the gate..
Първоначално публикувано от Hesimark:
If you want to use one button for on and one button for off, multiple places, use a sr latch/jk flip flop. They are a toggle gate with more options. Like press to turn on. A signal(alarm) reset the gate..

In such a setup you can also use a push button directly linking to external input of the toggle button, it'll cancel it out.
Ah, I didn't see you edited your previous message, Ra-Ra-Rasputin, thanks a bunch.

I'm trying to wrap my head around this, but I already get the point that what I wanted and implemented using two SR Latches is what a JK Flip Flop does, provided one connects the inputs and outputs properly.

However, it appears that in my system the default state is that both outputs are off, and in the Flip Flop one output B is on (I presume it is because at the moment of spawn, both A and B are off thus the Flip Flop output is on).

If having both outputs off by default is a requirement, the Flip Flop would not be as desirable, is it correct?

By the way, I had been wondering what was the difference between SR Latch and JK Flip Flop and this example of yours shed some light on it, but I also discovered that their description in the creation editor parts inventory has significant details that are missing in their description in the microcontroller editor parts inventory, namely the fact that if both inputs (set and reset) of a flipflop are on, the state is toggled, but if both inputs of a latch are on, both outputs will be off (which is quite unintuitive when I think about it since the second output otherwise functions as a NOT output).

Anyhow, I'm back to the dissection table.
Последно редактиран от Jorg Hammond; 16 апр. 2020 в 4:44
You can still start the flip-flop with both off, but you need a little addition that gives the not-side a gentle, delayed nudge that knocks it off.

It spawns with the NOT input being on, because the NOT input is the reverse state of the flip-flop, but a very simple microcontroller modification deals with the issue :)

JK Flip Flop is useful for exclusive, binary input, like if you only have stuff like "high range gear" and "reverse" buttons, you can have the high-range gear be on by default, which gets disabled by hitting reverse. Also useful when you use toggle buttons for winch up & down, though you need to give it a little kick in that state :)
Последно редактиран от Ra-Ra-Rasputin; 16 апр. 2020 в 4:49
Първоначално публикувано от Ra-Ra-Rasputin:
a little addition that gives the not-side a gentle, delayed nudge that knocks it off.

[...] a very simple microcontroller modification deals with the issue :)

[...] though you need to give it a little kick in that state :)

Subtlety makes Rashtek confused and angry, but Rashtek will brute force his way through those hints eventually! Rashtek will start by trying with brutish pushes and big kicks first though.
Последно редактиран от Jorg Hammond; 16 апр. 2020 в 5:12
Allow me. I will edit this message in approximately 1e^3195.3 seconds

Actually nevermind, the JK Flipflop is designed to not have a 0 0 or 1 1 state. Ever.
I may have been thinking of another flipflop.
Последно редактиран от Ra-Ra-Rasputin; 16 апр. 2020 в 6:26
Aren't you editing your message and increasing the seconds count as time goes on?
Rashtek's sides are hurting from laughing at your wizardly quirks.

Rashtek usually doesn't like wizards but Ra-Ra-Rasputin is fine.
Последно редактиран от Jorg Hammond; 16 апр. 2020 в 6:30
< >
Показване на 16-26 от 26 коментара
На страница: 1530 50

Дата на публикуване: 13 апр. 2020 в 15:29
Публикации: 26