Rain settings (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Warning:It must be present on the map where it should rain.
Tip: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.
Thunder4ik (talk | contribs) m (clean up, replaced: {{ModernTip| → {{tip|, {{ModernWarning| → {{warning|) |
|||
Line 1: | Line 1: | ||
{{entity|rain_settings|<!--sprite=1-->|type=point|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. | {{entity|rain_settings|<!--sprite=1-->|type=point|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. | ||
{{ | {{warning|It must be present on the map where it should rain.}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Rain distance|intn=m_flDistance|integer|}} | {{KV|Rain distance|intn=m_flDistance|integer|}} | ||
{{ | {{tip|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|intn=m_iMode|choices|Type of precipitation}} | {{KV|Weather type|intn=m_iMode|choices|Type of precipitation}} | ||
:{| class=standard-table | :{| class=standard-table |
Revision as of 00:29, 4 January 2024
Template:Entity Which sets the global rain parameters for this map. The entity should be positioned at the height where the drops will spawn.

Keyvalues
- Rain distance (m_flDistance) <integer>

- Weather type (m_iMode) <choices>
- Type of precipitation
Value Description 0 Rain 1 Snow