Func brush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (typo & minor tidy)
Line 1: Line 1:
{{wrongtitle|title=func_brush}}
{{wrongtitle|title=func_brush}}


==Entity Description==
== Entity description ==
A [[Entity#Brush_entities|brush built entity]] with various features. Has replaced the obsolete [[func_wall]], [[func_illusionary]] and [[func_wall_toggle]] entities by adding more functionality.
A [[brush entity]] with various features. Has replaced the obsolete [[func_wall]], [[func_illusionary]] and [[func_wall_toggle]] entities by adding more functionality.


==Keyvalues==
== Keyvalues ==
* {{kv targetname}}
* {{kv targetname}}
* {{kv parentname}}
* {{kv parentname}}
Line 26: Line 26:
|}
|}
* '''solidbsp'''
* '''solidbsp'''
: {{boolean}} Set this if this brush is in heirarchy with a moving object of some kind, and the player can stand on this brush.
: {{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'''
* '''excludednpc'''
: <target_destination> If an NPC classname (i.e. [[npc_zombie]]) is specified here, NPCs of that type won't collide with these brushes.
: <target_destination> If an NPC classname (i.e. [[npc_zombie]]) is specified here, NPCs of that type won't collide with these brushes.
Line 32: Line 32:
: {{boolean}} If set, then the excluded NPC class will consider this brush solid, and all other NPC classes will consider it non-solid.
: {{boolean}} If set, then the excluded NPC class will consider this brush solid, and all other NPC classes will consider it non-solid.


==Flags==
== Flags ==
* 2 : Ignore player +USE
* 2 : Ignore player +USE


==Inputs==
== Inputs ==
* {{i targetname}}
* {{i targetname}}
* {{i renderfields}}
* {{i renderfields}}
Line 46: Line 46:
: Set invert_exclusion
: Set invert_exclusion


==Outputs==
== Outputs ==
* {{o targetname}}
* {{o targetname}}


[[Category:Entities]][[Category:Brush Entities]]
[[Category:Entities]]
[[Category:Brush Entities]]

Revision as of 09:31, 14 February 2008

Template:Wrongtitle

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.

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.
<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

Set excludednpc
Set invert_exclusion

Outputs