config.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #define COMPONENT DC_19
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(dc_19)
  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(DC,19)
  18. };
  19. };
  20. };
  21. class cfgWeapons
  22. {
  23. class SWOP_BlasterRifle_Base;
  24. class SWOP_DC19: SWOP_BlasterRifle_Base
  25. {
  26. class Single;
  27. };
  28. class macro_new_weapon(DC,19):SWOP_DC19
  29. {
  30. displayName="DC-19";
  31. scope=2;
  32. scopeArsenal=2;
  33. weaponPoolAvailable = 1;
  34. dlc = "RD501";
  35. author= "RD501";
  36. baseWeapon = macro_new_weapon(DC,19);
  37. DC_Family_Flashlight
  38. ACE_Overheating_Dispersion = DC15a_Overheat_Dispersion
  39. ACE_Overheating_SlowdownFactor = DC15a_Overheat_SlowdownFactor
  40. ACE_Overheating_JamChance = DC15a_Overheat_JamChance
  41. ACE_overheating_mrbs = DC15a_Overheat_mrbs
  42. ACE_overheating_allowSwapBarrel = 1;
  43. ACE_clearJamAction = "ReloadMagazine";
  44. modes[] = {"Single", "close", "short", "medium"};
  45. class Single:Single
  46. {
  47. reloadTime = DC19_reloadtime_single
  48. dispersion = DC19_accuracy
  49. };
  50. };
  51. };