Env fog: Difference between revisions

From Sven Co-op
Jump to navigation Jump to search
Import of converted entguide pages from Sven Manor.
 
m Formatting.
 
Line 17: Line 17:
== Issues ==
== 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.
* Fog works only for OpenGL graphics mode.
* Entities with 'Render mode' set to other than 'Normal' (including sprites) are not affected by env_fog.


{{entity_title}}
{{entity_title}}

Latest revision as of 04:38, 28 January 2019

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.