config.cpp 955 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #define COMPONENT DGL
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(dgl)
  7. {
  8. author=DANKAUTHORS;
  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(cis,dgl)
  18. };
  19. };
  20. };
  21. class Mode_SemiAuto;
  22. class Mode_FullAuto;
  23. class cfgWeapons
  24. {
  25. class arifle_MX_Base_F;
  26. class JLTS_SBB3: arifle_MX_Base_F
  27. {
  28. class Single: Mode_SemiAuto
  29. {};
  30. };
  31. class macro_new_weapon(cis,dgl): JLTS_SBB3
  32. {
  33. scope=2;
  34. scopeArsenal=2;
  35. JLTS_hasElectronics=0;
  36. recoil="recoil_mxm"
  37. baseWeapon=macro_new_weapon(cis,dgl)
  38. displayName="CIS Droid GL";
  39. ACE_Overheating_mrbs = 450000;
  40. magazines[]=
  41. {
  42. macro_new_mag(UGL_HE,6),
  43. macro_new_mag(UGL_AP,6)
  44. };
  45. modes[]=
  46. {
  47. "SingleDGL"
  48. };
  49. class SingleDGL : Single
  50. {
  51. reloadTime=1;
  52. };
  53. };
  54. };