Barotrauma

Barotrauma

Barotrauma Workshop
You can build your own submarines and monsters with in-game editors and share your creations with other players. Imagine and experiment.
simsyu 20 5 Nov, 2023 @ 5:37pm
Anticipating "Velocity_y_Out" and ballast's pump "Set_Speed"
The same way we can automate a reactor, I'd like to enhance ballast's pump by bypassing the skill requirements to use the Navigation Terminal and emulating "Set_Speed" based on anticipated "Velocity_y_Out" (targeted level).

Well, that's what I'm trying to figure out. If someone already got a solution or thought on the subject I'll gladly read them.
:barotrauma::ambition:
Last edited by simsyu; 5 Nov, 2023 @ 5:40pm
< >
Showing 1-7 of 7 comments
Chimz 4 6 Nov, 2023 @ 1:42pm 
I haven't tried such a system before to indirectly navigate the ship, but I just wanted to point out a note you might run into down the line:

While X speed can go up to 100 (and possibly beyond, haven't checked), Y speed is capped at 16km/h.

So if you manage to implement a system, don't get confused or think it's not working if Y speed doesn't go above that.
simsyu 20 6 Nov, 2023 @ 6:02pm 
I cannot agree, my sub can go up to 31km/h.
But that is not the point, I'm not trying to go over those values but to indirectly reproduce the Navigation Terminal behavior when inputting controls through its HUD so that I could manually tweak this behavior in-game.
:barotrauma::ambition:
Last edited by simsyu; 6 Nov, 2023 @ 6:03pm
spaceweezle 6 Nov, 2023 @ 10:24pm 
My sub seems hard-capped at 18 knots down-bubble, and that's with the help of ballast-boosting.

31 seems really high for Y axis. You must have 80% of your ship as ballast tanks lol.
simsyu 20 6 Nov, 2023 @ 11:29pm 
We're getting off topic, but I guess a bit of advertisment wouldn't hurt anyone.
It's nothing new, I'm still working on the same submarine since May 2022:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2950966394
Though this version is really clunky and outdated compared to what I'm currently working on, and the most recent upload would be the one from last month:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3045152396
But regardless, any question about this sub should be adressed through its dedicated workshop's comment section.
:barotrauma::ambition:
Last edited by simsyu; 6 Nov, 2023 @ 11:37pm
kratos 5 9 Nov, 2023 @ 9:32am 
I've previously done more of an emergency override. Essentially you have 4 buttons 1 for each cardinal direction. When you press the button it disables the velocity out and enforces max speed in that direction. There is also plenty of room to customize the speed settings or visuals. Perhaps another button to divide the speed for more precise movement.
simsyu 20 9 Nov, 2023 @ 11:53am 
Yes, I was thinking of dividing Nav control in a kind of dynamic grid based on your deduced skill level, and each intersections of this grid would serve as a threshold to enforce the above value to pump speed.

But it seem a bit much tangible to be reliable, so I'm thinking making a dynamic analytic of inputted velocity / position xy / velocity xy to deduce which is the desired nav input.

But, yet again, the big issues would be to compensate high helm skill, stabilization of the submarine, and all of that while not interfering/breaking auto navigation.
:barotrauma::ambition:
Last edited by simsyu; 9 Nov, 2023 @ 11:56am
simsyu 20 6 Dec, 2023 @ 9:25am 
Originally posted by kratos:
I've previously done more of an emergency override. Essentially you have 4 buttons 1 for each cardinal direction. When you press the button it disables the velocity out and enforces max speed in that direction. There is also plenty of room to customize the speed settings or visuals. Perhaps another button to divide the speed for more precise movement.

In the end, I came up with something similar that solve everything.
It is meant to use only 1/4 of the navigation terminal HUD to control the sub.
But I've only developed the X axis part meant for Engines, Pump and Ballast are another matter entirely that I have yet to dive in.

Do take note that it is not compatible with the auto steering feature.
And here I'm sharing the item assembly:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3107001527

Feel free to share any thoughts about tweaks and changes to be made or any kind of related suggestions/ideas.
:barotrauma::ambition:
Last edited by simsyu; 6 Dec, 2023 @ 10:28am
< >
Showing 1-7 of 7 comments
Per page: 1530 50