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
(Created page with "{{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 heig...")
 
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
(10 intermediate revisions by 3 users not shown)
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.
{{this is a|point entity|<!--sprite=1-->|name=rain_settings|engine=GoldSrc|game=Paranoia|game1=Cry of Fear|game2=Paranoia 2: Savior}} Which sets the global rain parameters for this map. The entity should be positioned at the height where the drops will spawn.
{{ModernTip|It must be present on the map where it should rain.}}
{{warning|It must be present on the map where it should rain.}}


==Keyvalues==
==Keyvalues==
* Rain distance (m_flDistance) <integer>
{{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.}}
{{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}}
* Weather type (m_iMode) <choices>
:{| class=standard-table
::Type of precipitation
!| Value || Description
|-
| 0 || Rain
|-
| 1 || Snow
|}


[[Category:GoldSrc]]
[[Category:GoldSrc]]
[[Category:Paranoia Entities]]

Latest revision as of 20:28, 17 May 2024

rain_settings is a point entity available in Paranoia Paranoia, Cry of Fear Cry of Fear, and Paranoia 2: Savior Paranoia 2: Savior. 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