env_detail_controller
Jump to navigation
Jump to search

![]() |
---|
CEnvDetailController |
![]() |
env_detail_controller
is a point entity available in all Source games. It overrides the fade distances for all details sprites in the map.
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.
Warning:Changing these keyvalues in-game via AddOutput doesn't seem to have any effect, only the initial values affect the detail fading (tested in
)
FGD Code
@PointClass base(Angles) = env_detail_controller : "An entity that lets you control the fade distances for detail props."
[
fademindist(float) : "Start Fade Dist/Pixels" : 400 : "Distance at which the prop starts to fade."
fademaxdist(float) : "End Fade Dist/Pixels" : 1200 : "Maximum distance at which the prop is visible."
]