Subnautica

File information

Last updated

Original upload

Created by

Mikjaw

Uploaded by

Mikjaw

Virus scan

Safe to use

About this mod

This mod fixes the "stalker teeth becoming trapped under the ground" bug. It does the same for scrap metal.

Requirements
Permissions and credits
Donations
If you would like to support Mikjaw, please see this Patreon page.

What problem does this mod fix?
Due to the way the terrain loads vs the way items load, stalker teeth very frequently fall through the ground. This is a problem for two reasons:
  • It makes it quite hard to find stalker teeth.
  • It makes for an upsetting display when one sees so many teeth inaccessible under the terrain.

How does this mod fix that problem?
This mod implements two ways to fix this problem.
  • Once a tooth finds a resting place, it becomes "stuck" in that position, and will never move again until you pick it up.
  • If a tooth manages to fall through the ground, it will query against the Persistent Reaper depth map in order to teleport above ground when it has sunk too far. From there, it will attempt to sink to the ocean floor once again.

Remarks
The first solution works for almost all cases, but in my testing, perhaps 1% of teeth still fall through the ground. The second solution is for this remaining percent.

Performance
  • In order to determine when it has found a resting place, each tooth will query its position 4 times per second, which is about once every 7 frames. This performance cost is minimal. Furthermore, once the tooth has settled, this mod will incur no further performance cost whatsoever for that tooth.
  • If a tooth begins to fall through the ground, it will query its depth once every 20 seconds, so the performance cost is negligible.

I would like to read the source.