Func brush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Keyvalues: ep1 add)
(improved description)
Line 2: Line 2:


==Entity Description==
==Entity Description==
A brush built entity with various features.
A brush built entity with various features. A func_brush does not enter into visibility calculations and does not cause face-splitting (where a brush will carve another brush into additional faces where they contact each other). It is treated as an entity and can be given entity features such as render modes, as well as having optionally solidity and optional casting of shadow.
Has replaced the obsolete [[func_wall]], [[func_illusionary]] and [[func_wall_toggle]] entities.
Has replaced the obsolete [[func_wall]], [[func_illusionary]] and [[func_wall_toggle]] entities.



Revision as of 16:00, 19 February 2007

Template:Wrongtitle

Entity Description

A brush built entity with various features. A func_brush does not enter into visibility calculations and does not cause face-splitting (where a brush will carve another brush into additional faces where they contact each other). It is treated as an entity and can be given entity features such as render modes, as well as having optionally solidity and optional casting of shadow. Has replaced the obsolete func_wall, func_illusionary and func_wall_toggle entities.

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

Outputs