env_fog

From Sven Co-op
Revision as of 23:29, 27 January 2019 by GeckonCZ (talk | contribs) (Import of converted entguide pages from Sven Manor.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
env_fog
Type

point

Status

supported

 


Entity which creates a fog effect within a specific area around it. Fog, unfortunately, will only show to players who have it enabled in their options.

Keyvalues

Fog color (RGB) : rendercolor

The color of the fog.

Start distance : iuser2

Distance, in units, at which the fog starts to be visible. This needs to be greater than zero.

End distance : iuser3

Distance, in units, at which the fog appears opaque. This needs to be greater than the start distance.

Flags

1 : Start off

The env_fog entity will start disabled and needs to be triggered in order for fog to show.

Issues

Fog works only for OpenGL graphics mode.Entities with 'Render mode' set to other than 'Normal' (including sprites) are not affected by env_fog.