Env detail controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Reformat. And this is a base entity.)
Line 1: Line 1:
{{wrongtitle|title=env_detail_controller}}
{{base point|env_detail_controller}} It overrides the min and max fade distances for [[Prop Types Overview#prop_detail|details sprites]] in the map.
{{css point|env_detail_controller}}
{{note|This entity is defined in the [[FGD]] files of {{game link|Counter-Strike: Source}} and the {{game link|Left 4 Dead}} series only.}}


==Entity Description==
== Keyvalues ==
Controls detail fade distance
{{KV|Start Fade Dist/Pixels|integer|The distance at which the detail props will start fading away.}}
==Keyvalues==
{{KV|End Fade Dist/Pixels|integer|The distance at which the detail props will stop fading and stop drawing entirely.}}
* {{KV Targetname}}
{{KV Angles}}
* '''fademindist'''
: Minimum detail fade dist
* '''fademaxdist'''
: Maximum detail fade dist
==Inputs==
* {{I Targetname}}
==Outputs==
* {{O Targetname}}
[[Category:Half-Life 2: Episode One Entities]]

Revision as of 03:30, 12 August 2011

Template:Base point It overrides the min and max fade distances for details sprites in the map.

Note.pngNote:This entity is defined in the FGD files of Counter-Strike: Source Counter-Strike: Source and the Left 4 Dead Left 4 Dead series only.

Keyvalues

Start Fade Dist/Pixels ([todo internal name (i)]) <integer>
The distance at which the detail props will start fading away.
End Fade Dist/Pixels ([todo internal name (i)]) <integer>
The distance at which the detail props will stop fading and stop drawing entirely.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.