Env screenoverlay: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Keyvalues: "second" -> "next")
No edit summary
Line 1: Line 1:
{{wrongtitle|title=env_screenoverlay}}
{{wrongtitle|title=env_screenoverlay}}
[[Image:env_screenoverlay.jpg|thumb|300px|right|env_screenoverlay in practice using effects/combine_binocoverlay]]


==Entity Description==
==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.
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==
==Textures==
The following standard textures are meant to work with this entity (this list may be incomplete):
The following standard textures are meant to work with this entity (this list may be incomplete):
* effects/combine_binocoverlay
* effects/combine_binocoverlay
Line 43: Line 47:


[[Category:Entities]]
[[Category:Entities]]
[[Category:Special Effects]]
[[Category:Abstract Mapping]]

Revision as of 14:36, 5 March 2006

Template:Wrongtitle

env_screenoverlay in practice using effects/combine_binocoverlay

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