config.cpp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #define COMPONENT DC_15l
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(dc_15l)
  7. {
  8. author="RD501";
  9. addonRootClass= macro_patch_name(weapons)
  10. requiredAddons[]=
  11. {
  12. macro_patch_name(weapons)
  13. };
  14. requiredVersion=0.1;
  15. units[]={};
  16. weapons[]={
  17. macro_new_weapon(DC,15l),
  18. };
  19. };
  20. };
  21. class CfgWeapons
  22. {
  23. class UnderBarrelSlot;
  24. class 3AS_DC15L_Base_F;
  25. class 3AS_DC15L_F:3AS_DC15L_Base_F
  26. {
  27. class FullAuto;
  28. class Single;
  29. class WeaponSlotsInfo
  30. {
  31. class CowsSlot;
  32. class MuzzleSlot;
  33. class UnderBarrelSlot;
  34. };
  35. };
  36. class macro_new_weapon(DC,15l):3AS_DC15L_F
  37. {
  38. displayName="Republic DC-15L";
  39. recoil="recoil_mmg_02";
  40. deployedPivot="bipod";
  41. dispersion=0.00145;
  42. ACE_overheating_mrbs = 3000000000;
  43. magazines[]=
  44. {
  45. macro_new_mag(20mw,240)
  46. };
  47. class FullAuto:FullAuto
  48. {
  49. reloadTime=0.08;
  50. dispersion=0.00145;
  51. };
  52. class Single : Single
  53. {
  54. reloadTime=0.08;
  55. dispersion=0.00145;
  56. };
  57. class WeaponSlotsInfo: WeaponSlotsInfo
  58. {
  59. mass = 30;
  60. class CowsSlot: CowsSlot
  61. {
  62. access = 1;
  63. compatibleItems[] =
  64. {
  65. macro_new_weapon(scope,dc_15a_acogtcw)
  66. };
  67. };
  68. class UnderBarrelSlot:UnderBarrelSlot
  69. {
  70. linkProxy="\A3\Data_F_Mark\Proxies\Weapon_Slots\UNDERBARREL";
  71. compatibleItems[]=
  72. {
  73. "bipod_01_F_blk",
  74. };
  75. iconPicture="\A3\Weapons_F_Mark\Data\UI\attachment_under.paa";
  76. iconPinpoint="Bottom";
  77. };
  78. class MuzzleSlot: MuzzleSlot
  79. {
  80. linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
  81. displayName="$str_a3_cfgweapons_abr_base_f_weaponslotsinfo_muzzleslot0";
  82. compatibleItems[]=
  83. {
  84. "RD501_muzzle_flash"
  85. };
  86. iconPicture="\A3\Weapons_F\Data\UI\attachment_muzzle.paa";
  87. iconPinpoint="Center";
  88. };
  89. };
  90. };
  91. };