config.cpp 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. #include "../config_macros.hpp"
  2. #include "config_macros.hpp"
  3. #include "../../RD501_main/config_macros.hpp"
  4. //
  5. #define macro_new_glass(className) CONCAT_3(MODNAME,_,className)
  6. class CfgPatches
  7. {
  8. class RD501_patch_other_units
  9. {
  10. addonRootClass=RD501_patch_units;
  11. requiredAddons[]=
  12. {
  13. MACRO_QUOTE(RD501_patch_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 = macro_quote(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. class 501st_inf_acc_01_a
  77. {
  78. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  79. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  80. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  81. ACE_Resistance = 2;
  82. displayname = "[501st] INF ACC 01 A";
  83. identityTypes[] = {};
  84. mass = 4;
  85. model = "\MRC\JLTS\characters\CloneArmor\CloneVestRecon.p3d";
  86. hiddenSelections[] = {"camo1"};
  87. hiddenSelectionsTextures[] = {TEXTUREPATH\Republic\clones\Infantry\acc\sr_nco_acc.paa};
  88. name = "None";
  89. scope = 2;
  90. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestHeavy_ui_ca.paa";
  91. };
  92. class 501st_inf_acc_01_b
  93. {
  94. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  95. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  96. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  97. ACE_Resistance = 2;
  98. displayname = "[501st] INF ACC 01 B";
  99. identityTypes[] = {};
  100. mass = 4;
  101. model = "\MRC\JLTS\characters\CloneArmor\CloneVestSuspender.p3d";
  102. hiddenSelections[] = {"camo1"};
  103. hiddenSelectionsMaterials[]= {"\MRC\JLTS\characters\CloneArmor\data\Clone_vest_suspender.rvmat","\MRC\JLTS\characters\CloneArmor\data\Clone_vest_suspender_cloth.rvmat"};
  104. hiddenSelectionsTextures[] = {"\MRC\JLTS\characters\CloneArmor\data\Clone_vest_suspender_co.paa"};
  105. name = "None";
  106. scope = 2;
  107. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestSuspender_ui_ca.paa";
  108. };
  109. class 501st_inf_acc_01_c
  110. {
  111. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  112. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  113. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  114. ACE_Resistance = 2;
  115. displayname = "[501st] INF ACC 01 C";
  116. identityTypes[] = {};
  117. mass = 4;
  118. model = "\MRC\JLTS\characters\CloneArmor\CloneVestAirborne.p3d";
  119. hiddenSelections[] = {"camo1","camo2"};
  120. hiddenSelectionsTextures[] = {"", TEXTUREPATH\Republic\clones\Infantry\acc\trooper_heavy_acc.paa};
  121. hiddenSelectionsMaterials[]= {""};
  122. name = "None";
  123. scope = 2;
  124. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestHeavy_ui_ca.paa";
  125. };
  126. class 501st_inf_acc_01_c_medic
  127. {
  128. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  129. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  130. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  131. ACE_Resistance = 2;
  132. displayname = "[501st] INF ACC 01 C (Medic)";
  133. identityTypes[] = {};
  134. mass = 4;
  135. model = "\MRC\JLTS\characters\CloneArmor\CloneVestAirborne.p3d";
  136. hiddenSelections[] = {"camo1","camo2"};
  137. hiddenSelectionsTextures[] = {"",TEXTUREPATH\Republic\clones\Infantry\acc\medic_heavy_acc.paa};
  138. hiddenSelectionsMaterials[]= {""};
  139. name = "None";
  140. scope = 2;
  141. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestHeavy_ui_ca.paa";
  142. };
  143. class 501st_inf_acc_01_c_rto
  144. {
  145. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  146. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  147. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  148. ACE_Resistance = 2;
  149. displayname = "[501st] INF ACC 01 C (RTO)";
  150. identityTypes[] = {};
  151. mass = 4;
  152. model = "\MRC\JLTS\characters\CloneArmor\CloneVestAirborne.p3d";
  153. hiddenSelections[] = {"camo1","camo2"};
  154. hiddenSelectionsTextures[] = {"",TEXTUREPATH\Republic\clones\Infantry\acc\rto_heavy_acc.paa};
  155. hiddenSelectionsMaterials[]= {""};
  156. name = "None";
  157. scope = 2;
  158. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestHeavy_ui_ca.paa";
  159. };
  160. class 501st_inf_acc_02
  161. {
  162. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  163. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  164. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  165. ACE_Resistance = 2;
  166. displayname = "[501st] INF ACC 02";
  167. identityTypes[] = {};
  168. mass = 4;
  169. model = "\MRC\JLTS\characters\CloneArmor\CloneVestReconNCO.p3d";
  170. hiddenSelections[] = {"Camo1"};
  171. hiddenSelectionsTextures[] = {"MRC\JLTS\characters\CloneArmor\data\Clone_vest_heavy_co.paa"};
  172. name = "None";
  173. scope = 2;
  174. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestHeavy_ui_ca.paa";
  175. };
  176. class 501st_inf_acc_03
  177. {
  178. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  179. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  180. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  181. ACE_Resistance = 2;
  182. displayname = "[501st] INF ACC 03";
  183. identityTypes[] = {};
  184. mass = 4;
  185. model = "\MRC\JLTS\characters\CloneArmor\CloneVestReconNCO.p3d";
  186. hiddenSelections[] = {"camo2"};
  187. hiddenSelectionsTextures[] = {TEXTUREPATH\Republic\clones\Infantry\acc\sr_nco_acc.paa};
  188. name = "None";
  189. scope = 2;
  190. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestHeavy_ui_ca.paa";
  191. };
  192. class 501st_inf_acc_03_b
  193. {
  194. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  195. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  196. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  197. ACE_Resistance = 2;
  198. displayname = "[501st] INF ACC 03 Medic";
  199. identityTypes[] = {};
  200. mass = 4;
  201. model = "\MRC\JLTS\characters\CloneArmor\CloneVestReconNCO.p3d";
  202. hiddenSelections[] = {"camo2"};
  203. hiddenSelectionsTextures[] = {TEXTUREPATH\Republic\clones\Infantry\acc\inf_medic_nco.paa};
  204. name = "None";
  205. scope = 2;
  206. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestHeavy_ui_ca.paa";
  207. };
  208. class 501st_inf_acc_03_c
  209. {
  210. ACE_Overlay = "RD501_Units\textures\glasses\phase2.paa";
  211. ACE_OverlayCracked = "RD501_Units\textures\glasses\phase2crack.paa";
  212. ace_overlayDirt = "RD501_Units\textures\glasses\phase2dirt.paa";
  213. ACE_Resistance = 2;
  214. displayname = "[501st] INF ACC 03 RTO ";
  215. identityTypes[] = {};
  216. mass = 4;
  217. model = "\MRC\JLTS\characters\CloneArmor\CloneVestReconNCO.p3d";
  218. hiddenSelections[] = {"camo2"};
  219. hiddenSelectionsTextures[] = {TEXTUREPATH\Republic\clones\Infantry\acc\inf_rto_nco.paa};
  220. name = "None";
  221. scope = 2;
  222. picture = "\MRC\JLTS\characters\CloneArmor\data\ui\CloneVestHeavy_ui_ca.paa";
  223. };
  224. };