Env screenoverlay: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎Keyvalues: "second" -> "next")
Line 19: Line 19:


* '''OverlayTime''(1-10)'''''
* '''OverlayTime''(1-10)'''''
: <float> Amount of time that the overlay should be displayed for, after which it will begin showing the second overlay.
: <float> Amount of time that the overlay should be displayed for, after which it will begin showing the next overlay.


==Flags==
==Flags==

Revision as of 10:56, 25 September 2005

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 next 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