Func brush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 42: Line 42:
* {{i parentname}}
* {{i parentname}}
* {{i shadow}}
* {{i shadow}}
* {{i enabledisable}}
* {{I EnableDisable}}
* '''{{EP2 add|SetExcluded <target_destination>}}'''
* '''{{EP2 add|SetExcluded <target_destination>}}'''
: Set excludednpc
: Set excludednpc

Revision as of 19:28, 19 January 2009

Template:Wrongtitle Template:Base brush

Entity description

A brush entity with various features. Has replaced the obsolete func_wall, func_illusionary and func_wall_toggle entities by adding more functionality. Template:Brushmodel

Keyvalues

<float> The minimum level of ambient light that hits this brush.
  • Solidity
<choices> Used to control the solidity/collision of these brushes.
Literal Value Description
0 Toggle
1 Never Solid
2 Always Solid
  • solidbsp
<boolean> Set this if this brush is in hierarchy with a moving object of some kind, and the player can stand on this brush.
  • excludednpc
<target_destination> If an NPC classname (i.e. npc_zombie) is specified here, NPCs of that type won't collide with these brushes.
  • invert_exclusion (in all games since Half-Life 2: Episode One)
<boolean> If set, then the excluded NPC class will consider this brush solid, and all other NPC classes will consider it non-solid.

Flags

  • 2 : Ignore player +USE

Inputs

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
Set excludednpc
Set invert_exclusion

Outputs