Func illusionary: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (updated template usage.)
(-added class hierarchy, cleanup)
Line 1: Line 1:
{{lang|Func illusionary}}
{{lang|Func illusionary}}
{{base brush|func_illusionary}}
{{CD|CFuncIllusionary|file1=bmodels.cpp}}
{{base brush|func_illusionary}} It's a brush entity that has no collision.
{{warning|In {{css}}, [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|parenting this entity to another can break your map]].}}
{{warning|In {{css}}, [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|parenting this entity to another can break your map]].}}
==Entity Description==
<tt>func_illusionary</tt> is a brush entity that has no collisions.


Originally added as a legacy entity from {{Gldsrc|4}} for backwards compatibility, Valve has also used it in Source games (such as {{hl2|2}} or {{csgo|2}}) as a non-solid brush. {{ent|func_brush}} with its <tt>Solidity</tt> property set to ''Never Solid'' will act the same, except it allows more options to be modified. This entity can be used for simplicity if less functionality is needed, as it is always non-solid.{{note|This entity doesn't work inside {{ent|func_instance}}, because it won't be rotated correctly.}}
Originally added as a legacy entity from {{Gldsrc|4}} for backwards compatibility, Valve has also used it in Source games (such as {{hl2|2}} or {{csgo|2}}) as a non-solid brush. {{ent|func_brush}} with its <tt>Solidity</tt> property set to ''Never Solid'' will act the same, except it allows more options to be modified. This entity can be used for simplicity if less functionality is needed, as it is always non-solid.{{note|This entity doesn't work inside {{ent|func_instance}}, because it won't be rotated correctly.}}
== Keyvalues ==
== Keyvalues ==
{{KV BaseEntity}}
{{KV Targetname}}
{{KV visiblebrush}}
 
== Inputs ==
{{I BaseEntity}}
{{I visiblebrush|portal2=1}}
 
== Outputs ==
{{O BaseEntity|l4d=1}}


==See Also==
==See Also==
* {{ent|func_brush}}
* {{ent|func_brush}}

Revision as of 10:16, 14 November 2022

English (en)Translate (Translate)
C++ Class hierarchy
CFuncIllusionary
CBaseEntity
C++ bmodels.cpp

Template:Base brush It's a brush entity that has no collision.

Warning.pngWarning:In Counter-Strike: Source, parenting this entity to another can break your map.

Originally added as a legacy entity from GoldSrc GoldSrc for backwards compatibility, Valve has also used it in Source games (such as Half-Life 2 Half-Life 2 or Counter-Strike: Global Offensive Counter-Strike: Global Offensive) as a non-solid brush. func_brush with its Solidity property set to Never Solid will act the same, except it allows more options to be modified. This entity can be used for simplicity if less functionality is needed, as it is always non-solid.

Note.pngNote:This entity doesn't work inside func_instance, because it won't be rotated correctly.

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

See Also