Barotrauma

Barotrauma

Not enough ratings
Double Click Switch
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
51.001 KB
5 Apr, 2023 @ 11:41am
5 Dec, 2023 @ 12:18am
2 Change Notes ( view )

Subscribe to download
Double Click Switch

Description
Find Double Click Switch in the item assembly to use

A simple double-click toggle circuit, typically used when using a periscope to generate a pulse signal to operate a specific component or device by double-clicking, without affecting the signal from a click or long press.

The principle is to use the delay component to convert each click into a pulse signal, while input to or component and relay toggle_state and signal 1, or component output wire to relay set_state and use time farmer set to no output signal after receive any signal within 0.2 seconds(no control of the relay), and output 0 when no receive any signal (turn off the relay), in this 0.2 seconds the first click will turn on the relay, the second click will be a pulse signal through the relay, 0.2 seconds later the or component will turn off the relay to form a cycle.

The following are 2 examples of the use of this circuit.

The "Relic" drone

Camera switching system
9 Comments
自由の代償  [author] 9 Mar @ 3:43am 
@Shakesbier
I tried.:Dogeface:
Shakesbier 8 Mar @ 10:59am 
@自由の代償
Thank your for confirming that, I did indeed have multiplayer issues. I will not use the mux. Just out of curiousity, how did you know it was gonna pose issues?
自由の代償  [author] 19 Feb @ 10:36pm 
@Shakesbier
Don't do it, it will cause a serious issue in multiplayer
Shakesbier 19 Feb @ 3:32am 
Thank you for posting this. I am using this with a DEMUX to simplify the signal output logic.
自由の代償  [author] 25 Oct, 2024 @ 5:43am 
因为这两个都会识别到短于0.04秒的脉冲信号,而第一次单击与切换继电器状态会形成一个同步信号,以时序来说这是不应该发生的,这属于游戏代码上的问题无法解决
星空Starhetzer117 25 Oct, 2024 @ 4:32am 
很好用,但是遇到过后面连放电线圈单击就会放电的情况,还有连到新出的输出选择器的下一个输出口时反而变成了松手后会切换到下一个输出,不知道什么原因
EkroRo 11 Apr, 2024 @ 11:07am 
非常感谢!
自由の代償  [author] 7 Apr, 2023 @ 7:41pm 
enjoy it:sunglassesDoge:
Black Lenin 6 Apr, 2023 @ 12:08pm 
Thanks, very handy