Env screenoverlay

From Valve Developer Community
Revision as of 22:16, 23 September 2005 by Ts2do (talk | contribs)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

An entity that can display and control a set of screen overlays, to be displayed over the player's view. Useful for view effects like drunkenness, or teleporter afterimages, etc.

Textures

The following standard textures are meant to work with this entity (this list may be incomplete):

  • effects/combine_binocoverlay
  • effects/tp_eyefx/tpeye
  • effects/tp_eyefx/tpeye2
  • effects/tp_eyefx/tpeye3

Keyvalues

  • OverlayName(1-10)
<material> Name of the overlay material to display.
  • OverlayTime(1-10)
<float> Amount of time that the overlay should be displayed for, after which it will begin showing the second overlay.

Flags

  • 1 : Allow Suit Zoom

Inputs

  • StartOverlays
Start displaying the first overlay.
  • StopOverlays
Stop displaying any overlays.
  • SwitchOverlay <integer>
Switch to displaying a specific overlay. Pass in the desired overlay number in the parameter.

Outputs