env_detail_controller
Jump to navigation
Jump to search
Warning: The game will take the lower distance values from
| CEnvDetailController |
env_detail_controller is a logical entity available in all
Source games. It selects preffered fade distances for all details sprites in the map.
cl_detailfade and cl_detailfade convars and this entity. In practice this means a rendering distance higher than the default settings isn't possible. 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.
Note: These are cached once on level start, therefore they can't be changed at runtime.
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."
]