CBreakable (CS)

From AlliedModders Wiki
Revision as of 01:59, 13 August 2009 by Arkshine (talk | contribs)
Jump to: navigation, search



W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_Material 36 41 +4 Materials None.
m_Explosion 37 42 +4 Explosions None.
m_idShard 38 43 +4 int None.
m_angle 39 44 +4 float None.
m_iszGibModel 40 45 +4 int None.
m_iszSpawnObject 41 46 +4 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;