This article's documentation is for the "GoldSrc" engine. Click here for more information.

Env rain (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{This is a|name=env_rain|e0|engine=1|game=Counter-Strike|game1=Day of Defeat}} This entity is used to create raining weather effect.
{{this is a|point entity|name=env_rain|engine=GoldSrc|game=Counter-Strike|game1=Day of Defeat}} This entity is used to create raining weather effect.


== Key values ==
== Key values ==

Revision as of 20:18, 17 May 2024

env_rain is a point entity available in Counter-Strike Counter-Strike and Day of Defeat Day of Defeat. This entity is used to create raining weather effect.

Key values

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Drip Speed (m_dripSpeed) <integer>
Drip Speed of the Rain.
Drip Width (m_dripSize) <integer>
Drip Size of the Rain.
Drip Brightness (m_brightness) <integer>
Drip Brightness (1 - 255)
Drip Color (R G B) (rendercolor) <color255>
Drip color.
Number of drips (per update) (m_burstSize) <integer>
Number of drips, if 0, no updates; all the beams will appear as soon as it's created.
Time between updates (m_flUpdateTime) <string>
Time between drip updates.
Drip Sprite (texturee) <sprite>
Drip Sprite texture.

Flags

Start off : [1]