Effect flags (GoldSrc)

From Valve Developer Community
Revision as of 15:09, 11 August 2024 by SirYodaJedi (talk | contribs) (Created page with "{{tabs|Effect flags|goldsrc=1|source=1}}{{stub}} A set of bitflags for configuring client-side visual effects. == Flags == <source> #define EF_BRIGHTFIELD 1 // swirling clo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

A set of bitflags for configuring client-side visual effects.

Flags

#define	EF_BRIGHTFIELD			1	// swirling cloud of particles
#define	EF_MUZZLEFLASH 			2	// single frame ELIGHT on entity attachment 0
#define	EF_BRIGHTLIGHT 			4	// DLIGHT centered at entity origin
#define	EF_DIMLIGHT 			8	// player flashlight
#define EF_INVLIGHT				16	// get lighting from ceiling
#define EF_NOINTERP				32	// don't interpolate the next frame
#define EF_LIGHT				64	// rocket flare glow sprite
#define EF_NODRAW				128	// don't draw entity
#define EF_NIGHTVISION			256 // player nightvision
#define EF_SNIPERLASER			512 // sniper laser effect
#define EF_FIBERCAMERA			1024// fiber camera