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

env_detail_controller

From Valve Developer Community
Jump to: navigation, search
Info.png
This entity is not in the FGD by default , except in Counter-Strike: SourceCounter-Strike: Global OffensiveLeft 4 Dead series.
See below for instructions on making it available.
class hierarchy
CEnvDetailController defined in env_detail_controller.cpp
CBaseEntity

env_detail_controller is a point entity 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)

See also