Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
*** If you would like to support me and my work you can donate to me here. Thank you! ***
--- Dynamic Weather & Seasons ---
DynamicWeatherAndSeasons is a mod that allows control over the weather and seasons for SPTarkov.
--- Overview ---
- Accelerate the progression of seasons based on the number of raids played.
- Control the weather type(s) that occur during each season.
- Please read the README.md for more information on how to use the mod.
--- Installation Instructions ---
1. Begin by downloading the 'PreyToLive-DynamicWeatherAndSeasons-v1.0.1.zip' file from the provided link or the Github repository.
2. Extract the contents of the downloaded archive. You should now have a folder named 'PreyToLive-DynamicWeatherAndSeasons' containing the mod files.
3. Navigate to the location of your SPTarkov folder on your computer.
4. Inside the SPTarkov folder, find the 'user/mods/' directory.
5. Place the extracted folder containing the mod files into the 'mods' folder within your SPTarkov folder.
-
Version 1.0.2
- PreyToLive
- 1.2k Downloads
--- DYNAMIC WEATHER & SEASONS VERSION 1.0.2 --- COMPATIBLE WITH SPT 3.9 ---
--CHANGELOG-----------------------------------------------------------------------------------------------------------------------------------------
- Linux users should be able to use the mod now without issues.
- Seasons should now consistently update in-game to match what the profile.json shows.
Honestly guys, I'm sorry I've procrastinated on uploading this update for so long. I'm working on a client side mod for it at the moment and been wanting to wait and upload the server/client together. Client will be out soon. Please let me know if any of these issues persist.
-
Version 1.0.1
- PreyToLive
- 12k Downloads
--- DYNAMIC WEATHER & SEASONS VERSION 1.0.1 --- COMPATIBLE WITH SPT 3.9.0 & 3.9.1 ---
--CHANGELOG-----------------------------------------------------------------------------------------------------------------------------------------
- Added an option that randomly selects a season before each raid. See README.md for example.
- Added console logs.
-
Version 1.0.0
- PreyToLive
- 1.4k Downloads
--- DYNAMIC WEATHER & SEASONS VERSION 1.0.0 --- COMPATIBLE WITH SPT 3.9.0 ---
--CHANGELOG-----------------------------------------------------------------------------------------------------------------------------------------
- Accelerate the progression of seasons based on the number of raids played.
- Control the weather type(s) that occur during each season.
campi6277
I noticed that during winter, when snow falls (also inside some buildings) you can actually hear rain sounds and ambience (and in fact the logs says that it's raining and not snowing).
Anyone experiencing this? Is it a BSG bug or something to do with the mod?
AcidMC
Yes, experienced. I noticed it happens about first time in raid in this season or smth. Don't know if it's the mod's issue.
PreyToLive Author
It's a BSG bug.
zeekzag
1.0.2 works like a charm. No problems with seasons so far, thank you!
AcidMC
urmw
TheMutedBalaclava
Thank you for your efforts updating and bringing this to the community! o7
AGX
Hello anyone having issues with it running on Linux. I solved mine by using the following code below. If anyone has further issues please let me know. Everything should work perfectly as it does for me. Thank you for the mod hopefully and update releases soon so no one has to edit their own to work correctly.
FILE IS: sptdir/user/mods/DynamicWeatherAndSeasons/src/DWSMain.TS
PreyToLive Author
Just uploaded v1.0.2. Let me know if you still have any issues.
AdjoiningVariation30
[UPDATED COMMENT]
If anyone has the mod not counting the days increasingly or not changing seasons, please check this quick fix by @AcidMC. I will provide a quick tutorial here, but feel free to check his comment just below for full details! Also below will be another instruction on how to fix if the game season is locked to the IRL date.
FIX - To fix this mod not counting days after each raid / overwriting and reading the same date data:
Navigate to \user\mods\PreyToLive-DynamicWeatherAndSeasons\src\ and locate DWSMain.ts. Inside this file, locate the following 5 lines of code, and move them to the new location as follows:
After moving the 5 lines of code outside of the staticRouter..() (as shown in the image above), the mod should now work perfectly. Thanks for @AcidMC for figuring this fix out!
FIX - SPT locking season to IRL date (how to unlock season, which also disables seasonal events):
A non mod-related problem I had, was that in SPT-internal files, the weather.json in \SPT_Data\Server\configs was always overwriting any mod trying to change the in-game season. After modifying the seasonDates section within this file, mods were now able to change the season perfectly without being overwritten by SPT to the in-real-life season. Here is the full file for easy copy-paste:
After fixing these two issues (mod-related and SPT-internal weather,json), I was now able to have seasons correctly change in-game on the fly without needing to restart the client or server. I hope this helps other people with the same issues.
Also a big thanks to @PreyToLive for creating this mod and @AcidMC for providing a working mod fix!
AcidMC
Howdy partner. Maybe you also have any idea about winter snow causing rain sounds and falling through walls? That I have no idea about xd
P.S. I provided a solution just below on how to fix the mod. What you edited is SPT files themselves. It may work, you may need to do these each time you install/update SPT. Worse yet, who knows if this change breaks anything at all. It may affect some season events or smth..
AdjoiningVariation30
Thanks, I have now UPDATED my comment above. This mod is now perfectly working for me.
My fixed weather.json only modifies the bottom seasonDates part to not overwrite any season-changing mods, and as a byproduct will ignore seasonal events (e.g. christmas, halloween), as this mod is giving SPT the season- and weather-information only, and not specifying any date for SPT to check for events.
As for the snow falling indoors (e.g. ULTRA mall, resort, ..) should that happen, I don't know a fix for that, but I have read in another weather-changing mod's comments section, that a new EFT version broke the snow(-fall) in SPT and they didn't know a fix for it, except for disabling snowfall...
AcidMC
A'ight thx m8
Cheers for more verbose explanation of the fix.
PreyToLive Author
Sorry AcidMC for not responding and thanks to both you and AdjoiningVariation30 for this discovery. I unfortunately haven't had much time to work on keeping my mods updated as I have been busy with work but hopefully if I get a break this weekend and have the nerve to sit down and code I'll try to upload an official update.
AcidMC
No worries m8.
AcidMC
Hello folks!
So I noticed that I seem to have the same problem as others who use this mod: the mod does not update the seasons properly, many claimed they have to reload the game and/or server to make it count the days.
I looked through the code and through the debug messages in console, and think I may have found an issue in it and a solution for it. cc @PreyToLive
I assumed for some reason the mod does not update some values properly. So, whenever the mod tries to update the days/months etc., it does for sure. But I think it does so only 0 or 1 times (based on the values, in fact it does the updates as many times as client/items is called, but value-wise it doesn't), because values for profileDay, profileMonth, profileYear and profileSeason are loaded in a static router registered via staticRouterModService.registerStaticRouter method. And since the require statement for the config file does not import configs after each time the file is enhanced (presumably, I am not sure, but I think it should), the data in question is not updated properly.
I then fiddled a bit with the code, and seems like I managed to fix the problem and make it update the data properly. To do so, I moved file import and profileDay, profileMonth, profileYear and profileSeason definitions outside the static router defined in the mod:
It does not harm the way the mod works: profile.json is now loaded only once and is used only to get the last stored values (values since the last raid before you restart the server). The static router defined in the mod will store new values in the file each time it is called when client/items is invoked. The data will be updated in these variables properly, once a raid is finished, since they are now stored outside of the router's scope, and they are not rewritten by previous values from the file (which, I think, is the root of the issue).
I've set month length to 1 just now, did several test runs and checked the console output as well as the data stored in the file - I think it should be fine now.
I hope I've been of small help fixing that problem, I like the mod, it's a must-have for anybody in my book. Cheers!
Delta
summer is being forced as autumn, maybe its EFT forcing it? Is their a way to override that?
GhostxFx
Seems like a cool mod, but for some reason the day count does not increase at end of raid. It only increases if both server and client is restarted. This is making the season stay forever unless you restart server and client a lot
S_gamez
Hey can i ask if an option to toggle a setting for local date would be possible so if 26.06.2024 IRL then "sep" would be set in game? That would also disable conflicting settings this might be one: ("monthDurationInRaids": 30,)
basically what live does as I've heard is default now.
dotman
What to do if the mode does not work among players of version 3.9.8
1. Enter AllTheSeasons file
2. Enter package.json file
3. "sptVersion": "^3.9.x",= "sptVersion": "^3.9.8", save changes and run
PhoEniXxXx
Doesn't work for me, are you sure?
UPD: Nvm, thought its for this mod, sorry
dotman
After I changed it, it didn't apply right away. Instead, check that the weather changed after the mode name on the server and it was applied.
rgrbeattie
Love this mod, its just turned Autum for me and its how Tarkov should of been from the start dreary and grey with some winter sun shine. Also works well with the film reshade
mikewill2525
hello wont work for me...it is always sunny whether i use this mod or not any help?
Jayhawker32
He'll have to update it. It's so far only compatible with 3.9.4 and earlier
Mustang
I see you say you're updating it. Just wanted to say thanks for all the great mods you make! SPT isn't the same without some PreyToLive mods added
privateryan
Doesn't work on linux at all. No settings changed, tried reinstalling
PreyToLive Author
I'll be updating soon.
MrBox15
Hey! You probably heard about it but im also stuck in winter/autumn. The only setting I changed was "monthDurationInRaids": 4, Im on the latest spt version (3.9.5) and on your latest mod version. I have the same problem as campi6277. The season start at summer but after few raid it switch to winter and stay in winter. I have over 70 raid played and only the first 10 raid was in summer,
The profile.json seem to be stuck at 1 february 2025
Jayhawker32
It would appear to be some sort of incompatibility with later SPT updates.
PreyToLive Author
Yes it needs to be updated. Working on it atm.
Wilihey
im getting snow inside buildings like any building on reserve has snow falling inside and inside every building the ground is white with snow, its very strange
PreyToLive Author
this just turns on/off the seasons and weather. nothing i can really do about BSGs bugged seasons and weather
campi6277
I don't know why the weather is stuck always in autumn/early winter.
Even if the console log shows it's loading summer weather (also in the profile.json is set to summer) raids are still set in autumn with bare trees (but outside the map they are green), a bit of snow here and there.
This is the only weather mod I have. I can't figure out why my weather/season system is broken.
PreyToLive Author
did you change any of the settings in the mod? what spt version are you using?
campi6277
I think I fixed it by manually deleting the SPT cache and profile files, and also by editing the "profile.json" in this mod's folder setting "1", "July" and "summer" and empty fields in weather variables.
Now it seems it works well, even if there is a difference between console logs and actual weather (sometimes it says "clear sky, no wind", but it's raining with medium strong wind)
lzjzzz
Here is the fix: https://github.com/NEWBR33D/DynamicWeatherAndSeasons/pull/1
Gintaras
Hi, I downloaded your mod, but the seasons don't change.
UselessAqua
By default 10 raids equal to 1 month passed.
You can change that inside the config file. The config file is here:
..\SPT\user\mods\PreyToLive-DynamicWeatherAndSeasons\config
Swordsman
Does this get rid of the snow? Because at this point I'm so sick of it lol.
PreyToLive Author
If you don't want snow then set the seasons to anything but winter.
geo2161
Если кто то зашел сюда для того что бы поменять время года, не морочьте себе мозги с модами.
В файле .....\SPT\SPT_Data\Server\configs\weather поменяйте диапазон месяцов для нужного вам сезона, что бы тот месяц который сейчас ИРЛ попадал на нужный вам сезон
PreyToLive Author
Mhm.
Fegeer
Just curious, does the game have autumn now? I thought it was only winter, spring, and summer (vanilla)
"january": "winter",
"february": "winter",
"march": "spring",
"april": "spring",
"may": "spring",
"june": "summer",
"july": "summer",
"august": "summer",
"september": "autumn",
"october": "autumn",
"november": "autumn",
"december": "winter"
m4rtin
It doesn't seem to work for me, im not sure why but mine seems to be coded to look in the wrong directory for the profile json?
Error in [DynamicWeatherAndSeasons] /client/items: ENOENT: no such file or directory, open 'user/mods/db/profile.json'
If i copy the db folder out and into the user/mods folder as noted above, the error goes away but it also doesnt seem to work properly.
Icoryx
Are you running your server on linux? I have the same issue and have a feeling that it might have something to do with the linux paths but couldn't find a way to fix it
m4rtin
yup. Im trying a different seasons mod now though will see how it goes.
recul
How does it work which key opens the menu?
Verity158
Very nice for me 2-3raids for 1months seems a good balance.
would it be possible to integrade the seasonal events like the gifter?
///
-how does the events actually work in vanilla spt? with my local-pc-dates?
cadsarm
how does winter work? Is it like normal? Does anything important happen?
GOODYOB
Is the winter custom made? It doesn't look like the "vanilla" winter. Land isn't quite cowered in snow, no snow crunch and it also snows inside buildings
DizzilyHQ
Is there any chance to sync the weather with my friends so we have the same weather? atm we have different seasons every raid when set on random
otherwise insane mod i really love it 10/10
HXLLSXNT
Need this fr
Nyarc
Hi, wanted to check with you if the mod core code works like this so you can mark it as compatible with SAIN ?
CwHedgehog
Do you have a winter map? For example, snow
Sir Ian
You make some banger mods, was waiting for someone to allow something like this, awesome!
Thanks