Template:KV NewFade: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (fixed formatting)
Line 1: Line 1:
{{ScrollBox|title=NewFade|1=
{{ScrollBox|title=NewFade|1=
; Start Fade Dist/Pixels <code><[[float]]></code>
'''Start Fade Dist/Pixels <code><[[float]]></code>'''
: Distance at which the prop starts to fade (<0 = use fademaxdist). If 'Screen Space Fade' is selected, this represents the number of pixels wide covered by the prop when it starts to fade.
: Distance at which the prop starts to fade (<0 = use fademaxdist). If 'Screen Space Fade' is selected, this represents the number of pixels wide covered by the prop when it starts to fade.
; End Fade Dist/Pixels <code><float></code>
; End Fade Dist/Pixels <code><float></code>

Revision as of 21:41, 27 May 2018

NewFade:
Start Fade Dist/Pixels <float>
Distance at which the prop starts to fade (<0 = use fademaxdist). If 'Screen Space Fade' is selected, this represents the number of pixels wide covered by the prop when it starts to fade.
End Fade Dist/Pixels <float>
Maximum distance at which the prop is visible (0 = don't fade out). If 'Screen Space Fade' is selected, this represents the *minimum* number of pixels wide covered by the prop when it fades.
Fade Scale <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.