This article's documentation is for anything that uses the Source engine. Click here for more information.

env_detail_controller

From Valve Developer Community
Revision as of 10:11, 4 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.)
Jump to navigation Jump to search
C++ Class hierarchy
CEnvDetailController
CBaseEntity
C++ env_detail_controller.cpp

env_detail_controller is an e0 available in all Source Source games. 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.

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.
Icon-Bug.pngBug:Changing these keyvalues in-game doesn't seem to have any effect, only the initial values affect the detail fading (tested in Left 4 Dead 2)  [todo tested in ?]
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