Env detail controller: Difference between revisions
Jump to navigation
Jump to search

In code, it is represented by the
(-removed irrelevant info) |
(-added func_Detail_blocker to see also) |
||
Line 5: | Line 5: | ||
{{code class|CEnvDetailController|env_detail_controller.cpp}} | {{code class|CEnvDetailController|env_detail_controller.cpp}} | ||
==Keyvalues== | == Keyvalues == | ||
{{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.}} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
== See Also == | |||
* [[func_detail_blocker]] |
Revision as of 11:55, 27 October 2022


Template:Base point It overrides the fade distances for all details sprites in the map.

CEnvDetailController
class, defined in theenv_detail_controller.cpp
file.
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.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities