Rain settings (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
m (→Keyvalues) |
|||
Line 3: | Line 3: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Rain distance | {{KV|Rain distance|intn=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 | {{KV|Weather type|intn=m_iMode|choices|Type of precipitation}} | ||
:{| class=standard-table | :{| class=standard-table | ||
!| Value || Description | !| Value || Description |
Revision as of 06:25, 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) <integer>
- Weather type (m_iMode) <choices>
- Type of precipitation
Value Description 0 Rain 1 Snow