Timberborn

Timberborn

49 ratings
Moddable Weather [U7 ✅]
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
2.949 MB
Jun 4 @ 12:44am
Jun 13 @ 7:31pm
9 Change Notes ( view )

Subscribe to download
Moddable Weather [U7 ✅]

In 1 collection by Luke ✞ Jesus Saves ✞
U7 Compatible Mods (My mods only)
67 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.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 (4)
1
Jun 17 @ 12:05pm
Possibly Incompatible with Automation mod
NoOne_ReaVen
3
Jun 6 @ 10:35am
unknown hazardous weather - badtide
OUTTATIME88
3
Jun 5 @ 10:41pm
Crash Report - End of Rain
Andi
58 Comments
Vas Jun 16 @ 5:47am 
Well, certainly makes it impossible to succeed, I mean early game on hard difficulty you barely get by. Having two 15 day droughts in a row when you couldn't possibly have gotten enough material to build up and save does make it impossible. I disabled the double weather thing though since it results in completely impossible scenarios. Its only for late game risk taking.
Luke ✞ Jesus Saves ✞  [author] Jun 15 @ 9:46pm 
"Two droughts in a row" - this is exactly what it's supposed to do. You had two cycles of hazardous-only weather.
Vas Jun 15 @ 12:14am 
It might have just been because of the current weather at the time of loading. Might have taken 2 cycles to fully take effect when I disabled the Single Weather mode. I'm not sure what happened there, so I'd have to restart to figure it out if its working and stuff. Just leaving an extra message here on my thoughts when I continued for a while.
Vas Jun 14 @ 9:20pm 
Its still not honoring single weather mode, and its become a problem even so. Two droughts in a row with no water at all, it killed my colony.

Single Weather mode would be nice if it could ensure that no-water events cannot run concurrently. I'm gonna disable single weather now and revert to an earlier save.
Luke ✞ Jesus Saves ✞  [author] Jun 13 @ 7:32pm 
v7.1.1: Fixed Single Weather mode does not honor "Start Cycle" option.

I forgot to mention the other part, you are right that the Start Cycle was ignored. I fixed it, thanks.
Vas Jun 13 @ 7:28pm 
Well, I finally got a Drought on the third cycle. I think the setting that checks for minimum start cycle for single weather might not be checked. Game crashed though so I gave up for now, Automation is kind of a required mod and it crashes with this.
https://pastebin.com/ukypZvY5
If you want the crash log for that. I posted it on Automation's page.
Luke ✞ Jesus Saves ✞  [author] Jun 13 @ 7:22pm 
If you have More Mod Log, you can check the log to see how the weathers are picked.
Vas Jun 13 @ 6:55pm 
Hmm, I can't get anything but Rain now. Cycle 1, solid rain, Cycle 2, rain starts. Cycle 3, rain starts.

Single Weather Start Cycle 5 (But it already began at 0) with 50% chance and 50% Temperate.
Temperate and Rain enabled below both with 100% chance.
Drought 80% chance
Bad Tide disabled
Monsoon 20% chance

Started game with Bad Tide and Drought Disabled as I assumed this mod would take over and overwrite that.
Vas Jun 13 @ 6:11pm 
For your new Single Weather, would there be a way to adjust it so that every cycle is guaranteed to have at least one weather that produces water? So like the two weather thing where you get a period of water and then bad, but the entire cycle would be temperate or rain, while the next cycle would be one of the bad things? I think that'd be interesting. I'll try out the current settings though and see what happens.
Luke ✞ Jesus Saves ✞  [author] Jun 13 @ 11:27am 
v7.1.0: Added "Single Weather mode".

This is actually a huge change to the system. I tried to add some compatibility support for previous saves but if you have any issue after the update please send me a message in the Discussion or Discord. Thanks!