Template:KV BaseFadeProp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Agh, NOW it should work.)
 
mNo edit summary
Line 1: Line 1:
'''fademindist'''
'''fademindist'''
: <float> Start Fade Dist/Pixels - Distance at which the prop starts to fade. (-1 = Use ''fademaxdist''.)
: <float> Start Fade Dist/Pixels - Distance at which the prop starts to fade. (-1 = Use ''fademaxdist''.){{note|If this entity is in a [[3D Skybox]], this value will automatically be scaled properly.}}
* '''fademaxdist'''
* '''fademaxdist'''
: <float> End Fade Dist/Pixels - Max fade distance at which the prop is visible. (0 = Don't fade out.)
: <float> End Fade Dist/Pixels - Max fade distance at which the prop is visible. (0 = Don't fade out.){{note|If this entity is in a [[3D Skybox]], this value will automatically be scaled properly.}}
* '''fadescale'''
* '''fadescale'''
: <float> Fade Scale - If you specify a fade in the [[worldspawn]], or if the engine is running under dx7, the engine will forcibly fade out props even if ''fademindist''/''fademaxdist'' isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades. Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances.
: <float> Fade Scale - If you specify a fade in the [[worldspawn]], or if the engine is running under dx7, the engine will forcibly fade out props even if ''fademindist''/''fademaxdist'' isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades. Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances.

Revision as of 23:26, 16 July 2007

fademindist

<float> Start Fade Dist/Pixels - Distance at which the prop starts to fade. (-1 = Use fademaxdist.)
Note.pngNote:If this entity is in a 3D Skybox, this value will automatically be scaled properly.
  • fademaxdist
<float> End Fade Dist/Pixels - Max fade distance at which the prop is visible. (0 = Don't fade out.)
Note.pngNote:If this entity is in a 3D Skybox, this value will automatically be scaled properly.
  • fadescale
<float> Fade Scale - If you specify a fade in the worldspawn, or if the engine is running under dx7, the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades. Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances.