RimWorld
202 人が評価
WeatherControl
2
2
   
アワード
お気に入り
お気に入り
お気に入りから削除
Mod, 1.4, 1.5, 1.6
ファイルサイズ
投稿日
更新日
1.264 MB
2023年10月7日 2時24分
8月12日 13時11分
12 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
WeatherControl

解説
A RimWorld mod to control and inspect various convoluted mechanics regarding weather.

Features
- Configure a biomes weathers and their commonality within that biome
- Configure the duration range for weather
- Wind sock building to display current wind speed
- Weather station building to display various weather information

How Commonality works
In the game the WeatherManager is responsible for determining the next weather. It does so by taking all the weathers available for the current biome of the map and summing up all the commonalities of the weathers to select a random one by weight. Meaning a weather with a high commonality such as Clear has a higher chance of being picked. This mod lets you play with those values to change a given biomes commonalities and change the cocktail of weather frequencies.

Buildings
The buildings present some mildly interesting internal values of the weather system.
To build weather stations you must first complete the matching research (after Microelectronics).
The buildings have little "purpose" and are mostly neat flavor and can be used as functional decoration.

Safety
It is safe to add or remove new biomes or weathers while WeatherControl is installed, it will automatically pick up on any changes and present options on how to resolve issues.
However, installing new biomes mid-playthrough WILL break your game. This is base-game behaviour and will not be fixed by this mod.

Afterword
This mod is mostly a convenience tool, everything regarding commonalities in this mod does can be done via PatchOperation modding - but it offers some visual aid to understand the values that you tweak.
人気スレッド 全て表示 (1)
2
1月12日 6時38分
Error with Better Loading mod [FIXED]
Johnny
91 件のコメント
qux 8月21日 9時39分 
Hi, sorry to disturb you again but same problem about techlevel for Wind sock
Valentine 8月12日 15時41分 
Thank you mod maker for your response and your attempts to fix the issue, your work is most appreciated.
NightmareCorporation  [作成者] 8月12日 13時11分 
@Valentine
I have rewritten the patch into a Transpiler because it doesn't seem to play well with performance as a Postfix. It still has the added safeguards because I really don't want to bork peoples games with potential unhandled exceptions - even though there have never been reports, can never be too careful with the weather system.
NightmareCorporation  [作成者] 8月12日 4時22分 
@Valentine
Ah, very true. That paragraph was from back when all this mod did was change commonalities. Offsets were a later addition. I will be changing the description and also trying to fix the performance hit you have pointed out as I can reproduce it.

It seems like the alert for colonist clothing is calling the temperature on the current map every single UI draw, causing the slowdown. I used very "safe" approaches to the patches (try-catching), which incurs a minor performance penalty for the sake of preventing possible issues from breaking the game.
Valentine 8月11日 17時54分 
Dear mod maker. The description of your mod claims it has no performance impact and uses no Harmony patches yet in Dubs' Performance Analyzer this is my biggest draining Harmony patch causing a constant minimum performance hit of 0.100ms but with a max spike of up to 50ms from "WeatherControl.Patches.Patch_Temperature:AddSeasonOffsetFromTemperatureControl"

Granted this is in a full modlist and from other's testing it does not cause almost any performance hit if it's just by itself but it clearly doesn't play nice with other mods and it goes against the claims of the description that this doesn't use Harmony patches which is false and misleading.

Kind regards from yours truly.
Senor Smoke 8月11日 1時09分 
oh thank god for this mod.
i hate the winter "mandatory starvation arc" every year, and i hate that setting the heat setting up by 1 tick to turn off winter makes the map 150 degrees celcius all year long & your colonists drop dead just from opening the front door with no in-between
Thunderbird 8月10日 19時57分 
You did an awesome work on UI, and it's a great mod idea. Shame on me to discover this jewel right now. Thanks for the hard work !
< blank > 8月8日 23時13分 
Could you add an option for temperature control so that it sets the temperature to a specified value rather than combining it with the existing local temperature? I have a target temperature in mind, but it’s very difficult to calculate it when it’s added to the current temperature.
(I apologize if my English is rude or incorrect. I’m using a translator.)
NightmareCorporation  [作成者] 8月8日 0時04分 
@infinite-jewery
Kinda. Pocket maps have their own weather def, so you can define their weather. I know for certain that the Obelisk Labyrinth uses "Labyrinth" and the insect and fleshbeast hives use "Undercave".
cckcckcc 8月7日 20時27分 
Does this work on pocket maps?