Env screenoverlay
Jump to navigation
Jump to search
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.