Timberborn

Timberborn

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

Subscribe to download
Moddable Weather [U7 ✅]

In 2 collections by Luke ✞ Jesus Saves ✞
U7 Compatible Mods (My mods only)
75 items
Moddable Weathers
2 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 (5)
4
14 Jul @ 1:44pm
crashes on old maps
danger nothing
6
26 Jun @ 6:41am
Crash Report - End of Rain
Andi
3
6 Jun @ 10:35am
unknown hazardous weather - badtide
OUTTATIME88
89 Comments
Commander Snake9 20 Jul @ 12:51pm 
ok thanks
Luke ✞ Jesus Saves ✞  [author] 19 Jul @ 9:40pm 
Yes, options are applied globally and not per-save. However weather is already decided one cycle ahead so changing it won't apply until the next season (and in some case, even the following one).
Commander Snake9 19 Jul @ 9:29pm 
can there be or is there a option to edit the weather after the save is created
Luke ✞ Jesus Saves ✞  [author] 19 Jul @ 8:59pm 
Modders can choose whatever text they want for each option (like Enable <weather name>), it's just the default ones I provided uses the template to reduce repetition and faster development.
Akinare 17 Jul @ 6:31am 
A little suggestion: could you separate LV.MW.EnableWeather into individual IDs for each weather? This would help with defining custom weather in the MOD. (or add a tip after title of new weather?)
Luke ✞ Jesus Saves ✞  [author] 9 Jul @ 12:58am 
> max strength of water source is 8

Yes this is correct, game's cap in the code. You can intervene with certain tools to remove the cap but normally, 8 is what you can get. I think because if the water is > 8, there's not enough flow for it to flow out and cause weird looking water column. Bad Water Source has 9 tiles so way more space.
Akinare 8 Jul @ 9:12am 
Hi, I have tried different values for the Monsoon maximum multiplier, but max strength of water source is 8, while badwater source is basic + multiplier. Do I miss sth? And if someone has asked this question, please tell me : )
Mathessobe 6 Jul @ 4:29pm 
Ok, thanks :)
Luke ✞ Jesus Saves ✞  [author] 6 Jul @ 4:23pm 
Yeah you may need to ask that on Discord I think (on the official Timberborn discord there is #mod-creators channel), easier to discuss than on Steam comments.
Mathessobe 6 Jul @ 4:16pm 
I am trying to create and run a modified version of the mod where the weather progress bar isn't reversed