Advanced sea

If you liked this item, please rate it up on Steam Workshop page.

Author: Lambda

Last revision: 8 May, 2021 at 22:38 UTC

File size: 947.2 KB

On Steam Workshop

Description:

Yet another sea physics mode. Originally inspired by Toneriko’s sea mod:
https://steamcommunity.com/sharedfiles/filedetails/?id=1609085414

Added featuers:
– More realistic floating: now besiege blocks are approximated as several points, not one
– Water resistance depends on speed and face area of each block ((k*S*V^2)/2)
– Added a block with adjustable water resistance multiplier
[OBSOLETE]
– Compensation force: Blocks that are behind other blocks in direction of speed receive compensation force, so block sequences receive a bit more realistic total water resistance (still has bugs though)
[Update 2020] Unfortunately, surface panels are totally incompatibile with old Compensation Force mechanism, so I had to mark it OBSOLETE. It is now disabled by default. You can enable it back for old machines, but be aware of totally hanging the game if you use it with new surface blocks.
– Water now douses fire if more than half of block is under water
– Added Lava mode (called "Flaming Fanta" in settings, because I’m not good at visual stuff and it does look like orange water, not lava)

Debugging:
– You can now use console command "waterdbg true" to debug your machine. This command enables drawing of red simulation points when game is simulating. Big blue spheres under water are points where buoyancy forces are applied.

Q&A

Q: Why?
A: I just wanted a bit more realistic sea. And it was fun.

Q: Is it slow?
A: It is slower than original Toneriko’s mod. Also, it actively uses graphics card for computations, so if your graphics card is not powerful, it can become even slower. For instance, here are values that I can play (>=25 FPS) measured on my PC:
300 blocks = 100% game speed
600 blocks = 70%
1200 blocks = 20-25%
It also depends on the number of blocks under water and how close are they to each other.

Q: Is it compatible with original Toneriko’s sea mod?
A: No. Unfortunately, you would have to disable one of the mods to load another. Or your machine will behave crazy.