RimWorld
Оценок: 67
Custom Climate Cycle
   
Наградить
В избранное
В избранном
Удалить
Mod, 1.0, 1.1, 1.2
Размер файла
Добавлен
Изменён
30.010 KB
16 мар. 2019 г. в 13:03
21 ноя. 2020 г. в 20:23
Обновлений: 7 (просмотреть)

Подпишитесь, чтобы загрузить
Custom Climate Cycle

Описание
Adds a new climate cycle setting allowing customization of every aspect, from period to temperature offsets, plus the ability to set up a runaway scenario. Access it through the new "Custom Climate Cycle" scenario part.

Non-Steam download available here.[github.com]

Why?

This is the more modular spiritual successor to my old Cold Climate Cycle mod from B18. For B19 I used Mehni's Climate Cycle++, which is a good mod but didn't let me have the exact climate cycle I wanted, one with a standard sine wave and overall cooler temperatures but not runaway in either direction.

Variables

Formula:
(Mathf.Sin((GenDate.YearsPassedFloat + (float)ticksOffset / (float)GenDate.TicksPerYear) / PeriodYears * tau) * tempOffsetFactor) + tempOffsetOffset + (xCoeff * GenDate.YearsPassedFloat)

- Period offset: how many years into the cycle the game will be when it starts. Default 0, and can be randomized.
- Period: how many years the cycle takes to go through. Default 4.
- Temperature offset factor: The magnitude of the sine wave. If the temperature offset is 0, this is the maximum variation from normal temperatures. Default 20.
- Temperature offset: Lets you modify the default yearly temperature. Negative values make the whole cycle colder, positive ones make it warmer. Default 0.
- X-coefficient: a modifier which lets you set runaway warming or cooling. Negative values make temperature trend colder over time, positive ones make it trend hotter. Default 0.

Having trouble visualizing your cycle? Try this![www.desmos.com]

Notes
- You need to use the new "Custom climate cycle" scenario part; simply adding a custom climate cycle as a standard game condition will work, but it'll be the same as a normal climate cycle.
- You should be able to layer multiple Custom Climate Cycles to get non-sine behavior if you want to go through the effort, and by zeroing out the temperature offset factor, temperature offset, and x-coefficient you can do things like balance the game's overall temperature (making a warmer or cooler planet) or simply make temperature increase/decrease over time without a cycle.
- No mod compatibility issues are expected; this doesn't modify any base game code.

Credits
- Chinese (Simplified and Traditional) translation provided by 22点下.
Комментариев: 124
Pirate of AE 17 дек. 2022 г. в 16:21 
still works in 1.4 btw
interactivesuccess 27 июл. 2022 г. в 3:26 
hey yall dose this mod still work? thanks
dninemfive  [создатель] 20 янв. 2022 г. в 17:29 
i'm glad!
Aziz 20 янв. 2022 г. в 17:21 
This is what I wanted thank you so much
dninemfive  [создатель] 19 янв. 2022 г. в 10:46 
@Aziz With the current version the temperature only applies on local maps, not the world map, so practically speaking it only applies to your colony. There isn't a specific option for this, however.
Aziz 19 янв. 2022 г. в 8:26 
Can I customize the climate cycle for only my colony, the area my colony in? Or it is only applying for all the planet?
Birds Aren't Real 31 июл. 2021 г. в 15:28 
Hello, when I try adding it in the scenario editor, I do not see an option. I see 2 different "climate cycle" options, but neither of them let me configure anything. Neither of them are called "custom climate cycle."

In what part of the mod list am I supposed to put this in? Willl changing the order fix this?

Birds Aren't Real 31 июл. 2021 г. в 14:45 
Wait, so this might work for 1.3? I did not know this... I hope it does, that would be fantastic.
Birds Aren't Real 31 июл. 2021 г. в 14:44 
I am SUPER glad to find out this mod exists. You are a smart person for thinking of this idea! I hope that it gets updated in the not so distant future. :)
dninemfive  [создатель] 28 июл. 2021 г. в 12:29 
@jupiterLILY Thanks!