Difference between revisions of "CBreakable (CS)"

From AlliedModders Wiki
Jump to: navigation, search
m (Fixed tree.)
(No difference)

Revision as of 07:57, 17 April 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;