Difference between revisions of "CBreakable (CS)"

From AlliedModders Wiki
Jump to: navigation, search
(CBreakable offset list)
 
m (Fixed tree.)
Line 4: Line 4:
 
*[[CBaseEntity Offset List (Counter-Strike)|CBaseEntity]]
 
*[[CBaseEntity Offset List (Counter-Strike)|CBaseEntity]]
 
** [[CBaseDelay Offset List (Counter-Strike)|CBaseDelay]]
 
** [[CBaseDelay Offset List (Counter-Strike)|CBaseDelay]]
*** [[CBaseAnimating Offset List (Counter-Strike)|CBaseAnimating]]
 
 
*** '''CBreakable''' ''(func_breakable)''
 
*** '''CBreakable''' ''(func_breakable)''
 
**** [[CPushable Offset List (Counter-Strike)|CPushable ''(func_pushable)'']]
 
**** [[CPushable Offset List (Counter-Strike)|CPushable ''(func_pushable)'']]

Revision as of 17:14, 28 March 2009



W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_Material 36 41 +5 Materials None.
m_Explosion 37 42 +5 Explosions None.
m_idShard 38 43 +5 int None.
m_angle 39 44 +5 float None.
m_iszGibModel 40 45 +5 int None.
m_iszSpawnObject 41 46 +5 int None.

Constants

enum Explosions { expRandom, expDirected } 
enum Materials { matGlass = 0, matWood, matMetal, matFlesh, matCinderBlock, matCeilingTile, matComputer, matUnbreakableGlass, matRocks, matNone, matLastMaterial } 
 
#define	NUM_SHARDS 6 // this many shards spawned when breakable objects break;