Env screenoverlay
Jump to navigation
Jump to search
Entity Description
Entity Name: env_screenoverlay
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.
Keyvalues
- OverlayName1
- <string> Name of the first overlay material to display.
- OverlayTime1
- <float> Amount of time that the first overlay should be displayed for, after which it will begin showing the second overlay.
- OverlayName2
- <string> Name of the second overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime2
- <float> Amount of time that the second overlay should be displayed for, after which it will begin showing the third overlay.
- OverlayName3
- <string> Name of the third overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime3
- <float> Amount of time that the third overlay should be displayed for, after which it will begin showing the fourth overlay.
- OverlayName4
- <string> Name of the fourth overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime4
- <float> Amount of time that the fourth overlay should be displayed for, after which it will begin showing the fifth overlay.
- OverlayName5
- <string> Name of the fifth overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime5
- <float> Amount of time that the fifth overlay should be displayed for, after which it will begin showing the sixth overlay.
- OverlayName6
- <string> Name of the sixth overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime6
- <float> Amount of time that the sixth overlay should be displayed for, after which it will begin showing the seventh overlay.
- OverlayName7
- <string> Name of the seventh overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime7
- <float> Amount of time that the seventh overlay should be displayed for, after which it will begin showing the eighth overlay.
- OverlayName8
- <string> Name of the eighth overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime8
- <float> Amount of time that the eighth overlay should be displayed for, after which it will begin showing the ninth overlay.
- OverlayName9
- <string> Name of the ninth overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime9
- <float> Amount of time that the ninth overlay should be displayed for, after which it will begin showing the tenth overlay.
- OverlayName10
- <string> Name of the tenth overlay material to display. If left blank, overlay displaying will finish, and this entity will consider itself done.
- OverlayTime10
- <float> Amount of time that the tenth overlay should be displayed for, after which this entity will stop displaying overlays.
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.