1
0

config.cpp 959 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #define COMPONENT Westar
  2. #include "../../RD501_main/config_macros.hpp"
  3. #include "../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(Westar)
  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(westar,m5),
  18. macro_new_weapon(westar,m5_gl),
  19. macro_new_weapon(westar,35)
  20. };
  21. };
  22. };
  23. class cfgWeapons
  24. {
  25. class Rifle_Long_Base_F;
  26. class SWOP_BlasterRifle_Base :Rifle_Long_Base_F
  27. {
  28. };
  29. class SWOP_WESTARM5_rifle: SWOP_BlasterRifle_Base
  30. {
  31. class OpticsModes;
  32. class Single;
  33. class FullAuto;
  34. };
  35. class SWOP_WESTARM5_GL: SWOP_BlasterRifle_Base
  36. {
  37. class OpticsModes;
  38. class Single;
  39. class FullAuto;
  40. class EGLM;
  41. };
  42. #include "westar_rifle.hpp"
  43. class Pistol_Base_F;
  44. class SWOP_Westar35Pistol: Pistol_Base_F
  45. {
  46. class Single;
  47. };
  48. #include "westar_pistol.hpp"
  49. };