Help with snow
Posted: Wed Jul 07, 2004 10:14 am
Ok, I need help with snow settings :S
Atm I got this code
But when I use it on my level, snow starts to rain like this:
~~~~~~~~~~~~
~~~~~~~~~~~~
~~~~~~~~~~~~
Like gaps in it. First wave, then second wave of snow etc
But I need to have snowstorm settings. I can't manage to put such settings that it would rain like snowstorm, but without no gaps. Can anyone help me?
Atm I got this code
Code: Select all
level waittill spawn
wait 2
// Setup snow parameters
local.string = getcvar(version)
if(local.string[25] == "2")
{
level.rain_speed = "200"
level.rain_speed_vary = "32"
level.rain_length = "3"
level.rain_width = "1"
level.rain_density = "60"
level.rain_slant = "250"
level.rain_min_dist = "700"
level.rain_numshaders = 20
level.rain_shader = "textures/snow"
}
else
{
level.rain_speed = "200"
level.rain_speed_vary = "32"
level.rain_length = "3"
level.rain_width = "1"
level.rain_density = "60"
level.rain_slant = "250"
level.rain_min_dist = "700"
level.rain_numshaders = 20
level.rain_shader = "textures/snow0"
}
~~~~~~~~~~~~
~~~~~~~~~~~~
~~~~~~~~~~~~
Like gaps in it. First wave, then second wave of snow etc
But I need to have snowstorm settings. I can't manage to put such settings that it would rain like snowstorm, but without no gaps. Can anyone help me?