Func illusionary: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (updated template usage.)
Line 1: Line 1:
{{lang|Func illusionary}}
{{base brush|func_illusionary}}
{{base brush|func_illusionary}}
{{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.


==Entity description==
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.}}
func_illusionary is a brush entity that has no collisions.
 
Originally added as a legacy entity from [[Half-Life]] provided for backwards compatibility, Valve has also used it in Source games to have a non-solid brush (such as Half-Life 2 or Counter-Strike Global Offensive). It doesn't work inside [[func_instance]], because it won't be rotated correctly. [[func_brush]] with its ''Solidity'' property set to ''Never Solid'' will act the same, however allows more options to be modified.
This entity can be used for simplicity if less functionality is needed, as it is always non-solid.
 
== Keyvalues ==
== Keyvalues ==
{{KV|Minimum Light Level|intn=_minlight|string|The minimum level of ambient light that hits this brush.}}
{{KV BaseEntity}}
{{KV Targetname}}
{{KV visiblebrush}}
{{KV Parentname with warning}}
{{KV Origin}}
{{KV RenderFields}}
{{KV Shadow}}


== Inputs ==
== Inputs ==
{{I BaseEntity}}
{{I BaseEntity}}
{{I Parentname}}
{{I visiblebrush|portal2=1}}
{{I RenderFields}}
{{I Shadow}}


== Outputs ==
== Outputs ==
{{O BaseEntity}}
{{O BaseEntity|l4d=1}}


==See also==
==See Also==
* [[func_brush]]
* {{ent|func_brush}}

Revision as of 12:35, 6 June 2022

English (en)Translate (Translate)

Template:Base brush

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

Entity Description

func_illusionary is a brush entity that has no collisions.

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

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.

Inputs

SetDamageFilter <targetnameRedirectInput/string>
Sets a filter for this entity for when it receives damage.
EnableDamageForces
Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
DisableDamageForces
Prevents the entity from being pushed by damage done to it.
Todo: move/mention at proper place

Outputs

See Also