Template:KV BaseFadeProp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
: The values will scale appropriately if the prop is in a [[3D Skybox]].
: The values will scale appropriately if the prop is in a [[3D Skybox]].
; Fade Scale <code><float></code>
; Fade Scale <code><float></code>
: If you specify so in [[worldspawn]], or if the engine is running below DirectX7, props will forcibly fade even the distances above aren't specified. This value gives you some control over when this happens: 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. Using 0 turns off the forced fade altogether.
: If you specify so in [[worldspawn]], or if the engine is running below DirectX7, props will fade out even if the fade distances above aren't specified. This value gives you some control over when this happens: 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. Using 0 turns off the forced fade altogether.
}}
}}

Revision as of 11:54, 21 July 2009

BaseFadeProp:
Start Fade Dist <float>
End Fade Dist <float>
Distances at which the prop start and finish fading.
  • If start fade is <0, the prop will disappear instantly when end fade is hit.
  • If end fade is <0, the prop won't disappear at all. (This is the default behaviour.)
The values will scale appropriately if the prop is in a 3D Skybox.
Fade Scale <float>
If you specify so in worldspawn, or if the engine is running below DirectX7, props will fade out even if the fade distances above aren't specified. This value gives you some control over when this happens: 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. Using 0 turns off the forced fade altogether.