Difference between revisions of "CDEAGLE (CS)"

From AlliedModders Wiki
Jump to: navigation, search
(Created page with 'Category:CS Class List == Basic Information == * '''Classname''': CDEAGLE. <br /> * '''Description''': Desert Deagle (DEAGLE) weapong for CS. <br /> == Class Hierarchy ...')
 
 
(7 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
**** [[CBasePlayerItem (CS)|CBasePlayerItem]]
 
**** [[CBasePlayerItem (CS)|CBasePlayerItem]]
 
***** [[CBasePlayerWeapon (CS)|CBasePlayerWeapon]]
 
***** [[CBasePlayerWeapon (CS)|CBasePlayerWeapon]]
****** [[CDEAGLE (CS)|CDEAGLE]]
+
****** [[CDEAGLE (CS)|CDEAGLE]] '''(weapon_deagle)'''
  
  
Line 52: Line 52:
 
| style="text-align:center" | int
 
| style="text-align:center" | int
 
| Amount of shots fired at once.
 
| Amount of shots fired at once.
 +
|- class="t2td"
 +
| m_iViewModel
 +
| style="text-align:center" | 68
 +
| style="text-align:center" | 72
 +
| style="text-align:center" | +4
 +
| style="text-align:center" | int
 +
| Model index for viewmodel.
 +
|- class="t2td"
 +
| m_fWeaponState
 +
| style="text-align:center" | 74
 +
| style="text-align:center" | 78
 +
| style="text-align:center" | +4
 +
| style="text-align:center" | int
 +
| Bit flag status of weapon silencer/shield
 +
<pawn>
 +
( 1 << 0 ) : USP_SILENCED
 +
( 1 << 2 ) : M4A1_SILENCED
 +
( 1 << 5 ) : SHIELD_ARMED</pawn>
 
|- class="t2td"
 
|- class="t2td"
 
| n_iShell
 
| n_iShell
Line 58: Line 76:
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | int
 
| style="text-align:center" | int
| Model index for shells (model: "models/rshell.mdl").
+
| Model index for shells (model: "models/pshell.mdl").
 
|- class="t2td"
 
|- class="t2td"
 
| m_usEvent
 
| m_usEvent
| style="text-align:center" | 80
+
| style="text-align:center" | 79
| style="text-align:center" | 84
+
| style="text-align:center" | 83
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | int
 
| style="text-align:center" | int
 
| Event index as of precache_event (event: "events/deagle.sc").
 
| Event index as of precache_event (event: "events/deagle.sc").
 
|}
 
|}
 
  
  
Line 73: Line 90:
  
 
<pawn>
 
<pawn>
#define WEAPON_C4            6
+
#define WEAPON_DEAGLE        26
  
#define C4_MAXSPEED     250.0
+
#define DEAGLE_WEIGHT        7
#define C4_WEIGHT     3
+
#define DEAGLE_DEFAULT_GIVE  7
#define C4_DEFAULT_GIVE      1
+
#define DEAGLE_MAX_CARRY    35
#define C4_MAX_CARRY     1
+
#define DEAGLE_MAX_CLIP     7
 
</pawn>
 
</pawn>

Latest revision as of 16:11, 11 April 2010


Basic Information

  • Classname: CDEAGLE.
  • Description: Desert Deagle (DEAGLE) weapong for CS.


Class Hierarchy


Entity Data

W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_flWeaponSpeed 58 62 +4 float Weapon max speed.
m_flAccuracy 62 66 +4 BOOL Default value: 0.90.
m_flLastFire 63 67 +4 float The time of the last shoot.
m_iShotsFired 64 68 +4 int Amount of shots fired at once.
m_iViewModel 68 72 +4 int Model index for viewmodel.
m_fWeaponState 74 78 +4 int Bit flag status of weapon silencer/shield
( 1 << 0 ) : USP_SILENCED
( 1 << 2 ) : M4A1_SILENCED
( 1 << 5 ) : SHIELD_ARMED
n_iShell 78 82 +4 int Model index for shells (model: "models/pshell.mdl").
m_usEvent 79 83 +4 int Event index as of precache_event (event: "events/deagle.sc").


Entity Information

#define WEAPON_DEAGLE        26
 
#define DEAGLE_WEIGHT        7
#define DEAGLE_DEFAULT_GIVE  7
#define DEAGLE_MAX_CARRY     35
#define DEAGLE_MAX_CLIP      7