Rain modify (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Important:It is possible to simply set constant rain on the map, without switching on and off - for this, do not specify the rain_modify name.
Tip:A minute or two is fine (anyway, in action games always develop faster than in real life, because the genre obliges)
Tip:Normal such rain - somewhere around 2000 drops.
Tip:100, 200 - already a decent "oblique" rain.
Example:if the wind is worth 200 and the spread is 40, then for each drop the deviation will vary from 160 to 240.
m (→Keyvalues) |
Thunder4ik (talk | contribs) m (→Keyvalues: clean up, replaced: {{ModernTip| → {{tip| (3)) |
||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Fading time|intn=m_flTime|integer|The time it takes for rain to acquire the specified settings. Set in seconds. This is to smoothly turn the rain on and off.}} | {{KV|Fading time|intn=m_flTime|integer|The time it takes for rain to acquire the specified settings. Set in seconds. This is to smoothly turn the rain on and off.}} | ||
{{ | {{tip|A minute or two is fine (anyway, in action games always develop faster than in real life, because the genre obliges)}} | ||
{{KV|Drips per second|intn=m_iDripsPerSecond|integer|The number of drops that appear per second.}} | {{KV|Drips per second|intn=m_iDripsPerSecond|integer|The number of drops that appear per second.}} | ||
{{ | {{tip|Normal such rain - somewhere around 2000 drops.}} | ||
{{KV|Wind X|intn=m_flWindX|integer|Wind deflection}} | {{KV|Wind X|intn=m_flWindX|integer|Wind deflection}} | ||
{{KV|Wind Y|intn=m_flWindY|integer|Wind deflection}} | {{KV|Wind Y|intn=m_flWindY|integer|Wind deflection}} | ||
{{ | {{tip|100, 200 - already a decent "oblique" rain.}} | ||
{{KV|Rand X|intn=m_flRandX|integer|Wind deflection spread for each drop.}} | {{KV|Rand X|intn=m_flRandX|integer|Wind deflection spread for each drop.}} |
Revision as of 00:29, 4 January 2024
Template:Entity Which is used to directly turn on and off the rain.

Keyvalues
- Fading time (m_flTime) <integer>
- The time it takes for rain to acquire the specified settings. Set in seconds. This is to smoothly turn the rain on and off.

- Drips per second (m_iDripsPerSecond) <integer>
- The number of drops that appear per second.

- Wind X (m_flWindX) <integer>
- Wind deflection
- Wind Y (m_flWindY) <integer>
- Wind deflection

- Rand X (m_flRandX) <integer>
- Wind deflection spread for each drop.
- Rand Y (m_flRandY) <integer>
- Wind deflection spread for each drop.
