Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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" "1.00"
- "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"
- "MaxPlayerSpeed" 225
- "WeaponType" "Rifle"
- "FullAuto" 1
- "WeaponPrice" "3100"
- "WeaponArmorRatio" "1.4"
- "CrosshairMinDistance" "4"
- "CrosshairDeltaDistance" "3"
- "Team" "CT"
- "BuiltRightHanded" "1"
- "PlayerAnimationExtension" "m4"
- "CanEquipWithShield" "0"
- // Weapon characteristics:
- "Penetration" "2"
- "Damage" "33"
- "Range" "8192"
- "RangeModifier" "0.97"
- "Bullets" "1"
- "CycleTime" "0.09"
- "TimeToIdle" "1.5"
- "IdleInterval" "60"
- FlinchVelocityModifierLarge 0.40
- FlinchVelocityModifierSmall 0.55
- // accuracy model parameters
- "Spread" 0.60
- "InaccuracyCrouch" 3.68
- "InaccuracyStand" 4.90
- "InaccuracyJump" 0.640
- "InaccuracyLand" 0.192
- "InaccuracyLadder" 110.994
- "InaccuracyFire" 7.00
- "InaccuracyMove" 137.88
- "SpreadAlt" 0.45
- "InaccuracyCrouchAlt" 3.68
- "InaccuracyStandAlt" 4.90
- "InaccuracyJumpAlt" 0.656
- "InaccuracyLandAlt" 0.197
- "InaccuracyLadderAlt" 113.672
- "InaccuracyFireAlt" 6.34
- "InaccuracyMoveAlt" 122.00
- "RecoveryTimeCrouch" 0.302625
- "RecoveryTimeStand" 0.423676
- "RecoilSeed" 38965
- "RecoilAngle" 0
- "RecoilAngleVariance" 70
- "RecoilMagnitude" 23
- "RecoilMagnitudeVariance" 0
- // 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"
- // "SilencerModel" "models/weapons/w_rif_m4a1.mdl"
- "anim_prefix" "anim"
- "bucket" "0"
- "bucket_position" "0"
- "clip_size" "60"
- "default_clip" "-1"
- "default_clip2" "-1"
- "primary_ammo" "BULLET_PLAYER_556MM"
- "secondary_ammo" "None"
- "weight" "25"
- "item_flags" "0"
- "rumble" "4"
- // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
- SoundData
- {
- //"reload" "Weapon_AWP.Reload"
- //"empty" "Default.ClipEmpty_Rifle"
- "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"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement