This article's documentation is for the "GoldSrc" engine. Click here for more information.

rain_settings

From Valve Developer Community
Revision as of 06:35, 18 February 2024 by NOUG4AT (talk | contribs)
Jump to navigation Jump to search

rain_settings is a point available in Paranoia Paranoia and Cry of Fear Cry of Fear.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{gldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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