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.
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 color (R G B) (rendercolor) - The colour of the fog.
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:
@PointClass = env_fog : "Fog" [ density : "Fog density (<0.01)" : 0.001 rendercolor(color255) : "Fog color (R G B)" : "255 255 255" ]
Unlike the Sven Co-Op one, this env_fog cannot be deactivated. It will stay as it is and cannot be turned off.
The fog effect only appears in OpenGL Video Setting. Only models/sprites with Normal render mode affected by the fog.
Putting solid black color (0 0 0) will show no fog.
Can anyone provide a screenshot of the effect of the "Fog Affects Skybox" flag?