Template:KV BaseFadeProp: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
: Distances at which the prop start and finish fading. | : 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 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. | :* If end fade is <0, the prop won't disappear at all. (This is the default behaviour.) | ||
: The values will | : 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 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. | ||
}} | }} |
Revision as of 11:53, 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 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.