config.cpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. macro_new_weapon_nofam(t21)
  18. };
  19. };
  20. };
  21. class cfgWeapons
  22. {
  23. class arifle_MX_Base_F;
  24. class JLTS_EPL2:arifle_MX_Base_F
  25. {
  26. class Single;
  27. }
  28. class macro_new_weapon_nofam(t21):JLTS_EPL2
  29. {
  30. baseWeapon=macro_new_weapon_nofam(t21)
  31. displayname="Republic T21 R.A.M.E.R."
  32. ACE_Overheating_mrbs = 300000;
  33. ace_overheating_allowSwapBarrel = 1;
  34. magazines[]=
  35. {
  36. macro_new_mag(50mw,10)
  37. };
  38. class Single : Single
  39. {
  40. reloadTime=0.24;
  41. }
  42. class WeaponSlotsInfo
  43. {
  44. mass = 30;
  45. class CowsSlot
  46. {
  47. displayName = "Optics Slot";
  48. iconPicture = "\A3\Weapons_F\Data\UI\attachment_top.paa";
  49. iconPinpoint = "Bottom";
  50. iconPosition[] = {0.5,0.35};
  51. iconScale = 0.2;
  52. linkProxy = "\A3\data_f\proxies\weapon_slots\TOP";
  53. scope = 0;
  54. compatibleItems[] =
  55. {
  56. "RD501_Holosight",
  57. "RD501_Holosight_2",
  58. "RD501_Holosight_3"
  59. };
  60. };
  61. };
  62. };
  63. };