[Question] Weather (mostly to do with snow)

Can you modify a weather type?

I’m mostly looking to do have the “XMAS” snow layer on the ground toggled on during “Heavy snow”

To my knowledge with GTA’s natives this is not possible. Someone else correct me if I’m wrong.

It is possible to do that

        SetWeatherTypePersist("XMAS")
        SetWeatherTypeNowPersist("XMAS")
        SetWeatherTypeNow("XMAS")
        SetOverrideWeather("XMAS")
1 Like

I know how to enable XMAS, but that isn’t what I asked

I want to enable the XMAS snow layer during the “Blizzard” or “Heavy snow” weather type.

1 Like

Well what weather script are you using? You’ll need to tap into it when its calling the IS_NEXT_WEATHER_TYPE function

please correct me if I’m wrong but weather types aren’t set by “weather scripts” they’re set in a GTAV data file

Well if your server wants weather types sync’d between players you need a weather script.

But if you are talking about modifying an weather set. Then as far as I am aware, you cannot upload modified weather types.

I feel like theres a wall here…

wall or not, I’m using vSync as a weather script which only calls V’s base weather types and doesn’t set it’s own (because isn’t that impossible?)

There are natives to mix two weather types, unfortunately they are not working/ nobody figured out how they work yet…

Any chance you could list them? Even if they don’t work I’d just like to see

1 Like

https://runtime.fivem.net/doc/reference.html#_0xFB5045B7C42B75BF
This one changes from one weather to another over a specific time period.

https://runtime.fivem.net/doc/reference.html#_0x578C752848ECFA0C
This actually mixes two weather types.

can you walk me through making that a script?

Hi, did you find a solution for mixing two weather conditions?

I’d like to see a solutiion to this as well. Combining XMAS and Blizzard could create a really cool effect.