Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. WeaponData
  2. {
  3. // particle muzzle flash effect to play when fired
  4. MuzzleFlashEffect_1stPerson weapon_muzzle_flash_pistol
  5. MuzzleFlashEffect_3rdPerson weapon_muzzle_flash_pistol
  6. HeatEffect weapon_muzzle_smoke
  7. HeatPerShot 0.3
  8.  
  9. // model for the shell casing to eject when we fire bullets
  10. EjectBrassEffect weapon_shell_casing_9mm
  11.  
  12. // the tracer particle effect and frequency
  13. TracerEffect weapon_tracers_pistol
  14. // 0 = never, 1 = every shot, 2 = every other, etc
  15. TracerFrequency 1
  16.  
  17. MaxPlayerSpeed 240
  18. WeaponType Pistol
  19. FullAuto 1
  20. WeaponPrice 200
  21. WeaponArmorRatio 0.94
  22. CrosshairMinDistance 8
  23. CrosshairDeltaDistance 3
  24. Team TERRORIST
  25. BuiltRightHanded 1
  26. PlayerAnimationExtension pistol
  27.  
  28. CanEquipWithShield 1
  29.  
  30. // Weapon characteristics:
  31. Penetration 1
  32. Damage 28
  33. Range 4096
  34. RangeModifier 0.9
  35. Bullets 1
  36. CycleTime 0.05
  37.  
  38. FlinchVelocityModifierLarge 0.50
  39. FlinchVelocityModifierSmall 0.65
  40.  
  41. // accuracy model parameters
  42. Spread 1.5
  43. InaccuracyCrouch 2
  44. InaccuracyStand 2.5
  45. InaccuracyJump 0.3
  46. InaccuracyLand 0.09
  47. InaccuracyLadder 65
  48. InaccuracyFire 30
  49. InaccuracyMove 6
  50.  
  51. SpreadAlt 5.00
  52. InaccuracyCrouchAlt 1.00
  53. InaccuracyStandAlt 2.60
  54. InaccuracyJumpAlt 0.05
  55. InaccuracyLandAlt 0.6
  56. InaccuracyLadderAlt 40
  57. InaccuracyFireAlt 15
  58. InaccuracyMoveAlt 4
  59.  
  60. RecoveryTimeCrouch 0.276310
  61. RecoveryTimeStand 0.331572
  62.  
  63. RecoilAngle 0
  64. RecoilAngleVariance 20
  65. RecoilMagnitude 18
  66. RecoilMagnitudeVariance 0
  67. RecoilSeed 4484
  68.  
  69. RecoilAngleAlt 0
  70. RecoilAngleVarianceAlt 20
  71. RecoilMagnitudeAlt 30
  72. RecoilMagnitudeVarianceAlt 5
  73.  
  74. // Weapon data is loaded by both the Game and Client DLLs.
  75. printname #SFUI_WPNHUD_Glock18
  76. viewmodel models/weapons/v_pist_glock18.mdl
  77. playermodel models/weapons/w_pist_glock18.mdl
  78. shieldviewmodel models/weapons/v_shield_glock18_r.mdl
  79. anim_prefix anim
  80. bucket 1
  81. bucket_position 1
  82.  
  83. clip_size 20
  84. default_clip -1
  85. default_clip2 -1
  86.  
  87. primary_ammo BULLET_PLAYER_9MM
  88. secondary_ammo None
  89.  
  90. weight 5
  91. item_flags 0
  92.  
  93. rumble 1
  94.  
  95. // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 single_shot sounds)
  96. SoundData
  97. {
  98. //reload Default.Reload
  99. //empty Default.ClipEmpty_Rifle
  100. single_shot Weapon_Glock.Single
  101. }
  102.  
  103. // Weapon Sprite data is loaded by the Client DLL.
  104. TextureData
  105. {
  106. weapon
  107. {
  108. font CSweaponsSmall
  109. character C
  110. }
  111. weapon_s
  112. {
  113. font CSweapons
  114. character C
  115. }
  116. ammo
  117. {
  118. font CSTypeDeath
  119. character R
  120. }
  121. crosshair
  122. {
  123. file sprites/crosshairs
  124. x 0
  125. y 48
  126. width 24
  127. height 24
  128. }
  129. autoaim
  130. {
  131. file sprites/crosshairs
  132. x 0
  133. y 48
  134. width 24
  135. height 24
  136. }
  137. }
  138. ModelBounds
  139. {
  140. Viewmodel
  141. {
  142. Mins "-8 -4 -14"
  143. Maxs "17 9 -1"
  144. }
  145. World
  146. {
  147. Mins "-1 -3 -3"
  148. Maxs "11 4 4"
  149. }
  150. }
  151. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement