Barotrauma

Barotrauma

127 ratings
Visual Propellers
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
752.029 KB
7 Mar @ 5:50pm
21 Jun @ 2:03pm
10 Change Notes ( view )

Subscribe to download
Visual Propellers

Description
Welcome! : D
This mod overrides all engines in vanilla, to include propellersprites which animate dynamically based on the force of the engine.

Tested to work with all vanilla submarines and drones.

Nota bene!As of version 1.0.6 and game version 1.7.7.0, the mod should now also work for the currently active sub in existing campaigns! : D

: C But from this version and forward, I am doomed to manually update this mod whenever Barotrauma's game version is incremented.

As of version 1.0.5 and game version 1.7.7.0, the mod works for new campaigns and for new ships in existing campaigns.

Skip this bit if you're only here for the mod!
Some visibility for my new friend!
This mod seems to have thrown me into the spotlight, and I want to use that to do some good.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3441400269
^TheSurgeCell likes to make custom subs with vanilla parts, and he's looking for more feedback.
I like them a lot already, and am eyeing two of them for a solo campaign.
The builds always have some interesting functions to look out for, and so far I have underestimated every single one of them. If that sounds like your thing, then head on over, test a sub and leave some constructive feedback. : D

Notes:
This is the LITE version of the mod, which was made to be as small as possible, so that it is as fast as possible to download and run. The current goal is to get the filesize below 1MB.(As of v1.0.4 the filesize is at 1MB.)
Thanks to @Kookoorooza's png-8 suggestion, the filesize goal has been reached!(As of v1.0.5 the filesize is a mere 733.5KB!)
When/If the propellersprite bug in the source is fixed, the filesize could be reduced to just under 333.5KB. That is the new filesize goal.

A more comprehensive Modder's Resource version is also in the works.

Known issues:
Due to a bug in source, this mod requires that engine textures be rendered at half-resolution. This increases the size of the mod by ~400KB. When/if the bug in the source code is fixed, this mod will become even LITER! : D

If my understanding is correct, then this bug also prevents propellersprites from being mirrored. Therefore the propellersprites will most likely be facing the "wrong" way on enemy submarines in the campaign.

I've reported the bug on Barotraumas github discussions - the discussion number is 15711. Upvoting that discussion increases the odds of the bug getting fixed.

Credit where credit is due!

Special thanks to:

  • O Captain! My Captain! You gave me a gift that keeps on giving! o7 <3
  • My Old Crewmates! For sharing precious, precious time with me! <3
  • My New Crewmates! For renewing my interest in the game! <3
  • girly guppy For the mod's name and quick work on additional sprites! <3
  • Kookoorooza For almost 50% smaller filesizes! <3
  • lumen For daring to ask an important question! <3
  • snark For trying to save me from myself vis-à-vis v1.0.6! <3
  • Nupaska For better animation settings! And a good link about propellers! <3
  • and every good soul from #baro-modding For all the help; future, past and present! <3
65 Comments
Ironbard  [author] 12 Jun @ 9:52am 
@Frogman
Oh my, that sounds extremely bothersome!
Hmmm... I suspect this is due to how submarines are stored within savefiles, and how I use/abuse the 'upgrade' tag to get my mod to work.

I think the only way to fix it is to create another mod which overrides the engines to use default settings - but I'm not sure if that will actually work. I'm also not sure how to test this, as I cannot replicate the issue on my end. : S
Ironbard  [author] 12 Jun @ 9:37am 
@Purpleskin Thank you for trying my mod!

Oh, that's interesting, when I made the mod I noticed that they disappear sometimes if you use too many propellers at once, but I never figured out what part of the code caused it to happen. I vaguely remember someone writing about this long ago on the Baro discord, about how it would become a problem in the future, but I can't seem to find the message anymore.

The problem with non standard engine sizes is a known issue. Sadly it is not something I can fix on my end. I've posted about it in the Github discussions three months ago. The discussion number is 15711.

Thanks again for trying my mod!
Frogman 18 May @ 8:30pm 
I think this mod is causing some issues with my game. Removing the mod or uninstalling it entirely, causes the engines in subs to become enlarged, covering most of the room, and even the reactor. Walking near the left end of the room will cause the character to violently jump up and down, causing damage, and in some cases killing the character entirely. I've tried to do a clean reinstall etc, without this mod, but it still seems to cause issues. I don't know how to fix it. When I reinstall and put the mod back, the game works normally. But I'd like to have my submarine without the propeller.
Purpleskin 6 May @ 10:08am 
Some strange things going on with the props, they only display at certain distances, disappear when i get close or to the left of them. Also non standard engine sizes move the prop and stop it lining up with the damage zone.
DEUS 10 Apr @ 4:31pm 
@Ironbard Okay i get it, still thanks for the answer! i will contact with author of Immersive Repairs
Ironbard  [author] 10 Apr @ 3:31pm 
@DEUS Ah I think I understand then, both mods override the default engines.
That would explain why it "breaks" differently depending on the load order as you described.

Your enthusiasm for this mod gladdens me, but what you ask is not as simple as you think. I don't even know what the "Oil system" is, much less what such a patch would require.

Immersive Repairs engine.xml code is currently more than 1000 lines, and I do not have the time or will to dig through that at this time.

Therefore I do not accept responsibility for creating a patch mod.
I suggest you ask Immersive Repairs author do to so instead.
DEUS 10 Apr @ 2:59pm 
Just make Oil system patch, thats all i ask, please!
DEUS 10 Apr @ 2:58pm 
@Ironbard Your mod just dont appear visual because immersive repairs have "custom" work engine, i mean with Oil system, if i place your mod above Immersive, Oil system GONE, if down below, visuals GONE, well...
Ironbard  [author] 10 Apr @ 2:57pm 
@Farbott, the mod should now be correctly updated. Let me know if that fixed it!
Ironbard  [author] 10 Apr @ 2:50pm 
@Farbott I think there's been an update recently, possibly today, so I have to update the mod, which I will get on to right now.