Difference between revisions of "Template:Kv basefadeprop"

From Valve Developer Community
Jump to: navigation, search
 
(lots of cleanup)
 
Line 1: Line 1:
*; fademindist <float> :  Distance at which the prop starts to fade (<0 = use fademaxdist).
+
{{ScrollBox|title=basefadeprop|
 +
{{KV|fademindist|float|Distance at which the prop starts to fade (<0 {{Template:=}} use fademaxdist).}}
  
*; fademaxdist <float> :  Max fade distance at which the prop is visible (0 = don't fade out).
+
{{KV|fademaxdist|float|Max fade distance at which the prop is visible (0 {{Template:=}} don't fade out).}}
  
*; fadescale <float> : If you specify a fade in the [[worldspawn]], or if the engine is running under dx7, then 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.
+
{{KV|fadescale|float|If you specify a fade in the [[worldspawn]], or if the engine is running under dx7, then 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.}}
 +
}}

Latest revision as of 17:23, 4 January 2019

basefadeprop:

fademindist <float>
Distance at which the prop starts to fade (<0 = use fademaxdist).
fademaxdist <float>
Max fade distance at which the prop is visible (0 = don't fade out).
fadescale <float>
If you specify a fade in the worldspawn, or if the engine is running under dx7, then 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.