config.cpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #include "../../RD501_main/config_macros.hpp"
  2. #include "../_common/common.hpp"
  3. class CfgPatches
  4. {
  5. class RD501_patch_ramer
  6. {
  7. author="RD501";
  8. addonRootClass="RD501_patch_weapons";
  9. requiredAddons[]=
  10. {
  11. "RD501_patch_weapons"
  12. };
  13. requiredVersion=0.1;
  14. units[]={};
  15. weapons[]=
  16. {
  17. "RD501_RAMER",
  18. macro_new_weapon_nofam(t21)
  19. };
  20. };
  21. };
  22. class cfgWeapons
  23. {
  24. class arifle_MX_Base_F;
  25. class JLTS_EPL2:arifle_MX_Base_F
  26. {
  27. class Single;
  28. }
  29. class macro_new_weapon_nofam(t21):JLTS_EPL2
  30. {
  31. baseWeapon=macro_new_weapon_nofam(t21)
  32. displayname="T21 R.A.M.E.R."
  33. magazines[]=
  34. {
  35. macro_new_mag(50mw,10)
  36. };
  37. class Single : Single
  38. {
  39. reloadTime=2;
  40. }
  41. class WeaponSlotsInfo
  42. {
  43. mass = 30;
  44. class CowsSlot
  45. {
  46. displayName = "Optics Slot";
  47. iconPicture = "\A3\Weapons_F\Data\UI\attachment_top.paa";
  48. iconPinpoint = "Bottom";
  49. iconPosition[] = {0.5,0.35};
  50. iconScale = 0.2;
  51. linkProxy = "\A3\data_f\proxies\weapon_slots\TOP";
  52. scope = 0;
  53. compatibleItems[] =
  54. {
  55. "RD501_Holosight",
  56. "RD501_Holosight_2",
  57. "RD501_Holosight_3"
  58. };
  59. };
  60. };
  61. };
  62. };