Skip to main content

env_fade

env_fade icon
Point entity

An env_fade fades the screen of players to a color, or back from a color, each time you trigger it.

Attributes​

KeyDescriptionDefault
Nametargetname

Triggering the entity starts the fade. See Common keys.

Durationduration

Sets how many seconds the fade takes.

If you leave this key empty, it is 0 and the screen changes at once.

Default 2
Hold Fadeholdtime

Sets how many seconds the screen stays fully faded after the fade, before it clears.

Default 0
Fade Alpharenderamt

Sets 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.

Default 255
Fade Colorrendercolor

Sets the color the screen fades to, as red, green and blue from 0 up to 255.

Default 0 0 0

Flags​

1Fade From

The screen starts at the fade color and fades back to normal. Without this flag, it fades from normal to the color

2Modulate

The color tints the screen, because it multiplies the colors of the picture. Without this flag, the color is painted over the picture

4Activator Only

Only the player who triggered the entity sees the fade. Without this flag, every player sees it

8Directional blindFeatureful

The strength of the fade for each player depends on how directly they look at the env_fade. It is at full strength when they look within about 30 degrees of it, weaker the further they look away, and nothing when it is beside or behind them

See also​

Changes since 1.38​

  • You can use the new flag Directional blind