CBreakable (CS)

From AlliedModders Wiki
Revision as of 13:00, 26 March 2009 by Arkshine (talk | contribs) (CBreakable offset list)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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;