Env detail controller: Difference between revisions
Jump to navigation
Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.) |
(-nofgd, cleanup) |
||
Line 1: | Line 1: | ||
{{Ent not in fgd|none|except={{css}}{{csgo}}{{l4ds}}}} | |||
{{CD|CEnvDetailController|file1=env_detail_controller.cpp}} | {{CD|CEnvDetailController|file1=env_detail_controller.cpp}} | ||
{{this is a|e0|name=env_detail_controller}} It overrides the fade distances for all [[Prop Types Overview#prop_detail|details sprites]] in the map. | {{this is a|e0|name=env_detail_controller}} It overrides the fade distances for all [[Prop Types Overview#prop_detail|details sprites]] in the map. | ||
Line 6: | Line 7: | ||
{{KV|Start Fade Dist/Pixels|intn=fademindist|integer|The distance at which the detail props will start fading away.}} | {{KV|Start Fade Dist/Pixels|intn=fademindist|integer|The distance at which the detail props will start fading away.}} | ||
{{KV|End Fade Dist/Pixels|intn=fademaxdist|integer|The distance at which the detail props will stop fading and stop drawing entirely.}} | {{KV|End Fade Dist/Pixels|intn=fademaxdist|integer|The distance at which the detail props will stop fading and stop drawing entirely.}} | ||
{{bug|Changing these keyvalues in-game doesn't seem to have any effect, only the initial values affect the detail fading (tested in {{l4d2}}) | :{{bug|Changing these keyvalues in-game doesn't seem to have any effect, only the initial values affect the detail fading (tested in {{l4d2}})}} | ||
== See also == | == See also == | ||
* | * {{ent|func_detail_blocker}} |
Revision as of 11:14, 20 February 2024

![]() |
---|
CEnvDetailController |
![]() |
env_detail_controller
is an e0 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.
Bug:Changing these keyvalues in-game doesn't seem to have any effect, only the initial values affect the detail fading (tested in
) [todo tested in ?]