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

Rain settings (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
mNo edit summary
Line 1: Line 1:
{{this is a|point|<!--sprite=1-->|name=rain_settings|engine=gldsrc|game=Paranoia}} Which sets the global rain parameters for this map. The entity should be positioned at the height where the drops will spawn.
{{this is a|point|<!--sprite=1-->|name=rain_settings|engine=gldsrc|game=Paranoia|game1=Cry of Fear}} Which sets the global rain parameters for this map. The entity should be positioned at the height where the drops will spawn.
{{warning|It must be present on the map where it should rain.}}
{{warning|It must be present on the map where it should rain.}}



Revision as of 06:35, 18 February 2024

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