env_fade

An env_fade fades the screen of players to a color, or back from a color, each time you trigger it.
Attributes
targetnameTriggering the entity starts the fade. See Common keys.
durationSets how many seconds the fade takes.
If you leave this key empty, it is 0 and the screen changes at once.
2holdtimeSets how many seconds the screen stays fully faded after the fade, before it clears.
0renderamtSets how strong the fade is at its peak, from 0 for no fade up to 255, which covers the screen completely.
If you leave this key empty, it is 0 and you can't see the fade.
255rendercolorSets the color the screen fades to, as red, green and blue from 0 up to 255.
0 0 0Flags
1Fade FromThe screen starts at the fade color and fades back to normal. Without this flag, it fades from normal to the color
2ModulateThe color tints the screen, because it multiplies the colors of the picture. Without this flag, the color is painted over the picture
4Activator OnlyOnly the player who triggered the entity sees the fade. Without this flag, every player sees it
See also
env_shake- shakes the view of playerscolor_correction- changes the colors of the 3D view for as long as it is onenv_overlay- shows a picture over the screen
Changes since 1.38
- You can use the new flag Directional blind
