Env detail controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added func_Detail_blocker to see also)
(-added class hierarchy)
Line 1: Line 1:
{{lang|Env detail controller}}
{{lang|Env detail controller}}
{{CD|CEnvDetailController|file1=env_detail_controller.cpp}}
{{base point|env_detail_controller}} It overrides the fade distances for all [[Prop Types Overview#prop_detail|details sprites]] in the map.
{{base point|env_detail_controller}} It overrides the fade distances for all [[Prop Types Overview#prop_detail|details sprites]] in the map.
{{note|This entity is broken in {{csgo}}. Changing the fade distance does nothing.}}
{{note|This entity is broken in {{csgo}}. Changing the fade distance does nothing.}}

Revision as of 05:06, 7 November 2022

English (en)Translate (Translate)
C++ Class hierarchy
CEnvDetailController
CBaseEntity
C++ env_detail_controller.cpp

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

See Also