Difference between revisions of "CFade (CS)"

From AlliedModders Wiki
Jump to: navigation, search
(Added CFade)
 
(No difference)

Latest revision as of 16:31, 17 May 2009


Basic Information

  • Classname: CFade.
  • Description: This entity can be used to fade the screen out/in.


Class Hierarchy


Entity Data

None.


Entity Attributes

  • Fade Alpha (renderamt)
  • Fade Color (rendercolor)
  • Duration - How long (or graduation) it takes to fade
  • Hold Fade - How long to hold the full fade effect after the fade in


Entity Flags

// pev->dmg_take is duration
// pev->dmg_save is hold duration
#define SF_FADE_IN	  0x0001  // Fade in, not out
#define SF_FADE_MODULATE  0x0002  // Modulate, don't blend
#define SF_FADE_ONLYONE	  0x0004


HLSDK Reference


Related Links