How can I use valve's snow weather and set it as default? Re writing user custom weather with snow is also okay.
Found this command (SetCustomTerrainWeatherEffect(effectName: string)) and here's how I use it:
WINTER_PARTICLE = "particles/winter_fx/weather_frostivus_snow.vpcf"
PrecacheResource("particle", WINTER_PARTICLE, context)
...
-------------------------------------------------------------------------
--- Set forced winter weather effect.
-------------------------------------------------------------------------
function SetWinterWeather()
GameMode:SetCustomTerrainWeatherEffect(WINTER_PARTICLE)
end
...
if currentState == DOTA_GAMERULES_STATE_GAME_IN_PROGRESS then
SetWinterWeather()
It also doesn't have to be this specific particle, I was just trying different options out.
I wonder why it doesn't work..