Barotrauma

Barotrauma

Not enough ratings
Red Alert (Item Assembly)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
47.463 KB
4 Apr, 2023 @ 12:25pm
1 Change Note ( view )

Subscribe to download
Red Alert (Item Assembly)

Description
You can use this prewired item assembly to implement a "Red Alert" system on your ship. With it, you can toggle the color of your lights and state of emergency sirens with a single press of a button.

Wiring instruction:

- Connect the "Signal 1 Out" AND "Signal 2 Out" outputs of the 5 leftmost relay components to the "Set Color" input of each of your lamps. You can't change the color back, if you only connect one output.
- Connect the "Signal 1 Out" output of the lower left relay component to the "Set State" input of your emergency sirens. If you have more than 5 sirens, you might need to route the signal through another realy component, or a junction box.
- Connect the "Toggle State" input of the lower middle relay component to the "Signal Out"-type output of your button of choice. If you'd rather control your alert with a lever or switch, connect its output to the relay components "Set State" input.

If you don't like the colors I've set for the two modes, you can easily change them through modification of the color components. Just add and/or modify the connected memory components.
Happy alerting! :)
5 Comments
kellym 27 Oct, 2023 @ 8:40pm 
This item assembly is pretty cool! I have a question for you if you don't mind?

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2490423310

I have 5 sets of alarms, or warnings, all each independent of eachother, red is fire (smoke detectors) blue is flooding (water detectors) orange is reactor melt down (reactor melt down warning output based alarm) yellow is dock alerts (docking hatches opened or closed) and purple is creature proximity alert (motion detectors out side the sub)

Would it be easier, to just copy paste this system 5 times, or would it be better to try and rig it for 5 colors instead of just 2? im not very good at electrical editing = ( and think both options are gona be pretty hard... awesome assembly tho pretty cool very unique
GhostNappa 24 Apr, 2023 @ 5:08pm 
Awesome, thanks man! I'm working on building this into our vanilla game, but will definitely be adding it to our next play through which will be modded!
ThisGuyK  [author] 24 Apr, 2023 @ 6:20am 
Now you connect the "Signal 1 Out" output and the "Signal 2 Out" output to the "Set Color" input of any lamp you want. The lamp still needs to be on and powered.
You can also connect the "State Out" output of the lower middle component to the "State In" input of any alarm sirens.
Finally connect either a button to the "Toggle State" input of the lower middle component, or a switch or lever to its' "Set State" input.

The 6 extra relay components on the left are just there to gain more connection points for lamps and alarms, since the game only lets you connect up to 5 wires to a single wiring node.
Hope that helps! :)

2/2
ThisGuyK  [author] 24 Apr, 2023 @ 6:20am 
If you want to use this assembly in the submarine editor, you can find it under the "ItemAssembly" (Puzzle Pieces) tab in the build menu. Just plop it down and connect it as I wrote in the description. But I might aswell tell you how it works.

The memory components on the right save the RGB-values of the colors of the lights and feed them into the corresponding RGB-inputs of the color components.
The output of the "red" color component feeds into the "Signal 1 In" input of the lower middle relay component, while the "white" color components' output feeds into the "Signal 2 In" iput of the upper middle relay component.
The "State Out" output of the lower middle relay component is fed through the NOT-component in the middle into the "Set State" input of the upper middle relay component. This ensures, that only ever one of the color signals gets to your lamps.

1/2
GhostNappa 23 Apr, 2023 @ 7:46pm 
Any chance I can get a wiring breakdown of these components? I really want to use this setup