Timberborn

Timberborn

68 ratings
Moddable Weather [U7 ✅]
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
2.954 MB
Jun 4 @ 12:44am
Aug 8 @ 11:36pm
11 Change Notes ( view )

Subscribe to download
Moddable Weather [U7 ✅]

In 2 collections by Luke ✞ Jesus Saves ✞
U7 Compatible Mods (My mods only)
85 items
Moddable Weathers
4 items
Description
An overhaul for the Weather system in Timberborn! This mod adds a flexible weather system that lets modders easily create new weather types. Meanwhile, you as a player can easily choose and configure your weather settings as well!

Brand new weathers!

Come with this mods is a set of new weather types that can be configured in the mod settings, including the three original weathers from the game. You can choose to enable or disable any of them, and even change their durations and probabilities.

Note: By default the new weathers are disabled. You can configure them in the Main Menu > Mods > Settings button next to the mod name.

Tip: Use TImprove 4 Mods to make the setting box taller.

  • Rain (Temperate)
    Shorter than a typical temperate season. Great for crops and also come with fancy effect!
    Effect: All tiles are watered and no land contamination occurs. Rain also applies to Wet Fur when Beavers are not in the buildings. 25% shorter than the usual temperate reason (configurable).
    Note: if you encounter performance issues, you can disable the rain effect in the mod settings.

  • Disappointingly Short Temperate (Temperate)
    An extremely brief temperate period, showing up only after cycle 10. Sandwiched between two hazardous weather - a real test of your colony's recovery skills!
    Effect: a very short Temperate season so you will need to deal with two hazardous seasons in a row.

  • Progressively Shortening Temperate (Temperate)
    This weather is intended to be the replacement for the original temperate weather, where the duration of the temperate season progressively shortens over time. It starts with a full temperate season, but with each cycle, it gets shorter. You should disable the original temperate weather if you want to use this one.
    Effect: a Temperate season that starts like the game's normal one but it gets shorter and shorter.

  • Monsoon (Hazardous)
    All water sources surge, increasing their output to up to 350% (handicap applies). Expect major floods - try to stay afloat or get liquidated!
    Effect: All water sources increase their output, at 350% (or configurable) maximum.

  • Surprisingly Refreshing ("Hazardous")
    Feeling under the weather? This rare, pleasant though short surprise lets all water sources provide perfectly fresh water (no contamination), even from the dirtiest sources. Enjoy it while it lasts!
    Effect: No bad effect. All water sources produce fresh water.

Settings

Note: These settings override the setting you set when starting the game (difficulty). Please change these settings instead.

For each weather type, you can configure the following settings:
  • Enabled: Toggle the weather on or off.
  • Start cycle: The cycle when this weather can start to occur. For example, if you set it to 10, the weather will not appear before cycle 10.
  • Chance: The chance of this weather occurring in a cycle. This is not exactly a percentage since there are multiple weathers "fighting" for the same cycle, it's actually a weight. For example, if you set Temperate to 100 and Rain to 50, then Temperate has twice the chance of occurring than Rain (66.67% vs 33.33%).
  • Min/Max Days: How many days this weather can last. Handicap applied (see below).
  • Handicap: Defined by Handicap Percentage and Handicap Cycles. At the first time this weather occurs, the days are multiplied by the Handicap Percentage. It could be < 100% to make the weather last shorter, or > 100% to make it last longer. The percentage moves towards 100% every cycle, and after the Handicap Cycles it will be 100%. For example, Progressively Shortening Temperate uses this to start with a full temperate season and then shorten it every cycle.

On some weathers, difficulty is also provided as a template (they are just convenient buttons to set numbers to certain values). Most of them in this mod are pulled from the game's default. Due to technical limitation, right now clicking a button jumps the scroll to top.

You can also Export and Import setting profiles by clicking the buttons on the top.

Single Weather mode

In this mode, each cycle will only have one kind of weather: Temperate or Hazardous. This blurs the difference between the two weather types.

You can enable this mode in the Settings:

- Enable Single Weather mode: Each cycle may have a chance to only have one kind of weather.
- Single Weather start cycle: The minimum cycle that single weather can occur.
- Single Weather chance: The chance of single weather occurring.
- Single Weather Temperate chance: When single weather occurs, this is the chance that it will be Temperate weather (else, it will be Hazardous weather).

Note:
- Your weather forecast won't work when Single weather occurs.
- You can set any chance to 100% if you are up for a challenge.
- Weather types are still chosen normally between all enabled types.
- These settings are imported/exported when you use the profile feature.

For modders:

You can check the documentation (placeholder, docs incoming) or the mod's source code to see how to create your own weather types. The project source is on GitHub[github.com]. Check out the Weathers folder and Blueprints\ModdedWeatherSpec for the details.

