config.cpp 710 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #include "../../../RD501_main/config_macros.hpp"
  2. #include "../../_common/common.hpp"
  3. class CfgPatches
  4. {
  5. class macro_patch_name(artillery_cannons)
  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(artillery,av76)
  17. };
  18. };
  19. };
  20. class CfgWeapons
  21. {
  22. class SW_155mm_AMOS;
  23. class macro_new_weapon(artillery,av76):SW_155mm_AMOS
  24. {
  25. magazines[] = {
  26. "32Rnd_155mm_Mo_shells",
  27. "4Rnd_155mm_Mo_guided",
  28. "6Rnd_155mm_Mo_mine",
  29. "2Rnd_155mm_Mo_Cluster",
  30. "6Rnd_155mm_Mo_smoke",
  31. "2Rnd_155mm_Mo_LG",
  32. "6Rnd_155mm_Mo_AT_mine"
  33. };
  34. }
  35. };