config.cpp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #include "../../../RD501_main/config_macros.hpp"
  2. #include "../../_common/common.hpp"
  3. class CfgPatches
  4. {
  5. class macro_patch_name(super_mg)
  6. {
  7. author=DANKAUTHORS;
  8. addonRootClass= macro_patch_name(vehicle_weapons)
  9. requiredAddons[]=
  10. {
  11. macro_patch_name(vehicle_weapons)
  12. };
  13. requiredVersion=0.1;
  14. units[]={};
  15. weapons[]={
  16. macro_new_weapon(super_mg,z6),
  17. macro_new_weapon(super_mg,dlt19)
  18. };
  19. };
  20. };
  21. class CfgWeapons
  22. {
  23. class SW_Z6_base_F;
  24. class SWOP_Z6BLASTER:SW_Z6_base_F
  25. {
  26. class FullAuto1;
  27. class FullAuto2;
  28. };
  29. class macro_new_weapon(super_mg,z6) : SWOP_Z6BLASTER
  30. {
  31. scopeArsenal = 0;
  32. scope=2;
  33. magazineReloadTime=10;
  34. modes[] = {"FullAuto1", "medium1", "medium2", "far1", "far2"};
  35. dlc="RD501"
  36. author= "RD501";
  37. baseWeapon = macro_new_weapon(super_mg,z6) ;
  38. displayName = "Z6 Super Charged Rotary Blaster.";
  39. descriptionShort = "Super Charged Z6 for vehicle mounts";
  40. magazines[] = {
  41. macro_new_mag(supercharged_z6,400)
  42. };
  43. modes[] = {"FullAuto1", "medium1", "medium2", "far1", "far2"};
  44. class FullAuto1:FullAuto1
  45. {
  46. dispersion =0.0085;
  47. reloadTime = 0.03;
  48. };
  49. };
  50. class SWOP_BlasterRifle_Base;
  51. class SWOP_DLT19BlasterRifle:SWOP_BlasterRifle_Base
  52. {
  53. modes[] = {"Single", "FullAuto", "close", "short", "medium"};
  54. class FullAuto;
  55. };
  56. class macro_new_weapon(super_mg,dlt19) : SWOP_DLT19BlasterRifle
  57. {
  58. scopeArsenal = 0;
  59. magazineReloadTime=10;
  60. modes[] = {"FullAuto", "close", "short", "medium"};
  61. dlc="RD501"
  62. author= "RD501";
  63. baseWeapon = macro_new_weapon(super_mg,z6) ;
  64. displayName = "DLT-19 Super Charged Blaster Rifle.";
  65. descriptionShort = "Super Charged DLT-19 for vehicle mounts";
  66. magazines[] = {
  67. macro_new_mag(supercharged_dlt19,200)
  68. };
  69. modes[] = {"FullAuto1", "medium1", "medium2", "far1", "far2"};
  70. class FullAuto:FullAuto
  71. {
  72. dispersion =0.0017;
  73. reloadTime = 0.04;
  74. };
  75. };
  76. };