Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
On another note, would you be willing to provide an additional mod for the IO gases (Gasoline, RocketFuel, Steam and Deuterium)? Happy to send you the adjusted code.
Or would you be OK with me uploading a separate mod (based on your code but for adjusting said values) myself?
That's technically a hydrogen tank, but it's meant to float based on the hydrogen inside.
Is there an exception for this mod, or will the lift counteract the weight enough, or what?
Can anyone correct me please if I am wrong?
From reading the description it should be fine.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2266876809
The big complication here of course is that air contains other gases too, but given that an air vent can fill an oxygen tank from planetary atmosphere, I will just assume air is pure oxygen with a density similar to Earth.
Earth's atmosphere has a standard density of about 1.225kg/m^3 at sea level, and because 1L of "oxygen" fills 1m^3 of space, that would result in a density of 1.225kg/L, which is actually not too far off from the density of liquid oxygen which is around 1.141kg/L.
The values used in the mod are valid for gaseous storage, not liquid. And you can certainly measure gas as a volume and a weight. The pressure inside the tank would then be derived from that.
Altering the O2H2 values so 1kg of ice produces: 1.5586520777L of Hydrogen and 0.7793260388416L of oxygen would give you a near perfect conversion, with realistic liquid "gas" weights.
public static double GAS_L_KG_CONVERSION_H2 = 0.07078;
public static double GAS_L_KG_CONVERSION_O2 = 1.1416;
These seem to be the accurate numbers for KG/L for hydrogen and oxygen.
I have an idea if youd take up the idea ?
Use the modAPI to get the weight of the player characters inventory and apply it to the cockpit so character weight becomes part of the ships flight physics.
My goal was to give a reasonable approximation that holds up to at least some aspects of physics (eg. the actual mass being right). Temperature is not being considered, since the game basically handwaves that anyway.
Still love the idea of adding realism to the game with this mod. Appreciate your work on it!
There is an option if you want to force NPCs to also deal with this, but I don't see a reason why most people would want that.
I'm not saying this is a bad thing - if you love to salvage and restore crashed ships, it's fantastic. On the downside, if you like to build a base and explore nearby, it can make it increasingly dangerous over time, as not all crashed ships lose power right away and can have their weapons remain active and dangerous for some time. If you use an AI mod that adds combat-capable NPC crew to NPC ships, it makes salvaging more dangerous. YMMV.
Be aware your NPC-ship spawning mod may not be designed to have heavier-than-vanilla gases in their tanks, and they may come crashing down about you during your game.
Every liter of hydrogen has a mass of 0.0111.. kg, and every liter of oxygen has a mass of 0.1711.. kg
So a full large LG hydrogen tank has a mass of 166 tons (15 million liters times 0.0111..)
How you plan for that .. well, account for the mass at launch. :)
how much weight will be gained and how do you plan for this on ships? sounds real cool
Mods like this (and some of the comments) highlight the value of paying attention in class at school, even if it's only recreational value for SE. It's a fun teaching point! :D
It doesn't need to be compressed, it just needs to be in there to make it heavier.
Conservation of mass is not just an idea. If you take 1000kg of ice, the mass has to go somewhere. If you were to put your ship on a scale, the reported weight would not change.