RimWorld

RimWorld

Simple Custom Gas Framework
131 Comments
lechkingofdead Sep 8 @ 11:38pm 
we all do i loved to use it sense it was a decent boost to stability
NachoToast is now playing RimWor  [author] Sep 8 @ 12:53pm 
@lechkingofdead we pray :aunope:
lechkingofdead Sep 8 @ 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] Jul 25 @ 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 Jul 25 @ 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] Jul 12 @ 3:47am 
@Turu no
Turu D. Sleep Jul 12 @ 3:43am 
Is there a chance this mod will work without Performance Fish as a dependency?
NachoToast is now playing RimWor  [author] Jul 11 @ 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 Jul 10 @ 11:46pm 
Is there an option to adjust the radius of the gas?
NachoToast is now playing RimWor  [author] Jul 7 @ 2:06am 
1.6 for this will be out once Performance Fish is updated to 1.6, it also won't require Biotech!
NachoToast is now playing RimWor  [author] May 6 @ 9:15am 
@Kaden Ha not really sorry, checking that a gas is "outside" every time it ticks would be very expensive, and wind doesn't really exist in rimworld (wind turbines are just glorified sine waves) afaik
Kaden Ha May 6 @ 6:42am 
Is there anyway to customize dissipation/diffusion behaviour? Like gas dissipates faster while outside and windy.
NachoToast is now playing RimWor  [author] May 4 @ 9:29am 
@DoodleKatMoon you are very welcome lol :)
DoodleKatMoon May 4 @ 6:36am 
yugwyfwhu IT HAS COME!! IM SO HYPED!! thank you!! thank you nachotoast. MWAH
mayonnaise Mar 27 @ 6:39pm 
very cool! can't wait. will have to see what i can do on my side for compatibility ;)
NachoToast is now playing RimWor  [author] Mar 27 @ 5:12pm 
Hey @mayonnaise thanks for the interest :)

1. You'd need compatibility on your side unfortunately, as the game references gases from a hardcoded GasType enum so it's a bit more than a simple switch. Namely the verb(s) in question should reference a custom DamageDef, and said DamageDef just needs a mod extension to say what type of gas it produces, a good example of this is the custom gas launcher example on the wiki [github.com], but let me know if there is anything unclear about it or if I can do anything to make this process easier!

2. Absolutely, I'll see what I can do! I will make the tick interval configurable as well since you probably don't want it applying every gas effects tick haha
mayonnaise Mar 27 @ 5:04pm 
hey! i've been looking forward to this mod being updated for a while now; glad to see it finally updated! to keep it short, i have a mod that lets you use the vanilla gas system with an Incinerator (from Anomaly) type weapon.

two questions for you:
1. if my custom verb is built to work to work with vanilla gas defs, would it work with your custom gasses by default, or would i need to code in compat on my side?
2. could you possibly add a gas action that lets the gas deal a certain DamageDef to pawns inside it? i have a corrosive acid gas that would work perfectly with this.

otherwise, very good mod! look forward to your responses!
NachoToast is now playing RimWor  [author] Mar 25 @ 8:30pm 
Yep that is intentional, I'll update this workshop page to be a bit more clear about that
toradrow777 Mar 25 @ 7:59pm 
Rimpy is saying your mod has bs.performance as a dependency.
sho Mar 24 @ 7:30am 
YESSSSSS
Kimo' Mar 22 @ 8:19am 
I never expected this mod to return, thanks you so much!
NachoToast is now playing RimWor  [author] Mar 22 @ 6:54am 
IED bug fixed.
_♣Caligula♣_ Mar 22 @ 3:54am 
Awesome! :3
Thanks alot.
NachoToast is now playing RimWor  [author] Mar 22 @ 3:48am 
Hey @everyone, framework is updated to 1.5 alongside knockout gas, tear gas, mustard gas, and gas vents. I'm currently fixing a small bug with gas IEDs at the moment, but otherwise the framework should be entirely working! The workshop page and wiki will be updated shortly as well. Hope you enjoy :)

@deadmanreaper13 @dinhkhiem199833 that was fast haha
deadmanreaper13 Mar 22 @ 3:36am 
HOLY SHIT, THE WAR CRIMES HAVE RETERNED
Kaden Ha Mar 22 @ 3:36am 
The GOAT returns
Hotaninja05 Jan 11 @ 5:34am 
Soo has this mod been abandoned or?
Interloper Dec 6, 2024 @ 1:28pm 
o7
I'll see if a fork and update is possible. Let the man rest, he's been busy; if you want to use the code, I'll put my word in for you.
Kaden Ha Dec 4, 2024 @ 4:44pm 
playing with only a handful of "real" gas is a pain. pls come back.
KΞNTΛR Dec 2, 2024 @ 12:41pm 
:steamsad:
Thanatomorphose Sep 9, 2024 @ 3:11pm 
I miss this mod...
Hotaninja05 Aug 30, 2024 @ 9:24am 
Please update to 1.5
HIM Aug 21, 2024 @ 5:06pm 
@sho, thank you for this treasure
TurtleShroom Aug 10, 2024 @ 10:45am 
I am looking forward to the V1.5 version of this Mod.
Kimo' Aug 9, 2024 @ 5:47pm 
Hey man, hope you're doing well. Can't wait for the update!
cLiffdraco Jul 28, 2024 @ 10:29am 
Love your work man... I hope updating its going fine! :'(
CalamityCats Jul 1, 2024 @ 2:47am 
Hope the updating is still going well
StormFather Apr 30, 2024 @ 1:33am 
Hyped for 1.5, although take your time i know as a modder it takes ages
SuperTechDragon Apr 25, 2024 @ 7:38am 
Excited for this to get updated to 1.5 so I can start gassing anomalies.
ano0bis Apr 20, 2024 @ 2:07pm 
I need the 1.5 version im trying to make the funny weed mod right now.
dysaster Apr 19, 2024 @ 7:20am 
cant wait for 1.5 version :)
mayonnaise Apr 16, 2024 @ 7:24am 
i actually solved that issue myself! i made a mod called InCIN Plus which you can now find on the workshop. it includes an assembly which allows you to make gas spewing weapons in the style of the Incinerator.
NachoToast is now playing RimWor  [author] Apr 15, 2024 @ 10:45pm 
@mayonnaise currently no, they could only fire projectiles that explode into gas. haven't played with Anomaly yet so unsure of the limitations of "shooting" a gas, but could be a possibility in the future.
mayonnaise Apr 15, 2024 @ 7:50am 
is it possible for me to create a weapon which "shoots" a gas with this framework? like the new Anomaly incinerator, but instead of flames it shoots a certain type of gas
NachoToast is now playing RimWor  [author] Apr 12, 2024 @ 8:55pm 
Hey everyone, an update to 1.5 will take a while due to the changes 1.5 made to how gases a rendered, thanks for your patience and support :)
Piter Müller Apr 11, 2024 @ 11:26pm 
could update to 1.5
Tory Feb 25, 2024 @ 11:25pm 
oo yeah gas to prevent blight for plants. Maybe a stinky gas that repels bug spawns. Lol archotech nanomachine swarm gas that repairs buildings.
NachoToast is now playing RimWor  [author] Feb 25, 2024 @ 6:54pm 
@dinhkhiem199833 No, but that is a good idea!
Kaden Ha Feb 25, 2024 @ 6:40am 
Also, is it possible to make gases that affect other "things" instead of pawns? Like just apparel, plants, buildings, etc...