Troubleshooting

Please disable this mod to use Map Editor. It is not compatible with it.

If your game crashes, please check the log and see if it contains "IgorZ.Automation" (Automation mod) or "Jeferson90.ProgressiveDifficulty" (Progressive difficulty mod). Those mods are not compatible for now. Automation mod has a fix on Discord apparently but not updated on Steam.

If you need any help or feedback, you can leave a comment or Discord: https://discord.com/channels/558398674389172225/1379728375396040806

===
Mod source code and donation: https://github.com/datvm/TimberbornMods/tree/master/ModdableWeather

v7.1.3: Each weather setting now has a description in the settings dialog.
v7.1.1: Fixed Single Weather mode does not honor "Start Cycle" option.
v7.1.0: Added "Single Weather mode".
v7.0.6: Should™️probably fix Timberlapse crash and Harmony crash.
v7.0.5: Chance setting is now a number input box instead of Slider. Fixed Monsoon default chance was 0 (now 40), this should not affect you if you changed the value. Added Dev command for diagnosing any weather issue.
v7.0.4: Added Settings Import/Export.
v7.0.3: Added Difficulty settings.
v7.0.2: Should™️ fix a crash when Rain season ends/starts. Thanks @Noxbestia for the report.
v7.0.1: Rain now also applies to Wet Fur when Beavers are not in the buildings. Idea credit: @Jotunbane
Popular Discussions View All (5)
4
Jul 14 @ 1:44pm
crashes on old maps
danger nothing
6
Jun 26 @ 6:41am
Crash Report - End of Rain
Andi
3
Jun 6 @ 10:35am
unknown hazardous weather - badtide
OUTTATIME88
99 Comments
Imricdaelf120741 8 hours ago 
Am I just unlucky with the lengths of the seasons consistently above the average? I'll keep fiddling with the settings but most of the droughts (even the first ones) have been much too long (at the higher end of whatever settings I had used).
Overall I'm happy with the mod, it's fun and pretty varied.
Luke ✞ Jesus Saves ✞  [author] Aug 20 @ 2:50pm 
That's strange but I have heard a similar report before. In the end we couldn't find out what was causing the issue. Do you happen to have something blocking Windows' registry (if you are on Windows)? The settings are stored there by Unity. You can check "HKEY_CURRENT_USER\Software\Mechanistry\Timberborn" and see if the setting is correctly saved.
T.Hybrid21 Aug 20 @ 11:53am 
I'm not in the discord but also it's not-- the initial import works fine. What happens is I import the exported JSON, it looks like it's imported and set correctly, but then I close the settings/go into my save, and it's just put them back to last settings they were manually put to.

I don't know if looking at the export would change anything about that. (Also sorry took me a while to reply r i p).
Akinare Aug 9 @ 12:06am 
@Luke oh, that's great, thx! : )
Luke ✞ Jesus Saves ✞  [author] Aug 8 @ 11:37pm 
@Akinare so I happen to have a look at your I18n mod and now I understand what you meant. With v7.1.3 update, each weather now has their own description text/key so you don't have to put them all together anymore :) All related mods are updated as well.
Luke ✞ Jesus Saves ✞  [author] Aug 8 @ 11:02pm 
I just tested, the function still works on my side. Could you send me the file you exported please? Thanks!
Luke ✞ Jesus Saves ✞  [author] Aug 5 @ 8:32pm 
Oh... I hope there is nothing I update that broke the Import/Export function. It's been a while since I touched it so I don't actually test that function everytime I make an update. Could be related to a recent update of Mod Settings. If you are in Discord, could you send me the exported JSON file please? I will investigate in case it only happens to you.
T.Hybrid21 Aug 5 @ 1:26am 
For some reason when I import settings for this, it just resets back to whatever settings I manually set them to before. Which means no easy just import to swap my settings between certain saves. Very fun though. Just an annoying thing I've noticed.
Luke ✞ Jesus Saves ✞  [author] Aug 1 @ 2:12pm 
Glad you enjoy it. That's why there is a "Start Cycle" option for Single Weather mode. Make sure you are prepared by then ;)
Seraphin Aug 1 @ 2:06pm 
So, as I happened to get two droughts and even a bad tide in a row recently without any fresh water inbetween, I'd really like to say thank you again for Single Weather Mode. It's very enjoyable to survive that one and it gives a reason to prepare very well ... though it would have killed my settlement in an early game stage for sure. :-D

The only sad thing was to see the last surviving trees outside the reach of my reservoirs to finally die out. :-( ... but also the reason to expand them further to regrow them. :-D