RimWorld

RimWorld

Reworked Temperature Extreme Events [1.3]
85 kommentarer
Viliamm 17. nov. 2023 kl. 13:17 
I live at -92 degrees and it doesn't bothering me xd :winter2019coolyul:
Monkey Magic 25. juli 2023 kl. 23:43 
I would like to see this adjusted if it gets updated. If the mod is going to nerf the set values as much as it does, it should also buff them to equal values. As it currently stands, this mod makes this event too easy, since the vanilla offers a set challenge, and the paltry buffs here do nothing to offset the substantial nerfs.

Rather than Heatwave +10/+20c it would be something like +12/22c (5 either side of vanilla) with an optional switch to +15/27c for a more challenging version. Subsequently, Cold Snap would be -15/25c (-10/30c for increaded challenge version)
StarlightSovereign 16. maj 2023 kl. 17:07 
I would love to see this updated! Thanks! :starite:
Thetaprime 26. okt. 2022 kl. 10:26 
I.4 update when you are able please.
Stoic Saltine  [ophavsmand] 17. apr. 2022 kl. 8:47 
Hi, I can't be certain how much the mod settings allow because I haven't been on in a while. But I do know that I added some mod settings that allowed you to increase the temperature offset. Check out the mod settings and let me know if what's already implemented works for you.
Andromalis 17. apr. 2022 kl. 8:20 
Assuming equal distribution, you still had made the game easier by lowering heat wave average temperatures by 2 degrees Celsius and rising cold snap average temperatures by 2 degrees Celsius. Still, the mod is a good idea. Could we perhaps get the chance of editing the average temperature and offsets? That'd make the mod a lot more convenient for a lot of users.
Stoic Saltine  [ophavsmand] 11. aug. 2021 kl. 8:53 
@I AM AN ANT - <3
Mr.Ant 6. aug. 2021 kl. 22:07 
after experiencing -101 degree cold snaps i definitely now love this mod with the adjustable settings and will throw an award
Stoic Saltine  [ophavsmand] 21. juli 2021 kl. 15:11 
Updated for 1.3

Technically no changes were needed, but the update is there regardless :)
gazza_m_bolton 21. juli 2021 kl. 4:05 
Are you going to be able to update this to 1.3?
Mur Derer 19. feb. 2021 kl. 2:32 
i disabled the mod when it started spamming errors. i'll enable it and see if errors pop up when cold snap starts
Stoic Saltine  [ophavsmand] 18. feb. 2021 kl. 16:12 
Hey,

I couldn't replicate the bug, most likely because I don't actually have the bug report. If you'd like, you can paste the bug/error report in the comments here, or in a new discussion and then I can just delete them afterwards.
Stoic Saltine  [ophavsmand] 18. feb. 2021 kl. 2:51 
Okay, I'll check it out after work. You're the first person to bring up this error, so I'm wondering if there's a mod conflict or something.
Mur Derer 18. feb. 2021 kl. 0:22 
1.2
Stoic Saltine  [ophavsmand] 17. feb. 2021 kl. 15:21 
"Maintained" is subjective lol

I try to keep this mod bug free. What version of the game are you running?
Mur Derer 17. feb. 2021 kl. 5:54 
is this mod still maintained? I'm having error about cold snap, can't post it cause it's too long
Mr.Ant 18. aug. 2020 kl. 15:26 
great job thank you, and let life take priority of course
Stoic Saltine  [ophavsmand] 18. aug. 2020 kl. 14:59 
Sorry it took so long. My job has been taking a lot of energy out of me and finding time to mod is just not the highest priority for me anymore.
Stoic Saltine  [ophavsmand] 18. aug. 2020 kl. 14:59 
Updated to Version 1.2 and added mod settings. Fiddle with them at your own risk :)
Stoic Saltine  [ophavsmand] 23. juli 2020 kl. 15:13 
Bit exhausted from work these days, haven't been keeping up with my mods, so sorry about that :(

