Advertisement
Guest User

Untitled

a guest
Mar 12th, 2020
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. class CfgMods
  2. {
  3. class Mod_Base;
  4. class vil_PL_weapons: Mod_Base
  5. {
  6. author = "vilas";
  7. picture = "\vil_PL_weapons\ui\modico_ca.paa";
  8. logo = "\vil_PL_weapons\ui\modico_ca.paa";
  9. logoSmall = "\vil_PL_weapons\ui\modico_ca.paa";
  10. logoOver = "\vil_PL_weapons\ui\modico_ca.paa";
  11. tooltipOwned = "Vilas";
  12. fieldManualTopicAndHint[] = {"Vilas"};
  13. dlcColor[] = {0.4,0.4,0.3,1};
  14. overview = "Vilas";
  15. hideName = 1;
  16. hidePicture = 0;
  17. name = "Vilas";
  18. dir = "vil_PL_weapons";
  19.  
  20. };
  21. };
  22.  
  23. //////////////////////////////
  24.  
  25.  
  26. class vil_PL_G17g4: Pistol_Base_F
  27. {
  28. dlc = "vil_PL_weapons";
  29. author = "vilas";
  30. magazines[] = {"vil_glock_Mag", "vil_glock_subs_Mag"};
  31. reloadAction = "GestureReloadPistol";
  32. recoil = "recoil_pistol_p07";
  33. picture = "\vil_PL_weapons\ui\glock_ico_ca.paa";
  34. selectionFireAnim = "muzzleflash";
  35. modes[] = {"Single"};
  36. class Single: Mode_SemiAuto
  37. {
  38. sounds[] = {"StandardSound","SilencedSound"};
  39. class BaseSoundModeType;
  40. class StandardSound: BaseSoundModeType
  41. {
  42. soundSetShot[] = {"P07_Shot_SoundSet","P07_Tail_SoundSet","P07_InteriorTail_SoundSet"};
  43. };
  44. class SilencedSound: BaseSoundModeType
  45. {
  46. SoundSetShot[] = {"P07_silencerShot_SoundSet","P07_silencerTail_SoundSet","P07_silencerInteriorTail_SoundSet"};
  47. };
  48. recoil = "recoil_pistol_light";
  49. recoilProne = "recoil_prone_pistol_light";
  50. reloadTime = 0.12;
  51. dispersion = 0.0029;
  52. minRange = 5;
  53. minRangeProbab = 0.3;
  54. midRange = 25;
  55. midRangeProbab = 0.6;
  56. maxRange = 50;
  57. maxRangeProbab = 0.1;
  58. aiRateOfFire = 2;
  59. aiRateOfFireDistance = 25;
  60. };
  61. scope = 2;
  62. _generalMacro = "vil_PL_G17g4";
  63. baseWeapon = "vil_PL_G17g4";
  64. displayName = "Glock 17 Gen4";
  65. model = "\vil_PL_weapons\pistol\vil_glock17gen4.p3d";
  66. class WeaponSlotsInfo: WeaponSlotsInfo
  67. {
  68. class PointerSlot: PointerSlot
  69. {
  70. linkProxy = "\A3\data_f\proxies\weapon_slots\SIDE";
  71. compatibleItems[] = {"acc_flashlight_pistol"};
  72. iconPosition[] = {0.48,0.54};
  73. iconScale = 0.25;
  74. };
  75. class CowsSlot{};
  76. class MuzzleSlot{};
  77. };
  78. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement