config.cpp 959 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 Rifle_Base_F;
  26. class arifle_MX_Base_F: Rifle_Base_F
  27. { };
  28. class JLTS_SBB3: arifle_MX_Base_F
  29. {
  30. class Single: Mode_SemiAuto
  31. {};
  32. };
  33. class macro_new_weapon(cis,dgl): JLTS_SBB3
  34. {
  35. scope=2;
  36. scopeArsenal=2;
  37. JLTS_hasElectronics=0;
  38. recoil="recoil_mxm"
  39. baseWeapon=macro_new_weapon(cis,dgl)
  40. displayName="CIS Droid GL";
  41. ACE_Overheating_mrbs = 450000;
  42. magazines[]=
  43. {
  44. macro_new_mag(UGL_HE,6),
  45. macro_new_mag(UGL_AP,6)
  46. };
  47. class Single : Single
  48. {
  49. reloadTime=0.5;
  50. };
  51. };
  52. };