Automated turret Switching System
Ever wanted to link up multiple turrets to one periscope so you could switch between them without having to build complicated button systems? You don’t want to have to walk around to other periscopes on your ship just because you have a top and bottom turret?
Look no further!
With these simple assemblies you can create a system like this: https://imgur.com/a/GihPh8R
1: Allows you to link multiple turrets to a single periscope
2: Allows you to switch between those turrets by moving your mouse to a certain angle (usually the ends of the turret’s firing arc)
For a working demo, please refer to the submarine-box test of this system I have uploaded.
1: link up the main periscope (or periscopes!) to the system by connecting the position pin to input 1, and the trigger pin to input 2 on all Automated Switching System relays.
2: The left and right AND gate outputs should be connected to the toggle state of the previous and next Automated Switching System relays.
3: Configure the regex component on each side (left and right) to match the viewing angle / angle range when you want it to switch to the connected turret on the corresponding side.
4: Turn on only the "first" turret relay (meaning, the turret you want the periscope to start on when you first load the submarine). Have all other Switch System turret relays off.