Template:KV Item: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (ep1 add)
(updates. yes, this is going to be followed by updating all the pages that use this template, it's just that CItem has no unique KVs that won't be already covered through Animating and Entity.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{kv targetname}}
{{minititle|Item}}
* {{kv angles}}
* {{kv shadow}}
* '''{{ep1 add|fademindist}}'''
: <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.
* '''{{ep1 add|fademaxdist}}'''
: <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.
* '''{{ep1 add|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.

Latest revision as of 02:24, 11 September 2018

Item: