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

Func wall: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (This is a bug with VBSP not collapsing instances correctly)
(Most likely not an issue with VBSP. This entity's Spawn function is setting the angles to 0 0 0)
Tag: Reverted
Line 3: Line 3:
{{CD|CFuncWall|file1=bmodels.cpp}}
{{CD|CFuncWall|file1=bmodels.cpp}}
{{this is a|brush entity|name=func_wall}} {{base brush legacy|func_brush}} This is obsolete entity from [[Half-Life]] provided for backwards compatibility. Has been deprecated by the [[func_brush]] entity with its ''Solidity'' property set to ''Always Solid''.
{{this is a|brush entity|name=func_wall}} {{base brush legacy|func_brush}} This is obsolete entity from [[Half-Life]] provided for backwards compatibility. Has been deprecated by the [[func_brush]] entity with its ''Solidity'' property set to ''Always Solid''.
{{bug|tested={{tf2}}|This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated [[instance]]s, it will not be rotated correctly!}}
{{bug|tested={{tf2}},SDK13 source code|This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated [[instance]]s, it will not be rotated correctly!}}
{{bug|{{l4ds}} clientside ragdolls pass through this entity while they correctly collide with [[func_brush]]|tested=l4d2}}
{{bug|{{l4ds}} clientside ragdolls pass through this entity while they correctly collide with [[func_brush]]|tested=l4d2}}
{{PreservedEnt|func_wall}}
{{PreservedEnt|func_wall}}
Line 12: Line 12:


== Inputs ==
== Inputs ==
{{IO|Use|param=void|deprecated=1|Nonfunctional; leftover from {{quake|2}} and {{goldsrc|2}}, where using or targeting a func_wall would toggle between +0 to +9 and +A to +J texture sets. Use {{ent|env_texturetoggle}} or {{ent|material_modify_control}} instead.}}
{{I|Use|param=void|deprecated=1|Nonfunctional; leftover from {{quake|2}} and {{goldsrc|2}}, where using or targeting a func_wall would toggle between +0 to +9 and +A to +J texture sets. Use {{ent|env_texturetoggle}} or {{ent|material_modify_control}} instead.}}


== See Also ==
== See Also ==

Revision as of 15:41, 13 December 2024

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

func_wall is a brush entity available in all Source Source games. Legacy support only. Use func_brush instead. This is obsolete entity from Half-Life provided for backwards compatibility. Has been deprecated by the func_brush entity with its Solidity property set to Always Solid.

Icon-Bug.pngBug:This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated instances, it will not be rotated correctly!  (tested in: Team Fortress 2,SDK13 source code)
Icon-Bug.pngBug:Left 4 Dead seriesLeft 4 Dead series clientside ragdolls pass through this entity while they correctly collide with func_brush  (tested in: l4d2)
Icon-Important.pngImportant:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Portal 2Counter-Strike: Global Offensive.
If the game has round restart mechanics this entity may not behave as expected:
More info
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non-preserved entities may have undesirable effects.

Keyvalues

Note.pngNote:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
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

Inputs

Use <void> Obsolete
Deprecated.
Nonfunctional; leftover from Quake Quake and GoldSrc GoldSrc, where using or targeting a func_wall would toggle between +0 to +9 and +A to +J texture sets. Use env_texturetoggle or material_modify_control instead.

See Also