Barotrauma

Barotrauma

Not enough ratings
Ballast Controller
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
175.884 KB
24 Jul, 2020 @ 6:48am
24 Jul, 2020 @ 6:55am
2 Change Notes ( view )

Subscribe to download
Ballast Controller

Description
A ballast controller that also provides velocity normalization. Important: use the tooltip for ballast lv as approximation and then tweak by hand. If you don't the result will be slightly off. however this is normally also the case if you change it in the terminal. so no difference here.

Another thing. it is near impossible to get 0 velocity without the use of the maintain position setting in the terminal. This is due to inconsistencies between pumps and terminal. as well as inconsistencies with the physics in game. Basically the pumps set target level input is rounding the incoming signal to some degree.
26 Comments
Soggy_Balt 27 Dec, 2021 @ 5:23am 
Yeah it's all working now, thanks for the help!
Krzeszny 27 Dec, 2021 @ 4:52am 
It shouldn't, as this mod was updated in July. The multiplier that multiplies by 50 should have 100
Soggy_Balt 27 Dec, 2021 @ 3:47am 
Okay so the autopilot is working great now, but how do i make it so that my ballast tanks fill up completely, when i am trying to float the ballast only drain to 25%, and when i try to go down they fill up to 75%, how can i fix that?
Krzeszny 26 Dec, 2021 @ 4:42pm 
@Soggy after you set it to 0.5 in the terminal, tweak the a) value because it sets the neutral ballast level in this contraption. You want to tweak value a) so that the sub doesn't move on its own. You can make the walls transparent in settings and spawn a neutral buoyancy object outside of the sub to observe whether the sub's moving. Glowsticks are neutral, so "spawnitem glowstick cursor" in console
Soggy_Balt 26 Dec, 2021 @ 12:37pm 
how do i change the neutral ballast level with the ballast controller?
Soggy_Balt 19 Dec, 2021 @ 6:48am 
yeah thanks it worked!
:steamthis:
Soggy_Balt 19 Dec, 2021 @ 6:41am 
thank you!
Krzeszny 19 Dec, 2021 @ 6:12am 
nav terminal's velocity_y_out is the input and the output goes to something like set_level on all pumps
try to figure it out and if not I'll check it in the editor
Soggy_Balt 19 Dec, 2021 @ 2:50am 
But what do i connect the X'es to, and where?
Krzeszny 18 Dec, 2021 @ 9:26am 
the top X'es