Rain settings (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 5: Line 5:
{{KV|Rain distance (m_flDistance)|integer|}}
{{KV|Rain distance (m_flDistance)|integer|}}
{{ModernTip|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.}}
{{ModernTip|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.}}
{{KV|Weather type (m_iMode)|choices|Type of precipitation}}
{{KV|Weather type (m_iMode)|choices|Type of precipitation}}
:{| class=standard-table
:{| class=standard-table

Revision as of 05:01, 21 August 2023

Template:Entity Which sets the global rain parameters for this map. The entity should be positioned at the height where the drops will spawn. Template:ModernWarning

Keyvalues

Rain distance (m_flDistance) ([todo internal name (i)]) <integer>

Template:ModernTip

Weather type (m_iMode) ([todo internal name (i)]) <choices>
Type of precipitation
Value Description
0 Rain
1 Snow