Difference between revisions of "CC4 (CS)"

From AlliedModders Wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
** [[CBaseDelay (CS)|CBaseDelay]]
 
** [[CBaseDelay (CS)|CBaseDelay]]
 
*** [[CBaseAnimating (CS)|CBaseAnimating]]
 
*** [[CBaseAnimating (CS)|CBaseAnimating]]
**** [[CBaseToggle (CS)|CBaseToggle]]
+
**** [[CBasePlayerItem (CS)|CBasePlayerItem]]
***** [[CBaseMonster (CS)|CBaseMonster]]  
+
***** [[CBasePlayerWeapon (CS)|CBasePlayerWeapon]]
****** [[CGrenade (CS)|CGrenade]]
+
****** [[CC4 (CS)|CC4]] '''(weapon_c4)'''
******* [[CC4 (CS)|CC4]]
 
  
  
Line 26: Line 25:
 
! Name !! W. Offset !! L. Offset !! L. Diff !! Type !! Description
 
! Name !! W. Offset !! L. Offset !! L. Diff !! Type !! Description
 
|- class="t2td"
 
|- class="t2td"
| m_Activity
+
| m_bStartedArming
| style="text-align:center" | 73
 
 
| style="text-align:center" | 78
 
| style="text-align:center" | 78
| style="text-align:center" | +5
+
| style="text-align:center" | 82
| style="text-align:center" | Activity
+
| style="text-align:center" | +4
| What the monster/player is doing (animation). ( See [http://svn.tcwonline.org/viewvc.cgi/hlsdk/dlls/activity.h?view=markup&root=amxmodx animation.h] )
+
| style="text-align:center" | BOOL
 +
| 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" | 80
 +
| style="text-align:center" | 84
 +
| style="text-align:center" | +4
 +
| style="text-align:center" | float
 +
| Time left to get c4 armed.
 +
|}
 +
 
  
  
Line 37: Line 52:
  
 
<pawn>
 
<pawn>
#define WEAPON_C4         6
+
#define WEAPON_C4           6
  
 
#define C4_MAXSPEED     250.0
 
#define C4_MAXSPEED     250.0

Latest revision as of 16:12, 11 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 80 84 +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