I am reading the comments though, and will try to make time in the next week to add the mod settings. Mod settings aren't too hard, so it shouldn't take too much of my free time.
MercuryDoll 22. juli 2020 kl. 23:01 
I agree, adding settings to configure minimum and maximum temperature offsets would be amazing
Mr.Ant 21. juli 2020 kl. 20:43 
you should allow the temperature differences to be manually configurable in the mod settings because id like to set coldsnaps to like -70 degrees just to ♥♥♥♥ with my planet
Felios 13. juli 2020 kl. 21:04 
You say this doesn't inherently make the game easier but looking at the offset range, haven't you reduced the average temperature offset of a temperature event? Instead of always being +17C, a heat wave will on average be +15C. And on average, a cold snap is now -18C instead of always being -20C. Can you include an option in settings so that people like me and @Gilgamesh can have more variation in temperature events, without inherently making the game easier?
Mbos 28. maj 2020 kl. 11:50 
@leon there is a mod called permanent heat or cold that allows you to do that
CTH2004 31. mar. 2020 kl. 14:45 
This is neat. However, have you eve made a scenerio where one of these goes off once every 1/10 of a day? It gets into the hundreds! And I don't mean 100F I mean 100C
Stoic Saltine  [ophavsmand] 18. mar. 2020 kl. 3:43 
Sorry guys, been a bit preoccupied with work due to the COVID-19 stuff going on. I'll try to get around to fixing the bug asap though.
nhatanh0475 18. mar. 2020 kl. 3:04 
@Leon Live in the North pole?
Pentasis 18. mar. 2020 kl. 2:51 
Having the same issue as Red with an empty event card, I did notice the text does appear in the debug log.
Leon 15. mar. 2020 kl. 12:20 
How can i add permanent cold snap ?
Stoic Saltine  [ophavsmand] 14. mar. 2020 kl. 17:30 
@Red - I will have to look into this. Thank you!
Squamata 14. mar. 2020 kl. 16:43 
Wanted to point out a bug I think is from this mod. When a heat wave or cold snap happens, the event card is usually blank. I had it once be a normal event card out of about 5, and I think it was because it rolled the normal temp.
Squamata 7. mar. 2020 kl. 13:21 
Awesome to see this updated, thank you so much for your time!
Stoic Saltine  [ophavsmand] 7. mar. 2020 kl. 5:37 
Updated to 1.1

Enjoy, and please let me know if you run into any issues
Two 5. mar. 2020 kl. 5:25 
Thank you so much!
Stoic Saltine  [ophavsmand] 5. mar. 2020 kl. 3:54 
I have not been in the modding scene for a bit, as it was eating too much of my time. I will do what I can to update this asap :)
Squamata 1. mar. 2020 kl. 17:35 
I hope so Nyoj, but I wouldn't hold my breath. This hasn't been updated for a while.
Nyoj 26. feb. 2020 kl. 9:47 
Ey, planing to update this to 1.1?
Stoic Saltine  [ophavsmand] 14. feb. 2020 kl. 3:10 
@Gilgamesh - It was always my personal opinion that the heat waves in the game were consistently too harsh, which is what inspired me to make the mod. I knew that if I only made the range 10-17, the vanilla experience of experiencing that +17C heatwave would be gone for most playthroughs. So I figured if I'm going to have a chance at experiencing less punishing temperature extremes, I should at least maintain the odds of the vanilla heat wave and even introduce a small probability of a heat wave being worse than vanilla.

Also, I don't remember EXACTLY why I picked 10-20, but I remember doing some light research into real world heat waves and looking at temperatures that made the pawns uncomfortable and at risk of dying. Given that temperature events only occur if the temperature is at a certain threshold, they are always still going to be punishing if the player does not have at least some sort of temperature regulation setup throughout the colony.
Gilgamesh 12. feb. 2020 kl. 16:35 
Why did you make the temperature offset favor the less extreme? Wouldn't it be better to make both directions off the default equal?

