
An attempt at creating a comprehensive weather and season mod for SPT.
Now with 100% more 3.11 compatibility.
UPDATE: The 3.11 version is the most up to date version of the mod. To get the 3.10.5 version you must select it in the versions tab. Functionality is identical currently, only things changed are what was needed to make the mod compatible with 3.11.
Tired of having to wait for days and weeks to pass for the changing of the seasons? Tired of a lack of variety in the weather of Tarkov? Well look no further! With Tarkov Weather System you will get both a configurable passage of seasons, experience them as quickly or slowly as you desire. You will also get custom weather with different probabilities for each season, also highly configurable.
Each season has a time limit measured in real world minutes, and the mod remembers what was the last season and how long it has been sense it started. The same can be said about the weather of the mod. Both of these values can be configured, your seasons and chosen weather can last as long as you want.
Tarkov Weather System includes a custom chatbot, the Tarkov Weather Service, that can be interacted with to get the current weather and season. Also this chatbot allows you to force whatever season and weather you want while in game. This integrates seamlessly with the rest of the mod and allows you to skip weather or seasons in game whenever you want.
The default configuration of the mod reflects a 7 day year for the passage of the seasons. Weather by default lasts between 30 to 180 minutes. The reasoning for the weather time frame is that a full 24 hours of ingame time of Tarkov lasts just under 3 real world hours. The weather is chosen at random, so it is entirely possible to have multiple repeats currently of the weather.
You can disable the mod at anytime, or just use part of it, want the seasons, but not the weather changes? Can do! Vise verses? Sure why not! Want summer to never end? Can do!
This is not quiet a 1.0 release as I still want to make a few additions and I’m sure I can still slim down the code.
Possible problems:
- The chatbot has not been fully configured to work if either seasons or the weather parts of the mod are disabled, it may produce errors if you attempt to get the weather forecast if you have either disabled in the config. But if you chose to force either season or weather, there should be a check for that. This has now been fixed.
Future plans:
-
I plan to find out if there is a difference between winter_late and winter_early in the game. As the season mod I originally started to modify for this project did not note a difference. And every other season mod I looked at did not either. After a short look it doesn’t look like there is much difference other than the plants having a white filter applied to them. And I do remember seeing a difference in my raids without specifying so the game must be picking winter_start vs winter_end by itself. I might revisit this later.
-
The mod currently does not use the ‘storm’ season. The reason for that is once again the seasons mod I started from stated the season was broken, for whatever reason. I need to look into it as I would like to use it to separate summer into a earlier mostly dry season, and a late summer/stormy wet late season before autumn.
-
I want to add some character to the chatbot, right now its function over form, I would like to change that in the future.
-
While the chatbot can tell you the current weather and season, it currently doesn’t tell you how long they will last. I want to change that so the player has an idea of it. It should now tell you how much time is left!
-
I’m open to suggestions for different weather types people would like to see in the mod. Suggest away.
-
Currently the mod is only tested and built using 3.10.5, I do plan to update it for 3.11, but I do not have that version installed. I’m currently waiting on a few more mods to update before I make the move. But I will get 3.11 installed soonish to work on it. Now on 3.11!
config example.
{ “enable”: true, “enableSeasons”: true, “enableWeather”: true, “foreverSummer”: false, “endlessWinter”: false, “enableChatbot”: true, “seasonLength”: { “SUMMER”: 2520, “AUTUMN”: 1680, “WINTER”: 2520, “SPRING”: 1680, “AUTUMN_LATE”: 840, “SPRING_EARLY”: 840 }, “minWeatherDuration”: 30, “maxWeatherDuration”: 180, “resetWeather”: false, “debugEnable”: false, “consoleMessages”: false } enable = turns the mod on or off.
enableSeasons = Turns the seasons portion of the mod on or off.
enableWeather = Turns the weather portion of the mod on or off.
foreverSummer = Sets the season to a permanent summer.
endlessWinter = Sets the season to a permanent winter.
enableChatbot = The chatbot can now be disabled if you don’t want it.
seasonLength = These values are set in minutes, real world. The default values for the mod set the year to a 7 day cycle. A value of 0 should work, but I have not tested it.
minWeatherDuration = This value is in minutes, sets the minimum duration of any weather that the mod sets.
maxWeatherDuration = This value is in minutes, sets the maximum duration of any weather that the mod sets.
Both of these values can be set to pretty much anything you want. If you enter a negative number or make the min larger than the max a default value of 30 and 120 will be applied respectively. It will also produce an error message in the console telling you that it has happened.
resetWeather = This is probably defunct but it sets the weather to default spt profile. Its more for testing purposes than anything else.
debugEnable = Causes the mod to check the weather and season every time the launcher sends a message to the server, might cause some lag if you leave it enabled long term, once again, mostly for testing purposes.
consoleMessages = This setting turned on will cause the mod to write each check and change of weather/season to the server console. Currently the only way to see the duration of any weather or season left without having to go look at the mods db files. Without debugEnabled, it only does the checks when first logging on, when logging out and at the end of matchs.
Weather config example.
{ “A_Stormy”: 15, “A_Foggy”: 20, “A_Windy”: 25, “A_Misty”: 20, “A_SunFog”: 10, “A_Sunny”: 15, “A_FStorm”: 10 } This is the weather config for autumn, but all of them look the same. A higher weight equals a larger chance to be chosen.
The weather uses a weighted choice, so you can place your desired weather at a higher chance. Only use positive values, including 0 should work. The mod will apply a default value of 20 for each weather type if negative numbers are used. A console error message will tell you what has happened.
Stormy = Heavy rain or snow depending on the season.
Foggy = Overcast with light to heavy fog.
Windy = Can be overcast or sunny, possibly light rain, but the main defining feature is that its very windy.
Misty = Overcast with light to heavy fog and light rain.
SunFog = Clear sky with medium to heavy fog.
Sunny = Clear sky, no rain, no fog, light to medium wind.
FStorm = Heavy fog with heavy rain or snow depending on the season.
FStorm/Blizzard gets pretty nuts on a night raid with pmcs and scavs fading in and out of the fog. Forget sniping in heavy fog.
Head weatherman Bolt Lightning is the number one weatherman left in Tarkov once it was cut off. He’s here to help keep you aware of the current weather.
List of commands that can be used with the chatbot, if your command is not listed, the chatbot will simply return this list of commands:
SPT 3.11.3
11 Downloads
Fix for fog related error.
Added in error checking for weather weights. Now the mod will select a default weight if the user provided one is out of bounds.
Added in error checking for weather duration. Now the mod will select a default duration if the user provided one is out of bounds.
Both of these errors will produce a console message telling the user what has happened.
Unknown SPT Version
177 Downloads
Fix for fog related error. Apologies. This is a new fixed version. Looks like I had missed two zero values in the weather file.
Added in error checking for weather weights. Now the mod will select a default weight if the user provided one is out of bounds.
Added in error checking for weather duration. Now the mod will select a default duration if the user provided one is out of bounds.
Both of these errors will produce a console message telling the user what has happened.
Unknown SPT Version
0 Downloads
Hopefully final fix for fog related but. Have set the minimum to be at least 0.0013.
Unknown SPT Version
0 Downloads
Hopefully final fix for fog related but. Have set the minimum to be at least 0.0013.
SPT 3.11.3
13 Downloads
Added checks to the chatbot for whether or not weather or seasons are enabled when interacting with him, should not error anymore.
Slimmed down the chatbot responses code by just a little bit.
Removed the 'Force Blizzard' command as its redundant because the 'Force Foggy Stormy' does the same thing.
The forecast command was updated with time remaining for season and weather.
Added an option in the config to disable the chatbot if you really don't want it.
Unknown SPT Version
256 Downloads
Added checks to the chatbot for whether or not weather or seasons are enabled when interacting with him, should not error anymore.
Slimmed down the chatbot responses code by just a little bit.
Removed the 'Force Blizzard' command as its redundant because the 'Force Foggy Stormy' does the same thing.
The forecast command was updated with time remaining for season and weather.
Added an option in the config to disable the chatbot if you really don't want it.
Not quite yet...
Details
-
License
-
Source Code
-
Latest Version VirusTotal Result
https://www.virustotal.com/gui/url/2bcfdca5fda6351872f280876179ada8c85e3188ceb717fb29301e8727fc12f9