config.cpp 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #include "../config_macros.hpp"
  2. #include "config_macros.hpp"
  3. #include "../../RD501_main/config_macros.hpp"
  4. //
  5. #define macro_new_glass(className) MODNAME##_##className
  6. class CfgPatches
  7. {
  8. class macro_patch_name(other_units)
  9. {
  10. addonRootClass=macro_patch_name(units);
  11. requiredAddons[]=
  12. {
  13. macro_patch_name(units)
  14. };
  15. requiredVersion=0.1;
  16. units[]={
  17. };
  18. weapons[]=
  19. {
  20. macro_new_glass(Diving_Goggles),
  21. macro_new_glass(phase2_hud),
  22. macro_new_glass(phase2_hud_snow),
  23. macro_new_glass(phase1_hud),
  24. macro_new_glass(acklay_hud),
  25. macro_new_glass(dark_mask_2)
  26. };
  27. };
  28. };
  29. class CfgGlasses
  30. {
  31. class G_B_Diving;
  32. class G_Diving;
  33. class g_balaclava_ti_blk_f;
  34. class g_balaclava_blk;
  35. class macro_new_glass(Diving_Goggles): G_B_Diving
  36. {
  37. author = "rd501";
  38. displayname = "Republic Underwater Display";
  39. scope=2;
  40. scopeArsenal=2
  41. picture = "\A3\Characters_F_EPB\Heads\Glasses\data\UI\icon_g_diving_nato_ca.paa";
  42. hiddenSelections[] = {"camo"};
  43. hiddenSelectionsTextures[] = {""};
  44. mass = 0.1;
  45. };
  46. class macro_new_glass(remove_blue): macro_new_glass(Diving_Goggles)
  47. {
  48. displayName = "Color Suppression Chip (Blue)";
  49. author = DANKAUTHORS;
  50. picture = "\RD501_Units\textures\icons\no_blue.paa"
  51. scope = 2;
  52. scopeCurator = 2;
  53. scopeArsenal = 2;
  54. modelOptics="";
  55. ace_color[] = {0.0,0.0,-200.0};
  56. ace_tintAmount = 1;
  57. ace_resistance = 1;
  58. ace_protection = 0;
  59. ACE_Overlay = "";
  60. ace_overlayDirt = "";
  61. ace_dustPath = "";
  62. ACE_OverlayCracked = "";
  63. }
  64. class macro_new_glass(remove_red): macro_new_glass(remove_blue)
  65. {
  66. displayName = "Color Suppression Chip (Red)";
  67. picture = "\RD501_Units\textures\icons\no_red.paa"
  68. ace_color[] = {-150.0,0.0,0.0};
  69. }
  70. class macro_new_glass(remove_green): macro_new_glass(remove_blue)
  71. {
  72. displayName = "Color Suppression Chip (Green)";
  73. picture = "\RD501_Units\textures\icons\no_green.paa"
  74. ace_color[] = {0.0,-100.0,0.0};
  75. }
  76. };