Difference between revisions of "CLightning (CS)"

From AlliedModders Wiki
Jump to: navigation, search
(CLightning offset list)
 
m
Line 4: Line 4:
 
* [[CBaseEntity Offset List (Counter-Strike)|CBaseEntity]]
 
* [[CBaseEntity Offset List (Counter-Strike)|CBaseEntity]]
 
** [[CBeam Offset List (Counter-Strike)|CBeam ''(beam)'']]
 
** [[CBeam Offset List (Counter-Strike)|CBeam ''(beam)'']]
*** '''CLightning''' ''(env_lightning)''
+
*** '''CLightning''' ''(env_lightning, env_beam)''
  
  

Revision as of 13:42, 28 March 2009



W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_active 34 39 +5 int None.
m_iszStartEntity 35 40 +5 int None.
m_iszEndEntity 36 41 +5 int None.
m_life 37 42 +5 float None.
m_boltWidth 38 43 +5 int None.
m_noiseAmplitude 39 44 +5 int None.
m_brightness 40 45 +5 int None.
m_speed 41 46 +5 int None.
m_restrike 42 47 +5 float None.
m_spriteTexture 43 48 +5 int None.
m_iszSpriteName 44 49 +5 int None.
m_frameStart 45 50 +5 int None.
m_radius 46 51 +5 float None.


Constants

// Spawn Flags
#define SF_BEAM_STARTON		0x0001
#define SF_BEAM_TOGGLE		0x0002
#define SF_BEAM_RANDOM		0x0004
#define SF_BEAM_RING		0x0008
#define SF_BEAM_SPARKSTART	0x0010
#define SF_BEAM_SPARKEND	0x0020
#define SF_BEAM_DECALS		0x0040
#define SF_BEAM_SHADEIN		0x0080
#define SF_BEAM_SHADEOUT	0x0100
#define SF_BEAM_TEMPORARY	0x8000