Env fog (GoldSrc)

From Valve Developer Community
Revision as of 13:52, 16 August 2023 by Dmx6 (talk | contribs)
Jump to navigation Jump to search

Template:Entity This entity is used to cover the map in fog.

Key values

Start distance (startdist) <integer> (only in Deathmatch Classic)
This value defines how far away from the player the fog will start. At this range, the fog is completely transparent.
End distance (enddist) <integer> (only in Deathmatch Classic)
This value defines how far away from the player the fog will end. At this point, the fog becomes 100% opaque.
Start distance (fogStartDistance) <integer> (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)
Distance where the fog begins to appear.
Stop distance (fogStopDistance) <integer> (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)
Distance where the fog ends to appear.
Fog density (density) <integer> (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)
Density of the fog.
Fog Color (R G B) (rendercolor) <color255>
This property allows you to set the color of the fog using an "R G B" value. For example, for blue fog you could use "0 0 255".

Flags

Fog Affects Skybox : [1] (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)