Oxygen Not Included

Oxygen Not Included

933 ratings
Floatation
12
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Compatibility: Base Game, Spaced Out!
File Size
Posted
Updated
7.094 KB
25 May, 2019 @ 2:51am
3 Jun, 2022 @ 2:45am
9 Change Notes ( view )

Subscribe to download
Floatation

In 1 collection by Heinermann
Heinermann's ONI mods
5 items
Description
Changes gravity so that lighter objects will float in liquid instead of sink.

Mechanic Properties
  • Objects can float in any liquid.
  • All objects that have the Pickupable tag and component will be eligible to float (including modded objects), provided they do not fall under an exception
  • Objects will only float if its element density (MaxMass attribute) is less than the density (MaxMass attribute) of the liquid it's in.
  • Objects will choose a random horizontal direction to move in and bounce off the walls which provides a mechanism for movement.
  • Objects will be submerged but remain close to the surface of the liquid.
  • Bottled liquids and gasses will always float.

Objects do NOT float under the following conditions:
  • They are a creature or creature egg
  • They are a living Duplicant
  • The liquid is too shallow
  • The object element's density (MaxMass attribute) is greater or equal to the liquid's density (MaxMass)

Uses
  • Collect items that have fallen into water more easily
  • Ferry slime and algae naturally towards a pickup station
  • Collect fish meat from the liquid surface

May have interesting synergies with other mods and future content. Please share other creative ideas and mechanisms.

Known Bugs
  • Objects in shallow water that attach to the floor may be significantly offset horizontally (may be a base game issue)
  • Objects can sometimes be jittery when it is close to the ground or moving to different height levels
  • Sometimes spazzes out when moving up into mesh or any solid tile ceiling
  • Ice currently doesn't float in water. I wonder if Klei put in a higher max mass than water by mistake?

Potential Bugs
I have not tested extremely tight 1-cell areas or other unnatural situations.

Future Plans
  • Make items move with bias from higher to lower levels of liquid (pretend that it is the flow of liquid). (Idea from Hanmac)

Source: https://github.com/heinermann/ONI_Mods/tree/master/Floating
Popular Discussions View All (1)
0
21 Nov, 2024 @ 5:07pm
sadly crashing my game when i start a new save.
Medic
204 Comments
=Snappy= 21 Jul @ 10:07pm 
meh it's part of the "game" (of modding). would u rather the game never update so mods can stay working. for certain mods, for certain games, yes. for this mod, for this one, probably not. tho it is cool and i wish it was working. source code is available. it's probably an easy fix tbh. just needs some update vs. all the patches.
n3mes1s 11 Jul @ 11:12am 
Another dead mod sigh. Why modders even bother sometimes i wonder.
Gamma_Draconis 23 Jun @ 9:43am 
That thumbnail animation is class.
豹子头林冲在此 16 Jun @ 9:20pm 
我把Heinermann的github版本搬运过来了,各位可以暂时用一下,如果Heinermann更新了这个mod或者要求我删除的话我会立刻删除。搬运地址如下 floating[fix]
Stonehead 30 Mar @ 11:18am 
still no update on steam 6.0.2 vs 6.0.3. on github. unfortunatley i dont know how to install manually
radioactivefoxsiddy 24 Mar @ 9:08am 
hopefully this gets a update soon, it seems really cool!
Xandrii 22 Mar @ 12:19pm 
still crash :(
3GuB 20 Feb @ 7:18am 
crashes the game on load :C
fiziologus 9 Feb @ 2:24pm 
Mod fixed in source but steam version still no update.
jaxer316 4 Feb @ 1:05pm 
it's now february 4th. any plans on updating?