Barotrauma

Barotrauma

Not enough ratings
Turret Assemblies
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
251.327 KB
21 Aug, 2020 @ 6:23pm
21 Aug, 2020 @ 9:36pm
2 Change Notes ( view )

Subscribe to download
Turret Assemblies

Description
DISCLAIMER: These turret assemblies are WAY out of date, they were published over 2 years ago but still work as intended as of January 2022. However these are no longer necessarily the most efficient designs due to the addition of the concatenate function which may be used to reduce component count on all lower deck turret designs.

Examples of various turret functions possible all designed to cause no issues when played online. Wires are color coded based on signal type. All examples can be combined into one with some editing and multi turret examples can be infinitely expanded to include more than 3 turrets.

White alters component state
Red - end output/power
Blue - system input
Orange - state out
Green - logic gate output
Black - math output
Brown - constant signal.

Comes with Ammo counter, Burstfire, and Coaxial assemblies. Other assemblies are there for example on how to set them up since it's easier to setup than copy/paste.

Example sub has following examples:
Button select
Ammo Counter
Burstfire
Zeroing
Coaxial
Rotation Select
Shared Rotation Select
Cycle Select Terminal Select
Direction Select

Any questions feel free to ask in comments. These are just the systems I've seen people ask for help on in the past so I made them all as user-friendly as possible and grouped them in one example. Most systems are drop in place in any order with the exception of the coaxial turret which has a very specific wiring order.
8 Comments
Crusade  [author] 5 Jan, 2022 @ 11:03am 
Lengthy description - first 2 paragraphs are just how the burst is actually made second 2 paragraphs are the full description of the assembly as a whole. Had to split it into 3 messages because of character limits. Any other questions just ask although other turret types have a longer description.
Crusade  [author] 5 Jan, 2022 @ 11:01am 
In the turret settings under the turret header there is a setting "Reload Time" that determines how frequently the turret is allowed to fire, the burst fire turret has the setting dropped to 0.1 seconds compared to the usual 0.4 seconds of the default.

To get the actual burst you have to control the time the users mouse input is allowed into the "Trigger_in" pin of the turret. Since the turret doesn't if you tap trigger 3 times or hold it the easiest way to burst is to just send a value of 1 to that pin for a minimum of 0.3 seconds and a maximum of 0.39 seconds since the "Reload Time" value actually determines if its gonna fire with the trigger depressed.
Crusade  [author] 5 Jan, 2022 @ 11:01am 
The relay doesn't actually fire three signals in my assembly it sends one continuous signal of 1 for 0.3 seconds instead. The second relay is what actually controls the burst length by being set to "on" when the trigger is pressed and sending the same signal in a loop through the delay to turn it off as well. To prevent the second relay from being held open the first relay is used to turn whatever input given by the periscope into a single pulse.
Crusade  [author] 5 Jan, 2022 @ 11:01am 
he first relay starts on but is turned off the moment the trigger is fired, this is to prevent starting a second burst during the first which would just turn the turret into a normal full auto turret. The relay is set back to on after the trigger signal goes through the delay component attached. The delay length doesn't matter as much as the one used to control the burst it's an artificial timer put in to simulate giving the turret time to cool down and readjust before firing again, the only requirement is it be set longer than the desired burst duration doubled. (In the case of my assembly minimum time of 0.78 seconds to prevent potential signal overlap on laggy multiplayer servers)
Lego 5 Jan, 2022 @ 2:14am 
I'm failing to understand how the burstfire works? I don't get how the relay was able to fire 3 signals before it was set to 0
crow36 20 Nov, 2021 @ 10:28pm 
cool, well was really more intrested in the wiring, but its nice assembly never the less
Crusade  [author] 20 Nov, 2021 @ 6:34pm 
should be a turretassemblies.sub for the entire setup and ammo/burst/coax for the premade assembly names, I honestly doubt this still works the same since my Hussar sub which relies on this mechanic is broken and I haven'/t checked this in 18 months.
crow36 20 Nov, 2021 @ 1:52pm 
what name of file? cant find it in mods list?