Func wall toggle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 9: Line 9:
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{kv targetname}}
* {{kv renderfields}}
* {{KV RenderFields}}
* {{KV Global}}
* {{KV Global}}
* {{kv shadow}}
* {{kv shadow}}

Revision as of 19:52, 19 January 2009

Template:Wrongtitle Legacy support only. Use func_brush instead.

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.

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

Keyvalues


Render Mode (rendermode) <byte choices>
Set a non-standard rendering mode on this entity.
Render Modes
  • 0: Normal
  • 1: Color
  • 2: Texture
  • 3: Glow
  • 4: Solid/Alphatest Obsolete
  • 5: Additive
  • 6: Removed, does nothing Obsolete
  • 7: Additive Fractional Frame
  • 8: Alpha Add
  • 9: World Space Glow
  • 10: Don't Render
Render FX (renderfx) <byte choices>
Various somewhat legacy alpha effects. See render effects.
Render Amount / Transparency (renderamt) <byte>
Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
Render Color (R G B) (rendercolor) <color255>
Color tint.
Global:
Global Entity Name (globalname) <string>
Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.
<integer> The minimum level of ambient light that hits this brush.

Flags

  • 1 : Starts Invisible

Inputs

  • 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 than 0.
Color <color255RedirectInput/color32>
Sets an RGB color for the entity.
  • 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 Portal 2)
This object will not receive light or shadows from projected textures.
EnableReceivingFlashlight  (in all games since Portal 2)
This object may receive light or shadows from projected textures.
  • Toggle
Toggle the brush on/off. When off, the brush will be non-solid and invisible.

Outputs