Visibility: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
 
Mblackwell (talk | contribs)
mNo edit summary
Line 1: Line 1:
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
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.
The [http://www.eduke32.com/wiki/index.php?title=Player_Member_Functions 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.

Revision as of 10:49, 25 December 2004

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.