RimWorld

RimWorld

170 ratings
Simple Custom Gas Framework
5
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
358.476 KB
5 Jul, 2023 @ 4:52am
27 Mar @ 9:06pm
14 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Simple Custom Gas Framework

Description
A framework for creating custom gas types.











To learn more, head over to the wiki[github.com]

Dependencies

Incompatibilities
No known incompatibilities, if you find a mod that doesn't work please let me know!

Compatible Apparel Mods
This framework includes patches for gas-protecting apparel in the following mods:

FAQ
Q: Can you add a pipe network for the gases?
A: No, that is out of scope for this framework.

Q: How much does this impact performance?
A: In normal gameplay performance should actually be better than in vanilla, thanks to the gas grid optimizations in Performance Fish[github.com]

Q: Can this be safely added and removed from a save?
A: Yeah, besides a few one-off errors it'll be fine.

Q: Why does this require the Biotech DLC?
A: RimWorld only does hediff applying logic for gases if Biotech is active.

Q: How do I make a custom gas?
A: Head over to the wiki[github.com]

Q: CE?
A: Gases themselves are CE compatible, however most gas mods will probably also add shells, IEDs, and/or launchers, so you should check the page of the gas mods themselves instead of the framework.

Credits
  • Ludeon Studios for this amazing game.
  • Bradson for making Performance Fish[github.com] - without which none of this would be possible.
  • Smash Phil for their help on Discord.
  • Tory for their various feedback and suggestions.
  • Jormundgandr for their help diagnosing and fixing various issues.

Gases used in example GIFs are from my other gas mods:

Source code on Github[github.com]
Popular Discussions View All (2)
33
22 Mar @ 3:51am
[Solved] Gases Not Dissipating
NachoToast is now playing RimWor
2
24 Mar @ 7:04pm
PINNED: Compatibility Testing and Bugfixing
Interloper
131 Comments
lechkingofdead 8 Sep @ 11:38pm 
we all do i loved to use it sense it was a decent boost to stability
NachoToast is now playing RimWor  [author] 8 Sep @ 12:53pm 
@lechkingofdead we pray :aunope:
lechkingofdead 8 Sep @ 11:30am 
glad to see once performance fish gets updated this will follow near instantly. im just hoping it IS updating.
NachoToast is now playing RimWor  [author] 25 Jul @ 8:01pm 
@Interloper thank you for the kind words, 1.6 actually hasn't changed anything gas related from what I can see, the only thing blocking the update to 1.6 is Performance Fish - which does a lot of the heavy lifting related to GasDefs.
Interloper 25 Jul @ 10:02am 
@Jsin0 If you really want to change the dispersal radius, you can go to the shell/IED itself, that is. From there the GasDefs can be modified for a greater/lesser density of spawned gas via the dissipationRate and spread via diffuses, either true or false. Keep in mind that you rarely want a dissipationRate at 0, and at 255 it better be a very angry gas.

@NachoToast thanks for continuing this work! GasDefs are universally strange, and I imagine 1.6 made the whole thing even more complex. The current system is way more modular than before, I'll have to see about getting a persistent agent a try via some custom gas fun. Like before, I'll also test it with the 1.6 test build of CE whenever you get the time to update.
NachoToast is now playing RimWor  [author] 12 Jul @ 3:47am 
@Turu no
Turu D. Sleep 12 Jul @ 3:43am 
Is there a chance this mod will work without Performance Fish as a dependency?
NachoToast is now playing RimWor  [author] 11 Jul @ 2:02am 
@Jsin0 GasDefs have diffusion and dissipation rate properties, the radius of gas created by something like an IED/shell is defined in the IED/shell itself though, not the gas
Jsin0 10 Jul @ 11:46pm 
Is there an option to adjust the radius of the gas?
NachoToast is now playing RimWor  [author] 7 Jul @ 2:06am 
1.6 for this will be out once Performance Fish is updated to 1.6, it also won't require Biotech!