Visibility

From EDukeWiki
Revision as of 15:37, 16 October 2007 by LordMisfit (talk | contribs)
Jump to navigation Jump to search

Visibility is distance shading/fog used in the BUILD Engine. It is originally set to whatever number DEFAULTVISIBILITY in USER.CON is defined as. 0 is considered fully bright (no fog). The higher the value

The Player Member Function "visibility" allows you to edit this on the fly through Cons. If not constantly set it will put itself back at the value specified in DEFAULTVSIBILITY. This is useful for many effects, including creating a lantern, or flashing the screen when you fire (as with the flash command or EXPLOSION2), but without making the shading/fog fully bright.

Eduke 2.1 did not save this in the mhs file resulting in a game stuck on fullbright.

This is also used as a sector struct.