This article relates to the game "Portal 2." Click here for more information.

Comp propcombine volume: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Comp propcombine volume/en to Comp propcombine volume without leaving a redirect: Move en subpage to basepage)
(→‎KeyValues: can also be used as prop_static lighting origin, if you so choose.)
Line 9: Line 9:


== Keyvalues ==
== Keyvalues ==
{{KV Targetname null|vbsp only=1}}
{{KV|Name|intn=name|string|Two sets with the same name will be treated as one.}}
{{KV|Name|intn=name|string|Two sets with the same name will be treated as one.}}
{{KV|Model Filter|intn=prop|studio|If set, a combinable model used to filter which others will be combined. The propcombine set will only apply to models which could be combined with this one.}}
{{KV|Model Filter|intn=prop|studio|If set, a combinable model used to filter which others will be combined. The propcombine set will only apply to models which could be combined with this one.}}

Revision as of 16:51, 1 September 2024

English (en)Translate (Translate)
Toolspropcombine.png

comp_propcombine_volume is an internal brush entity available in Portal 2: Community Edition Portal 2: Community Edition.

It is also available in all games with TeamSpen's Hammer Addons TeamSpen's Hammer Addons installed. It combines specified props within it volume in to a single one, thus optimizing the rendering of them.

Note.pngNote:If you are experiencing problems with static prop combining not working, make sure srctools.vdf in your vmf's directory is set up with the correct path to studiomdl.exe


Keyvalues

Name (targetname) <string>
Name of this entity. Can be used by compile tools as a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report. No effect in-game.
Name (name) <string>
Two sets with the same name will be treated as one.
Model Filter (prop) <model path>
If set, a combinable model used to filter which others will be combined. The propcombine set will only apply to models which could be combined with this one.
Skin Filter (skin) <integer>
The skin for the Model Filter.

See also