CGlow (CS)

From AlliedModders Wiki
Revision as of 16:02, 17 May 2009 by Arkshine (talk | contribs) (Added CGlow)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Basic Information

  • Classname: CGlow.
  • Description: Based on the env_sprite, this entity was specifically designed to create light halo effects.


Class Hierarchy


Entity Data

W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_lastTime 34 39 +5 float None.
m_maxFrame 35 40 +5 float None.


Entity Attributes

  • Name (targetname) - Property used to identify entities.
  • Render FX (renderfx) - Gives objects special render effects. Think of it as modifying whatever the Render Mode puts out. The options are as follows:
0 = Normal
1 = Slow Pulse
2 = Fast Pulse
3 = Slow Wide Pulse
4 = Fast Wide Pulse
5 = Slow Fade Away
6 = Fast Fade Away
7 = Slow Become Solid
8 = Fast Become Solid
9 = Slow Strobe
10 = Fast Strobe
11 = Faster Strobe
12 = Slow Flicker
13 = Fast Flicker
14 = Constant Glow
15 = Distort
16 = Hologram (Distort and Fade)
  • Render Mode (rendermode) - Controls the type of rendering that is used for an object. Options are:
0 = Normal
1 = Color
2 = Texture
3 = Glow
4 = Solid
5 = Additive
  • FX Amount (renderamt)
  • FX Color (rendercolor)
  • Sprite (model) - The sprite to be used by the entity. The default is 'sprites/glow01.spr', but you can see them all by browsing the 'sprites' folder in the 'pak0.pak' file.
  • Scale (scale) - The scale that the sprite should be drawn at.


HLSDK Reference


Related Links