Barotrauma

Barotrauma

View Stats:
Is there a way to like one periscope to multiple things?
So I am making a small ship and I can't really afford to have more than one periscope, but I wonder if there is a way to link multiple guns to one, like I press a button it will switch from a front gun to a spotlight at the back or something, is this possible?
< >
Showing 1-8 of 8 comments
Malthar Apr 10, 2023 @ 6:15pm 
yes, how tho? no clue

keep in mind you dont need the periscopes to be next to eachother either, they can be on top of each other like in the EK Nurseshark if that would help you
Last edited by Malthar; Apr 10, 2023 @ 6:16pm
TheDeadlyShoe Apr 10, 2023 @ 6:42pm 
multiple periscopes is easy, you route the trigger through some relays with a delay and you can control multiple periscopes. multiple *guns* is more difficult, you can do things like 'if you aim too far to the left it switches you to another gun' but it takes a lot of logic circuits.
lunaris80 Apr 10, 2023 @ 7:08pm 
you need multiple relay components, not component and/or buttons/switch to turn which relay component on/off
kratos Apr 10, 2023 @ 9:36pm 
If you want to control 2 things then a switch turning on and off 2 different relays will work. Run the position+trigger_out through the relays.

Or if you need more you'll probably want to make use of a counter so only 1 thing works at a time. The workshop has a few already to take a look at.
Rhapsody Apr 11, 2023 @ 1:25am 
Take a look at the vanilla submarine R-29, it has two cameras linked to one periscope.
Shortpower Apr 11, 2023 @ 6:44am 
Originally posted by XHU 524 - OFSET 5:
So I am making a small ship and I can't really afford to have more than one periscope, but I wonder if there is a way to link multiple guns to one, like I press a button it will switch from a front gun to a spotlight at the back or something, is this possible?
Yes.

Button -> adder component -> circuit setup to count to the number of turrets.

Button adds 1 to circuit, greater than component checks to see if it exceeds your pre-determined value, signal components check to see if their # is up enabling their respective relays when they are.

Or text command via wifi component (chat linked) to a mem component.
Last edited by Shortpower; Apr 11, 2023 @ 6:45am
Tiger Apr 19, 2023 @ 8:03am 
WiFi components work well for this as you can set a specific channel number per component in a sequence for all devices you want to loop through and saves lots of wiring, just increment the wifi channels for the components connected to the periscope (one for movement and one for gun signals).
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Apr 10, 2023 @ 5:30pm
Posts: 8