env_fog

From Sven Co-op
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.

1 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.

2 Flags

1 : Start off

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

3 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.