If the default is +17 for heat wave, I would think the Min and Max should be either +10 and +24 (+7/- 7) rather then +10 and +20 (-7/+3). As it is it's weighted to make the heat wave/ cold snap less severe then vanilla.
poisonousautumn 6. dec. 2019 kl. 10:07 
Combined with the default (or modded) climate cycle this mod really adds some spice to a temperate map. I recently had snow during fall in the climate cycle's hottest year (avg 50F-114F).
☭ Renagade_1 ☭ 13. apr. 2019 kl. 14:07 
mattboesen 14 Mar @ 12:55pm
Request : Any chance you can make the temperate change user-selectable? Personally I find both Cold Snap and Heatwave to be total game hosers, and I'd love to just turn them off (or turn them back so they matter less).

You can disable them.

When starting new game

Click Scenario Editor,
Click Edit Mode,
Click Add Part,
Click Disable Incident,
Scroll to bottom ( on right hand side)
Click Tab next to Disable Incident,
Click Heat Wave,
Click Add Part and repeat for Cold Snap,
Save Scenario and play.
mabo404 14. mar. 2019 kl. 5:55 
Request : Any chance you can make the temperate change user-selectable? Personally I find both Cold Snap and Heatwave to be total game hosers, and I'd love to just turn them off (or turn them back so they matter less).
GameBae 4. feb. 2019 kl. 6:42 
Yup. I add my voice to the suggestions regarding more extreme temps with the possibility of having a special "extreme cold snap " event or maybe add an option to enter custom mid-max temp values. Thanks for the great mod.
Neptimus7 3. feb. 2019 kl. 23:45 
Is there a way to adjust the min/max values?
KAFKA🐰 14. jan. 2019 kl. 0:51 
Thanks for one simple mod that makes the game feels more dynamic. Love it.
Llamageddon 6. nov. 2018 kl. 7:10 
LOL. Logged on to suggest some more randomness or temp setting in options and it looks like I came late to the party. Thanks for this mod. It was a strange oversight in the main game.
MosaPudica 19. okt. 2018 kl. 17:01 
Indeed, played with a bit more today.

https://github.com/WuphonsReach/CauchyQuantile/blob/master/tests/CauchyQuantile.Tests/RimworldUnityExample.cs

That GetOffset() should be drop-in compatible.

Cold snap example:

this.MaxTempOffsetC = GetOffset(-60, -20, -10, 5.0);

Gives values in the range -60C to -10C for the offset, with a peak at -20. 36% of samples are within 2.5C of the peak, 62% are within 5.0C of the peak, 82% are within 10C of the peak. So most of the time you are getting something around -10 to -30 and usually -15 to -25. But anything between -10 and -60 is possible.

I did a 10-count loop because it's possible to get values outside the desired range. So it tries up to ten times with a fallback to the original linear approach. There are ways to adjust the "rho" value to stay within the min/max, but that math eludes me today.

Also works for heat waves:

this.MaxTempOffsetC = GetOffset(10, 20, 60, 5.0);
Stoic Saltine  [ophavsmand] 18. okt. 2018 kl. 1:27 
Updated to version 1.0!

@ScrapyardBob, thanks for all of the information! You can be sure it was helpful if I end up implementing it :)
MosaPudica 16. okt. 2018 kl. 2:56 
Assuming that you have a random function that evenly outputs the range [0.05,0.80] (which is the input), and you want a range of -10 to -60 (width of 50), with a fat peak around -20:

= (-20 - -10) + 7.0 * (TAN(PI() * (input - 0.5))) + -10

Some rough numbers for that gamma (7.0) and random range of [0.05,0.80]:

- Min value is -66C, max value is -10C
- about 85% of the samples fall within the -30 to -10 range
- about 2.9% of the samples are below -50C

Note that as the gamma changes, the input range needs to change as well, unless you calculate multiple random values and only pick those that fall within your chosen range.

There's a link to the Google Sheet in the readme at GitHub under WuphonsReach/CauchyQuantile. The CouchyRandom sheet drives the RandomGraph tab.