config.cpp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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 SWOP_Clones_HUD;
  47. class macro_new_glass(phase2_hud): SWOP_Clones_HUD
  48. {
  49. displayname = "Phase2 - CloneTrooper HUD";
  50. model = "\A3\Weapons_f\DummyNVG";
  51. author = "SWOP";
  52. scope = 2;
  53. scopeCurator = 2;
  54. scopeArsenal = 2;
  55. mode = 0;
  56. picture = "\SWOP_Main\NVG\hudCT_x_ca.paa";
  57. ACE_Overlay = macro_unit_skin_textures\glasses\phase2.paa;
  58. ace_overlayDirt = macro_unit_skin_textures\glasses\phase2dirt.paa;
  59. ace_dustPath = "";
  60. ACE_OverlayCracked = macro_unit_skin_textures\glasses\phase2crack.paa;
  61. ACE_Resistance = 2;
  62. ACE_Protection = 1;
  63. identityTypes[] = {};
  64. mass = 2;
  65. };
  66. class macro_new_glass(phase2_hud_snow): macro_new_glass(phase2_hud)
  67. {
  68. displayname = "Phase2 - CloneTrooper HUD(Snow)";
  69. ACE_Overlay = macro_unit_skin_textures\glasses\phase2.paa;
  70. ace_overlayDirt = macro_unit_skin_textures\glasses\phase2frozen.paa;
  71. ace_dustPath = "";
  72. ACE_OverlayCracked = macro_unit_skin_textures\glasses\phase2crack_frozen.paa;
  73. };
  74. class macro_new_glass(phase1_hud): macro_new_glass(phase2_hud)
  75. {
  76. displayname = "Phase1 - CloneTrooper HUD";
  77. ACE_Overlay = macro_unit_skin_textures\glasses\phase1.paa;
  78. ace_overlayDirt = "";
  79. ace_dustPath = "";
  80. ACE_OverlayCracked = "\SWOP_Main\NVG\hudgoogles_clonescracked.paa";
  81. ACE_Resistance = 2;
  82. ACE_Protection = 1;
  83. identityTypes[] = {};
  84. mass = 2;
  85. };
  86. class macro_new_glass(acklay_hud):macro_new_glass(phase2_hud)
  87. {
  88. displayname = "AB - CloneTrooper HUD";
  89. ACE_Overlay = macro_unit_skin_textures\glasses\HudAcklay.paa;
  90. ace_overlayDirt = macro_unit_skin_textures\glasses\HudAcklay.paa;
  91. ace_dustPath = "";
  92. ACE_OverlayCracked = macro_unit_skin_textures\glasses\HudAcklay.paa;
  93. }
  94. class macro_new_glass(dark_mask_2):g_balaclava_blk
  95. {
  96. Displayname="Stealth Balaclava (Dark)"
  97. hiddenSelectionsTextures[] = {"rd501_units\textures\glasses\dark_mask_2.paa"};
  98. }
  99. class macro_new_glass(remove_blue): macro_new_glass(phase2_hud)
  100. {
  101. displayName = "Color Suppression Chip (Blue)";
  102. author = DANKAUTHORS;
  103. picture = "RD501_Units\textures\icons\no_blue.paa"
  104. scope = 2;
  105. scopeCurator = 2;
  106. scopeArsenal = 2;
  107. modelOptics="";
  108. ace_color[] = {0.0,0.0,-200.0};
  109. ace_tintAmount = 1;
  110. ace_resistance = 1;
  111. ace_protection = 0;
  112. ACE_Overlay = "";
  113. ace_overlayDirt = "";
  114. ace_dustPath = "";
  115. ACE_OverlayCracked = "";
  116. }
  117. class macro_new_glass(remove_red): macro_new_glass(remove_blue)
  118. {
  119. displayName = "Color Suppression Chip (Red)";
  120. picture = "RD501_Units\textures\icons\no_red.paa"
  121. ace_color[] = {-150.0,0.0,0.0};
  122. }
  123. class macro_new_glass(remove_green): macro_new_glass(remove_blue)
  124. {
  125. displayName = "Color Suppression Chip (Green)";
  126. picture = "RD501_Units\textures\icons\no_green.paa"
  127. ace_color[] = {0.0,-100.0,0.0};
  128. }
  129. };