WeaponData { // particle muzzle flash effect to play when fired MuzzleFlashEffect_1stPerson weapon_muzzle_flash_assaultrifle MuzzleFlashEffect_3rdPerson weapon_muzzle_flash_assaultrifle HeatEffect weapon_muzzle_smoke HeatPerShot 0.35 AddonScale 0.90 AddonLocation primary_rifle // model for the shell casing to eject when we fire bullets EjectBrassEffect weapon_shell_casing_rifle // the tracer particle effect and frequency TracerEffect weapon_tracers_assrifle // 0 = never, 1 = every shot, 2 = every other, etc TracerFrequency 3 WeaponType Rifle FullAuto 1 CrosshairMinDistance 4 // 3 to 5 CrosshairDeltaDistance 3 // AK is uniquely 4 BuiltRightHanded 1 CanEquipWithShield 0 PlayerAnimationExtension m4 Team ANY MaxPlayerSpeed 220 // 215 to 225 WeaponPrice 3100 // 2000 to 3500 KillAward 300 WeaponArmorRatio 1.4 // 1.4 to 1.55 // Weapon characteristics: Penetration 2 Damage 30 // 30 to 36 Range 8192 clip_size 30 // 25 to 35 default_clip" -1 default_clip2" -1 RangeModifier 0.97 // 0.955 to 0.98 Bullets 1 CycleTime 0.09 // 0.09 to 0.1 TimeToIdle 1.5 // 1.1 to 1.9 IdleInterval 20 // M4A1 is uniquely 60 FlinchVelocityModifierLarge 0.40 FlinchVelocityModifierSmall 0.55 // Accuracy parameters: Spread 0.60 InaccuracyCrouch 4.00 // 2.8 to 7.39 InaccuracyStand 5.50 // 3.85 to 8.77 InaccuracyJump 0.640 // 0.627 to 0.852 InaccuracyLand 0.192 // 0.188 to 0.256 InaccuracyLadder 85.38 // 83.66 to 107.61 InaccuracyFire 6.83 // 6.16 to 8.78 InaccuracyMove 100.00 // 91.01 to 123.56 // Accuracy parameters for secondary fire mode ( burst or scoped ): SpreadAlt 0.60 InaccuracyCrouchAlt 3.00 // 1.98 to 4.84 InaccuracyStandAlt 5.00 // 2.65 to 7.78 InaccuracyJumpAlt 0.70 // 0.627 to 0.852 InaccuracyLandAlt 0.20 // 0.188 to 0.256 InaccuracyLadderAlt 100 // 83.66 to 113.58 InaccuracyFireAlt 5.00 // 3.35 to 6.68 InaccuracyMoveAlt 90.0 // 78.46 to 106.52 RecoveryTimeCrouch 0.34 // 0.302625 to 0.384861 RecoveryTimeStand 0.45 // 0.423676 to 0.538805 RecoilSeed 12345 RecoilAngle 0 RecoilAngleVariance 70 // Famas is uniquely 60 RecoilMagnitude 23 // 21 to 23, AK-47 is outlier at 30 RecoilMagnitudeVariance 1 // Weapon data is loaded by both the Game and Client DLLs. printname #SFUI_WPNHUD_M4A1 viewmodel models/weapons/v_rif_m4a1.mdl playermodel models/weapons/w_rif_m4a1.mdl anim_prefix anim bucket 0 bucket_position 0 primary_ammo BULLET_PLAYER_556MM // or BULLET_PLAYER_762MM secondary_ammo None weight 25 // Famas is uniquely 75 item_flags 0 rumble 4 // Famas is uniquely 3 // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 single_shot sounds) SoundData { single_shot Weapon_M4A1.Single // special1 Weapon_M4A1.Silenced // special2 Weapon_M4A1.Silencer_Off // special3 Weapon_M4A1.Silencer_On } // Weapon Sprite data is loaded by the Client DLL. TextureData { weapon { font CSweaponsSmall character W } weapon_s { font CSweapons character W } ammo { font CSTypeDeath character N } crosshair { file sprites/crosshairs x 0 y 48 width 24 height 24 } autoaim { file sprites/crosshairs x 0 y 48 width 24 height 24 } } ModelBounds { Viewmodel { Mins "-10 -2 -13" Maxs "30 10 0" } World { Mins "-8 -9 -6" Maxs "29 9 8" } } }