custom_1911.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // 1911
  2. WeaponData
  3. {
  4. // Weapon data is loaded by both the Game and Client DLLs.
  5. "printname" "#HL2_Pistol"
  6. "viewmodel" "models/weapons/v_pist_92fs.mdl"
  7. "playermodel" "models/weapons/w_pist_92fs.mdl"
  8. "anim_prefix" "pistol"
  9. "bucket" "1"
  10. "bucket_position" "2"
  11. "clip_size" "8"
  12. "primary_ammo" "Nerv_45"
  13. "secondary_ammo" "None"
  14. "weight" "2"
  15. "item_flags" "0"
  16. "ironsightoffset"
  17. {
  18. "x" "-13"
  19. "y" "-5.5"
  20. "z" "4.2"
  21. }
  22. // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
  23. SoundData
  24. {
  25. "reload" "Weapon_1911.Reload"
  26. "reload_npc" "Weapon_1911.NPC_Reload"
  27. "empty" "Weapon_Pistol.Empty"
  28. "single_shot" "Weapon_1911.Single"
  29. "single_shot_npc" "Weapon_1911.NPC_Single"
  30. "special1" "Weapon_1911.Special1"
  31. "special2" "Weapon_1911.Special2"
  32. "burst" "Weapon_1911.Burst"
  33. }
  34. // Weapon Sprite data is loaded by the Client DLL.
  35. TextureData
  36. {
  37. "weapon"
  38. {
  39. "font" "WeaponIcons"
  40. "character" "d"
  41. }
  42. "weapon_s"
  43. {
  44. "font" "WeaponIconsSelected"
  45. "character" "d"
  46. }
  47. "ammo"
  48. {
  49. "font" "WeaponIcons"
  50. "character" "p"
  51. }
  52. "crosshair"
  53. {
  54. "font" "Crosshairs"
  55. "character" "Q"
  56. }
  57. "autoaim"
  58. {
  59. "file" "sprites/crosshairs"
  60. "x" "0"
  61. "y" "48"
  62. "width" "24"
  63. "height" "24"
  64. }
  65. }
  66. }