CBreakable (CS)

From AlliedModders Wiki
Revision as of 01:01, 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 40 +4 Materials None.
m_Explosion 37 41 +4 Explosions None.
m_idShard 38 42 +4 int None.
m_angle 39 43 +4 float None.
m_iszGibModel 40 44 +4 int None.
m_iszSpawnObject 41 45 +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;