rain_settings

From Valve Developer Community
Jump to: navigation, search

rain_settings is a point entity available in the following GoldSrc GoldSrc games or engine branches:
Paranoia ParanoiaCry of Fear Cry of Fear and Paranoia 2: Savior Paranoia 2: Savior. Which sets the global rain parameters for this map. The entity should be positioned at the height where the drops will spawn.

Warning.pngWarning:It must be present on the map where it should rain.

Keyvalues

Rain distance (m_flDistance) <integer>
Tip.pngTip:It is not necessary to change the radius - it is set quite optimally by default. Although if the map is "corridor" (lane), then it can be made smaller.
Weather type (m_iMode) <choices>
Type of precipitation
Value Description
0 Rain
1 Snow