Func brush: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 41: | Line 41: | ||
* {{I RenderFields}} | * {{I RenderFields}} | ||
* {{I Parentname}} | * {{I Parentname}} | ||
* {{ | * {{I Shadow}} | ||
* {{I EnableDisable}} | * {{I EnableDisable}} | ||
* '''{{EP2 add|SetExcluded <target_destination>}}''' | * '''{{EP2 add|SetExcluded <target_destination>}}''' |
Revision as of 19:33, 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
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv origin
- Template:Kv renderfields
- Template:Kv global
- Template:Kv enabledisable
- Template:Kv shadow
- _minlight
- <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
)
- <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
- Template:I targetname
- RenderFields:
- Alpha <integer 0–255>
- Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its
rendermode
set to a number other than0
.
- Color <color255 >
- Sets an RGB color for the entity.
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
- Shadow:
- DisableShadow
- Turn dynamic shadows off for this entity. Identical to applying EF_NOSHADOW.
- EnableShadow
- Turn dynamic shadows on for this entity.
- DisableReceivingFlashlight (in all games since
)
- This object will not receive light or shadows from projected textures.
- EnableReceivingFlashlight (in all games since
)
- This object may receive light or shadows from projected textures.
- EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Set excludednpc
- Set invert_exclusion