You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
Entity that when triggered projects a single-color overlay onto the game scene. Useful for fading the scene in and out.
Attributes
Fade Alpha (renderamt) - The maximum alpha value of the overlay. Values 0 - 255 are accepted.
Fade Color (rendercolor) - The RGB color of the overlay. 255 255 255 is white, 0 0 0 is black.
Duration (duration) - Time (in seconds) for the fade in/out to complete.
Hold (holdtime) - How long the overlay stays on the maximum alpha value, until turning itself off.
Flags
Fade From (1) - When checked, the overlay starts at the maximum alpha value and goes in reverse.
Modulate (2) - An alternative rendering mode for the overlay. Multiplies the color of the overlay against the game scene - it's like the Multiply blend mode in GIMP/Photoshop.
User Only (4) - Display the overlay only on the client who's triggered it.
-- flag info: Rather than fully colouring up the entire screen, it acts as a layer of the chosen colour and FX, For example, if you make the FX 255, the colour red and tick the modulate flag, Your entire screen will be covered in red but you will still freely see, it will look as if your ordinary yellow light bulbs suddenly turn red.
-- flag info: Rather than fully colouring up the entire screen, it acts as a layer of the chosen colour and FX, For example, if you make the FX 255, the colour red and tick the modulate flag, Your entire screen will be covered in red but you will still freely see, it will look as if your ordinary yellow light bulbs suddenly turn red.
Source: http://zyl.pestermom.com/external/entguide/entities/env_fade.html.