Rain settings (GoldSrc): Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | m (→Keyvalues) | ||
| Line 3: | Line 3: | ||
| ==Keyvalues== | ==Keyvalues== | ||
| {{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}} | |||
| :{| class=standard-table | |||
| !| Value || Description | |||
| |- | |||
| | 0 || Rain | |||
| |- | |||
| | 1 || Snow | |||
| |} | |||
| [[Category:GoldSrc]] | [[Category:GoldSrc]] | ||
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
- Weather type (m_iMode) ([todo internal name (i)]) <choices>
- Type of precipitation
- Value - Description - 0 - Rain - 1 - Snow