You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
This entity also exists in Deathmatch Classic but works in a different way than Counter-Strike.
For the DMC version of this entity, please consult this page instead.
Attributes
Fog density (density) - Density/strength of the fog. The value should be less than 0.01, otherwise the the fog will not appear. 0.009 is the thickest and lesser value means thinner fog.
Fog Start Distance (fogStartDistance) - Distance where fog should begin to appear. Default 1500 units.
Fog Stop Distance (fogStopDistance) - Distance where fog should be at configured density. Default 2000 units.
Fog color (R G B) (rendercolor) - The colour of the fog.
Flags
Fog Affects Skybox (1) - If enabled, fog will affect the skybox as well.
Notes
env_fog is never used in official Counter-Strike maps but used a lot in Condition Zero. Since both games share the same basic, the entity still function well in Counter-Strike. Most Counter-Strike FGDs do not come with this entity listed so you can manually add them with Notepad as follows:
Can anyone provide a screenshot of the effect of the "Fog Affects Skybox" flag?