Difference between revisions of "CC4 (CS)"

From AlliedModders Wiki
Jump to: navigation, search
(Entity Data)
Line 25: Line 25:
 
! Name !! W. Offset !! L. Offset !! L. Diff !! Type !! Description
 
! Name !! W. Offset !! L. Offset !! L. Diff !! Type !! Description
 
|- class="t2td"
 
|- class="t2td"
| x
+
| m_bStartedArming
| style="text-align:center" | x
+
| style="text-align:center" | 78
| style="text-align:center" | x
+
| style="text-align:center" | 82
| style="text-align:center" | +5
+
| style="text-align:center" | +4
| style="text-align:center" | x
+
| style="text-align:center" | BOOL
| x
+
| The bomb is currently in arming state.
 +
|- class="t2td"
 +
| m_bBombPlacedAnimation
 +
| style="text-align:center" | 79
 +
| style="text-align:center" | 83
 +
| style="text-align:center" | +4
 +
| style="text-align:center" | BOOL
 +
| Whether or not the bomb has places. It's used to control viewmodel animation.
 +
|- class="t2td"
 +
| m_fArmedTime
 +
| style="text-align:center" | 79
 +
| style="text-align:center" | 83
 +
| style="text-align:center" | +4
 +
| style="text-align:center" | float
 +
| Time left to get c4 armed.
 
|}
 
|}
  

Revision as of 14:19, 9 April 2010


Basic Information

  • Classname: CC4.
  • Description: C4 Explosive (C4) for CS.


Class Hierarchy


Entity Data

W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_bStartedArming 78 82 +4 BOOL The bomb is currently in arming state.
m_bBombPlacedAnimation 79 83 +4 BOOL Whether or not the bomb has places. It's used to control viewmodel animation.
m_fArmedTime 79 83 +4 float Time left to get c4 armed.

Entity Information

#define WEAPON_C4          6
 
#define C4_MAXSPEED	     250.0
#define C4_WEIGHT	     3
#define C4_DEFAULT_GIVE      1
#define C4_MAX_CARRY	     1