Env detail controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added note that the entity is broken in GO)
(-removed irrelevant info)
Line 6: Line 6:


==Keyvalues==
==Keyvalues==
{{KV|Start Fade Dist/Pixels (fademindist)|integer|The distance at which the detail props will start fading away.}}
{{KV|Start Fade Dist/Pixels|intn=fademindist|integer|The distance at which the detail props will start fading away.}}
{{KV|End Fade Dist/Pixels (fademaxdist)|integer|The distance at which the detail props will stop fading and stop drawing entirely.}}
{{KV|End Fade Dist/Pixels|intn=fademaxdist|integer|The distance at which the detail props will stop fading and stop drawing entirely.}}
{{KV BaseEntity|css=1}}
{{KV Targetname}}
 
==Inputs==
{{I BaseEntity|prel4d=1}}
 
==Outputs==
{{O BaseEntity|l4d=1}}

Revision as of 13:06, 14 October 2022

English (en)Translate (Translate)

Template:Base point It overrides the fade distances for all details sprites in the map.

Note.pngNote:This entity is broken in Counter-Strike: Global Offensive. Changing the fade distance does nothing.
C++ In code, it is represented by theCEnvDetailControllerclass, defined in theenv_detail_controller.cppfile.

Keyvalues

Start Fade Dist/Pixels (fademindist) <integer>
The distance at which the detail props will start fading away.
End Fade Dist/Pixels (fademaxdist) <integer>
The distance at which the detail props will stop fading and stop drawing entirely.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities