This article's documentation is for anything that uses the Source engine. Click here for more information.

Func wall toggle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
(-added class hierarchy, cleanup)
Line 1: Line 1:
{{obsolete|entity=1}}
{{obsolete|entity=1}}
{{CD2|CFuncWallToggle|file1=bmodels.cpp}}
{{this is a|e2|name=func_wall_toggle}} {{base brush legacy|func_brush}}
{{this is a|e2|name=func_wall_toggle}} {{base brush legacy|func_brush}}
==Entity description==
Obsolete entity from [[Half-Life]] provided for backwards compatibility. Has been replaced by the [[func_brush]] with its ''Solidity'' property set to ''Toggle''.
Obsolete entity from [[Half-Life]] provided for backwards compatibility. Has been replaced by the [[func_brush]] with its ''Solidity'' property set to ''Toggle''.


A [[brush entity]] that can be toggled on/off. When off, the brush will be non-solid and invisible. Does not cast lightmap shadows.
A [[brush entity]] that can be toggled on/off. When off, the brush will be non-solid and invisible. Does not cast lightmap shadows.
 
{{Note|{{l4d2}} clientside ragdolls pass through this entity while they correctly collide with func_brush}}
{{bug|Using this entity with the [[Tool textures|Player Clip texture]] can cause the map to crash during compile}}
{{bug|Using this entity with the [[Tool textures|Player Clip texture]] can cause the map to crash during compile{{confirm}}}}
 
__NOTOC__
== Keyvalues ==
== Keyvalues ==
{{KV|Minimum Light Level|intn=_minlight|string|The minimum level of ambient light that hits this brush.}}
{{KV Targetname}}
{{KV Targetname}}
{{KV RenderFields}}
{{KV vrad}}
{{KV Global}}
{{KV Shadow}}


== Flags ==
== Flags ==
* 1 : Starts Invisible
{{fl|1|Starts Invisible}}


== Inputs ==
== Inputs ==
{{IO|Toggle|Toggle the brush on/off. When off, the brush will be non-solid and invisible.}}
{{IO|Toggle|Toggle the brush on/off. When off, the brush will be non-solid and invisible.}}
== See Also ==
* {{ent|func_detail}}
* {{ent|func_brush}}
* {{ent|func_illusionary}}
* {{ent|func_wall_toggle}}

Revision as of 20:49, 9 February 2024

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
C++ class hierarchy
CFuncWallToggle defined in C++ bmodels.cpp
CFuncWall
CBaseEntity

func_wall_toggle is an e2 available in all Source Source games. Legacy support only. Use func_brush instead. Obsolete entity from Half-Life provided for backwards compatibility. Has been replaced by the func_brush with its Solidity property set to Toggle.

A brush entity that can be toggled on/off. When off, the brush will be non-solid and invisible. Does not cast lightmap shadows.

Note.pngNote:Left 4 Dead 2 clientside ragdolls pass through this entity while they correctly collide with func_brush
Icon-Bug.pngBug:Using this entity with the Player Clip texture can cause the map to crash during compile[confirm]  [todo tested in ?]

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Template:KV vrad

Flags

Starts Invisible : [1]

Inputs

Toggle
Toggle the brush on/off. When off, the brush will be non-solid and invisible.

See Also