Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. WeaponData
  2. {
  3. // particle muzzle flash effect to play when fired
  4. "MuzzleFlashEffect_1stPerson" "weapon_muzzle_flash_assaultrifle"
  5. "MuzzleFlashEffect_3rdPerson" "weapon_muzzle_flash_assaultrifle"
  6. "HeatEffect" "weapon_muzzle_smoke"
  7. "HeatPerShot" "0.35"
  8. "AddonScale" "1.00"
  9. "AddonLocation" "primary_rifle"
  10.  
  11. // model for the shell casing to eject when we fire bullets
  12. "EjectBrassEffect" "weapon_shell_casing_rifle"
  13.  
  14. // the tracer particle effect and frequency
  15. "TracerEffect" "weapon_tracers_assrifle"
  16. // 0 = never, 1 = every shot, 2 = every other, etc
  17. "TracerFrequency" "3"
  18.  
  19. "MaxPlayerSpeed" 225
  20. "WeaponType" "Rifle"
  21. "FullAuto" 1
  22. "WeaponPrice" "3100"
  23. "WeaponArmorRatio" "1.4"
  24. "CrosshairMinDistance" "4"
  25. "CrosshairDeltaDistance" "3"
  26. "Team" "CT"
  27. "BuiltRightHanded" "1"
  28. "PlayerAnimationExtension" "m4"
  29.  
  30. "CanEquipWithShield" "0"
  31.  
  32.  
  33. // Weapon characteristics:
  34. "Penetration" "2"
  35. "Damage" "33"
  36. "Range" "8192"
  37. "RangeModifier" "0.97"
  38. "Bullets" "1"
  39. "CycleTime" "0.09"
  40. "TimeToIdle" "1.5"
  41. "IdleInterval" "60"
  42. FlinchVelocityModifierLarge 0.40
  43. FlinchVelocityModifierSmall 0.55
  44.  
  45. // accuracy model parameters
  46. "Spread" 0.60
  47. "InaccuracyCrouch" 3.68
  48. "InaccuracyStand" 4.90
  49. "InaccuracyJump" 0.640
  50. "InaccuracyLand" 0.192
  51. "InaccuracyLadder" 110.994
  52. "InaccuracyFire" 7.00
  53. "InaccuracyMove" 137.88
  54.  
  55. "SpreadAlt" 0.45
  56. "InaccuracyCrouchAlt" 3.68
  57. "InaccuracyStandAlt" 4.90
  58. "InaccuracyJumpAlt" 0.656
  59. "InaccuracyLandAlt" 0.197
  60. "InaccuracyLadderAlt" 113.672
  61. "InaccuracyFireAlt" 6.34
  62. "InaccuracyMoveAlt" 122.00
  63.  
  64. "RecoveryTimeCrouch" 0.302625
  65. "RecoveryTimeStand" 0.423676
  66.  
  67. "RecoilSeed" 38965
  68.  
  69. "RecoilAngle" 0
  70. "RecoilAngleVariance" 70
  71. "RecoilMagnitude" 23
  72. "RecoilMagnitudeVariance" 0
  73.  
  74. // Weapon data is loaded by both the Game and Client DLLs.
  75. "printname" "#SFUI_WPNHUD_M4A1"
  76. "viewmodel" "models/weapons/v_rif_m4a1.mdl"
  77. "playermodel" "models/weapons/w_rif_m4a1.mdl"
  78. // "SilencerModel" "models/weapons/w_rif_m4a1.mdl"
  79.  
  80. "anim_prefix" "anim"
  81. "bucket" "0"
  82. "bucket_position" "0"
  83.  
  84. "clip_size" "60"
  85. "default_clip" "-1"
  86. "default_clip2" "-1"
  87.  
  88. "primary_ammo" "BULLET_PLAYER_556MM"
  89. "secondary_ammo" "None"
  90.  
  91. "weight" "25"
  92. "item_flags" "0"
  93.  
  94. "rumble" "4"
  95.  
  96. // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
  97. SoundData
  98. {
  99. //"reload" "Weapon_AWP.Reload"
  100. //"empty" "Default.ClipEmpty_Rifle"
  101. "single_shot" "Weapon_M4A1.Single"
  102. "special1" "Weapon_M4A1.Silenced"
  103. // "special2" "Weapon_M4A1.Silencer_Off"
  104. // "special3" "Weapon_M4A1.Silencer_On"
  105. }
  106.  
  107. // Weapon Sprite data is loaded by the Client DLL.
  108. TextureData
  109. {
  110. "weapon"
  111. {
  112. "font" "CSweaponsSmall"
  113. "character" "W"
  114. }
  115. "weapon_s"
  116. {
  117. "font" "CSweapons"
  118. "character" "W"
  119. }
  120. "ammo"
  121. {
  122. "font" "CSTypeDeath"
  123. "character" "N"
  124. }
  125. "crosshair"
  126. {
  127. "file" "sprites/crosshairs"
  128. "x" "0"
  129. "y" "48"
  130. "width" "24"
  131. "height" "24"
  132. }
  133. "autoaim"
  134. {
  135. "file" "sprites/crosshairs"
  136. "x" "0"
  137. "y" "48"
  138. "width" "24"
  139. "height" "24"
  140. }
  141. }
  142. ModelBounds
  143. {
  144. Viewmodel
  145. {
  146. Mins "-10 -2 -13"
  147. Maxs "30 10 0"
  148. }
  149. World
  150. {
  151. Mins "-8 -9 -6"
  152. Maxs "29 9 8"
  153. }
  154. }
  155. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement