This article's documentation is for anything that uses the Source engine. Click here for more information.

Func viscluster: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Func viscluster/en to Func viscluster without leaving a redirect: Move en subpage to basepage)
(Engine feature, so go by engine version)
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{this is a|brush entity|internal=1|name=func_viscluster|since=Half-Life 2: Episode Two|sprite=toolstrigger.gif}}<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->
{{this is a|brush entity|internal=1|name=func_viscluster|since=Source 2007|sprite=toolstrigger.gif}}<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->
[[File:Tools Viscluster.png|thumb|160px|{{mono|tools\tools_viscluster}} from {{bms|4}}, a custom trigger texture designed to make it easy to identify visclusters.]]
[[File:Tools Viscluster.png|thumb|160px|{{mono|tools\tools_viscluster}} from {{bms|4}}, a custom trigger texture designed to make it easy to identify visclusters.]]
It allows you to manually tell [[VVIS]] that the [[visleafs]] inside its volume can all see each other and should be treated as one. This is useful in large open areas where visibility calculations would otherwise take a very, ''very'' long time to complete. Poor use may be [[expensive]] for in-game performance. It should be textured with a [[trigger]] texture, such as <tt>tools\toolstrigger</tt>.
It allows you to manually tell [[VVIS]] that the [[visleafs]] inside its volume can all see each other and should be treated as one. This is useful in large open areas where visibility calculations would otherwise take a very, ''very'' long time to complete. Poor use may be [[expensive]] for in-game performance. It should be textured with a [[trigger]] texture, such as <tt>tools\toolstrigger</tt>.

Revision as of 11:20, 4 September 2024

English (en)Русский (ru)中文 (zh)Translate (Translate)
Toolstrigger.gif

func_viscluster is an internal brush entity available in all Source Source games since Source 2007 Source 2007.

tools\tools_viscluster from Black Mesa Black Mesa, a custom trigger texture designed to make it easy to identify visclusters.

It allows you to manually tell VVIS that the visleafs inside its volume can all see each other and should be treated as one. This is useful in large open areas where visibility calculations would otherwise take a very, very long time to complete. Poor use may be expensive for in-game performance. It should be textured with a trigger texture, such as tools\toolstrigger.

Template:Intent

Note.pngNote:This entity does not actually change the location or number of leafs in a map. Hammer's portal file says this occurs, but commands such as mat_leafvis show the leafs to still be intact.
Warning.pngWarning:The brush should not cross the surface of a water material or an areaportal. If it really does need to be used over water, bring the brush level with the surface of the water on one side, and then create a second, separate func_viscluster on the other side. Never allow a func_viscluster brush to cross a water plane, or very strange things happen.

See also