Choose the weather 6.4.1

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Choose from the list the weather you want

Choose the weather


Choose from the list the weather you want. If you want your own weather setting then please choose 'custom' from the list and then modify the settings to your liking



How to install:

- download the zip file

- extract the zip file

- put the extracted folder into user/mods

- play


UPDATE (v4.0):

Remove senko-modapi dependency

Refactor the code and make static with a different approach to generating the weather


UPDATE (v3.0):

This mod now relies on Senko mod api to load as last mod in the list to avoid other mods overriding weather data


UPDATE (v2.0):

The mod is completely rewritten. What changed?

The custom setting to set your own weather has been moved to weatherSets.json, so please copy your custom settings values there for it to work on version 2

config.json now has 2 new options, "random" and "overrides"

random: select a random weather each time you go into a raid

overrides: override weather settings to stay always the same values across all weather sets



If you decided to make your own custom weather settings then please choose values between min and max for each weather config part.



Please try to follow the value types as you see them in the list below meaning if the min/max values have a decimal point then try to keep those numbers behind the dot and if the min/max values don't have numbers after the dot then you don't have to add anything


Code
"cloud": { "min": -1.5, "max": 1.5 }, "wind_speed": { "min": 0, "max": 3 }, "wind_direction": { "min": 0, "max": 3 }, "wind_gustiness": { "min": 0, "max": 1 }, "rain": { "min": 1, "max": 4 }, "rain_intensity": { "min": 0.1, "max": 1 }, "fog": { "min": 0.002, "max": 0.15 // very heavy fog => you can't see shit }, "temp": { "min": 0, "max": 16 }, "pressure": { "min": 760, "max": 764 }
  • This one makes forever rain..

  • This mod seems to mess with the time of the game. Ive been testing my raids with it and you can load into your FIRST raid at day time and its fine but the next raid is night time even if you select to go in at a day time selection. it seems to just swap the timeframe around after the first raid. upon restarting the client it resets for the first raid after restart and the next raid is night time. No idea why or if its been reported before but I figured id post here to be sure.

  • Does not seem to work, I set it so the only weatherType is "stormy" and weather is "stormy" and overrides has "rain": 4 but it's still not raining

  • I noticed that every time after going to Factory the mod stops working as it should

    • Explain pls!

      Also, Factory is different than the rest of the maps

    • I go to factory then all my raids even if i choose daytime begins in the night

  • I hope this gets updated to 3.5.5 I'm not really sure why these mods don't work with the new version other than they changed some gclass variables but I'm unsure of how to get this to work again any chance this will be updated? Random weather is a HUGE must for me.

  • Perfect mod, exactly what I needed. I had chatGPT generate me a few new random weather templates. added much needed variety to the raids. Thankyou

    ? 1
  • The weather during installation is clear and sunny.

    But after a couple of sessions, I choose the daytime, the night starts for me. Day starts at night. Fixed by restarting the game.

    Happy 1
    • Did it fixed the weather not starting sunny too? Or just day/night fix?

    • The weather is clear, but starting in the daytime, the map will show night.

  • It doesn't seems to work for me . In the config I have it set as "sunny" but it doesn't start the day as sunny .... The raid time works tho . It always starts at 12 and i don't know what to do . I wish I had a menu to select my weather in-raid . I am using 3.5.0

    • Unfortunately, this is a bug that seems to happens to some people and I have no idea what cause it.

      If you have other mods you are using with this mod please tell me so I can check again

    • CWS - Masterkey

      Drewgamer-FactionIdentifierArmbands

      Faupi-MunitionsExpert

      Platinum-EyesOfATrader

      Platinum-TheBlacklist

      Refringe-CustomCameraRecoil

      Revingly-BiggerKeytool

      Revingly-ChooseTheWeather

      ServerValueModifier


      This is my mods list

  • This is great. Can you add a setting for the time too? For example, I want to play always at 1 PM. So I have good visibility. It could be great if you can add something for this.

    • There is a setting for that in this mod, I think right now I set the time to always to 12am, 12pm for both timers.

      I'll make customizable if that's what you're asking

    • I didn't even realise that. Is it starting the raids always on 12 AM/PM by default with that setting?


      Edit: Also I want to ask; I can't get rid of the wind noise. Is it something default by game? I was using another weather tool and setting wind to 0. But wasn't working while using that tool neither while using yours too.

  • Do the bots actually react different in different weather (like visual ranges), or is this purely "cosmetic" and player-affecting? :)

    • This is supposed to be just a cosmetic.

      I'm not sure if the bots are affected or not, but supposedly they should have good vision on a sunny day and bad vision on stormy day

    • Roger that, cheers. I'll test it and see what happens. 😅

  • Waiting for 3.2.4

  • What happens if you use this in Factory? Anything cool? :/

    • Factory is the exception.

      Nothing cool happens there, unless you consider getting hammered to death by Tagilla is cool :D

      Sad 1 Happy 1
  • Hi.


    I downloaded this mod today but i have some issues. After a while in game if i get into a raid 12:00 its pitch dark also my timer is stuck on 12:00 +/- 1 hour. The other thing is that its also mostly rainy.

    • The timer always reset to 12:00/24:00 after each raid => you can disable that in the config.json

      ----------

      As for the rainy weather I can't really help because I don't know the cause but you can try this mod for the weather CWX WEATHERPATCHER

  • Is there any way to make this work on 2.2.0? The time works fine but the fog and weather keeps changing

    • There is another mod that can change the weather and time from SamSwat.

      Take a look at that because I'm not sure how to fix the fog issue :aquacries:

  • Probably i'm just dumb, but the mod works as inteded, 12AM/PM start is fine, weather is fine.

    What i'm supposed to do if don't want fog at all, even if it's stormy?

  • Being able to make it always rain, in fact, makes me moist

    Haha 2 Confused 1
  • Hey man, ty for mod. Time 12/12 not reset. Start with 12 pm and 12 am but It stays the same as when I exit the raid and continues to progress.

    • this is because @Revingly added a constant raid starting time in this mod, but never mentioned it anywhere :D


      you can change the raid starting time on the line 22

      in the file user\mods\Revingly-ChooseTheWeather\src\mod.js


      you can change it, for example, to 17 hours:

      const timestamp = new Date().setHours(17,0,10);


      by default, it is 12,0,10 - 12 hours

      Thanks 1
    • hmmm

      So you dont want the time to be always 12PM and 12AM?

      Like 1
    • Yes :)

  • so i selected sunny and its raining, mod has loaded fine, this is the config


    {

    "weatherTypes": [

    "sunny",

    "cloudy",

    "stormy",

    "custom"

    ],

    "random": false,

    "acceleration": 5,

    "weather": "sunny",

    "overrides": {

    "fog": 0.001

    }

    }

  • Awesome

    Thanks 1