Difference between revisions of "CAK47 (CS)"

From AlliedModders Wiki
Jump to: navigation, search
(Created page with 'Category:CS Class List * CBaseEntity ** CBaseDelay *** CBaseAnimating **** [[CBasePlayerItem (CS)|CBasePlay...')
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:CS Class List]]
 
[[Category:CS Class List]]
  
 +
== Basic Information ==
 +
 +
* '''Classname''': CAK47. <br />
 +
* '''Description''': Avtomat Kalashnikova 47 (AK47) weapon for CS. <br />
 +
 +
 +
== Class Hierarchy ==
  
 
* [[CBaseEntity (CS)|CBaseEntity]]
 
* [[CBaseEntity (CS)|CBaseEntity]]
Line 6: Line 13:
 
*** [[CBaseAnimating (CS)|CBaseAnimating]]
 
*** [[CBaseAnimating (CS)|CBaseAnimating]]
 
**** [[CBasePlayerItem (CS)|CBasePlayerItem]]
 
**** [[CBasePlayerItem (CS)|CBasePlayerItem]]
***** '''CBasePlayerWeapon'''
+
***** [[CBasePlayerWeapon (CS)|CBasePlayerWeapon]]
 
****** [[CAK47 (CS)|CAK47 ''(weapon_ak47)'']]
 
****** [[CAK47 (CS)|CAK47 ''(weapon_ak47)'']]
  
  
 +
== Entity Data ==
  
 
<tt>''W = Windows'' |</tt><tt> ''L = Linux''</tt>
 
<tt>''W = Windows'' |</tt><tt> ''L = Linux''</tt>
Line 28: Line 36:
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | float
 
| style="text-align:center" | float
| None.
+
| Default value: 0.2.
 
|- class="t2td"
 
|- class="t2td"
 
| m_iShotsFired
 
| m_iShotsFired
Line 35: Line 43:
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | int
 
| style="text-align:center" | int
| None.
+
| Amount of shots fired at once.
 
|- class="t2td"
 
|- class="t2td"
 
| n_iShell
 
| n_iShell
Line 42: Line 50:
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | int
 
| style="text-align:center" | int
| None.
+
| Model index for shells (model: "models/rshell.mdl").
 
|- class="t2td"
 
|- class="t2td"
 
| m_usEvent
 
| m_usEvent
Line 49: Line 57:
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | int
 
| style="text-align:center" | int
| None.
+
| Event index as of precache_event (event: "events/ak47.sc").
 
|}
 
|}
 +
 +
 +
== Entity Information ==
 +
 +
<pawn>
 +
#define WEAPON_AK47        28
 +
 +
#define AK47_MAXSPEED      221.0
 +
#define AK47_WEIGHT        25
 +
#define AK47_DEFAULT_GIVE  30
 +
#define AK47_MAX_CARRY    90
 +
#define AK47_MAX_CLIP      30
 +
</pawn>

Latest revision as of 16:03, 11 April 2010


Basic Information

  • Classname: CAK47.
  • Description: Avtomat Kalashnikova 47 (AK47) weapon for CS.


Class Hierarchy


Entity Data

W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_bDelayFire 59 63 +4 BOOL None.
m_flAccuracy 62 66 +4 float Default value: 0.2.
m_iShotsFired 64 68 +4 int Amount of shots fired at once.
n_iShell 78 82 +4 int Model index for shells (model: "models/rshell.mdl").
m_usEvent 80 84 +4 int Event index as of precache_event (event: "events/ak47.sc").


Entity Information

#define WEAPON_AK47        28
 
#define AK47_MAXSPEED      221.0
#define AK47_WEIGHT        25
#define AK47_DEFAULT_GIVE  30
#define AK47_MAX_CARRY     90
#define AK47_MAX_CLIP      30