config.cpp 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. #include "../RD501_main/config_macros.hpp"
  2. #define TEXTUREAB \RD501_Helmets\_textures\airborne
  3. class CfgPatches
  4. {
  5. class macro_patch_name(helmets)
  6. {
  7. author=DANKAUTHORS
  8. requiredAddons[]=
  9. {
  10. macro_lvl1_req
  11. };
  12. requiredVersion=0.1;
  13. units[]={};
  14. weapons[]={};
  15. };
  16. };
  17. class CfgWeapons
  18. {
  19. class itemCore;
  20. class HeadgearItem;
  21. class H_HelmetSpecB;
  22. //pilots
  23. class macro_new_helmet(pilot,base): itemCore//RD501_501st_Pilot_Base
  24. {
  25. scope = 2;
  26. author = "RD501";
  27. weaponPoolAvailable = 1;
  28. ace_hearing_protection = 0.85;
  29. ace_hearing_lowerVolume = 0.6;
  30. displayName = "Clone pilot helmet (501st legion)";
  31. picture = "\SWOP_clones\data\helmets\ico\ico_pilot.paa";
  32. //model = "SWOP_clones\helmet\CloneHelmetPilot.p3d";
  33. model = "\501st_helmets\AB\AB_helmet_p1.p3d";
  34. hiddenSelections[] = {
  35. "camo1",
  36. "mat"
  37. };
  38. hiddenSelectionsTextures[] = {
  39. "SWOP_clones\data\helmetsOther\clonePilotHelmet501.paa"
  40. };
  41. hiddenSelectionsMaterials[]=
  42. {
  43. "",
  44. "swop_clones\data\helmpilot.rvmat"// \501st_Helmets\AB\data\white_glow.rvmat
  45. };
  46. class ItemInfo: HeadgearItem
  47. {
  48. mass = 30;
  49. uniformmodel = "\501st_helmets\AB\AB_helmet_p1.p3d";//"SWOP_clones\helmet\CloneHelmetPilot.p3d";
  50. modelSides[] = {6};
  51. hiddenSelections[] = {
  52. "camo1",
  53. "mat"
  54. };
  55. material = -1;
  56. explosionShielding = 2.2;
  57. minimalHit = 0.01;
  58. passThrough = 0.01;
  59. class HitpointsProtectionInfo
  60. {
  61. class Head
  62. {
  63. hitpointName = "HitHead";
  64. armor = 50;
  65. passThrough = 0.6;
  66. };
  67. };
  68. };
  69. subItems[] = {macro_new_weapon(nvg_integrated,pilot_test),"G_B_Diving"};
  70. };
  71. class macro_new_helmet(pilot,lum_base): macro_new_helmet(pilot,base)
  72. {
  73. displayName = '[] LUM';
  74. scope=0;
  75. hiddenSelectionsMaterials[]=
  76. {
  77. "",
  78. "\501st_Helmets\AB\data\white_glow.rvmat"//"swop_clones\data\helmpilot.rvmat"// \501st_Helmets\AB\data\white_glow.rvmat
  79. };
  80. subItems[] = {macro_new_weapon(nvg_integrated,pilot_test),"G_B_Diving"};
  81. };
  82. class macro_new_helmet(pilot,gold): itemCore//RD501_501st_Pilot_Base
  83. {
  84. scope = 2;
  85. author = "RD501";
  86. weaponPoolAvailable = 1;
  87. ace_hearing_protection = 0.85;
  88. ace_hearing_lowerVolume = 0.6;
  89. displayName = "Clone pilot helmet (501st legion) Gold";
  90. picture = "\SWOP_clones\data\helmets\ico\ico_pilot.paa";
  91. //model = "SWOP_clones\helmet\CloneHelmetPilot.p3d";
  92. model = "\501st_helmets\AB\AB_helmet_p1.p3d";
  93. hiddenSelections[] = {
  94. "camo1",
  95. "mat"
  96. };
  97. hiddenSelectionsTextures[] = {
  98. macro_custom_helmet_textures\aviation\pilots\LordKrayt.paa
  99. };
  100. hiddenSelectionsMaterials[]=
  101. {
  102. "",
  103. "swop_clones\data\helmpilot.rvmat"//"swop_clones\data\helmpilot.rvmat"// \501st_Helmets\AB\data\white_glow.rvmat
  104. };
  105. class ItemInfo: HeadgearItem
  106. {
  107. mass = 30;
  108. uniformmodel = "\501st_helmets\AB\AB_helmet_p1_gold.p3d";//"SWOP_clones\helmet\CloneHelmetPilot.p3d";
  109. modelSides[] = {6};
  110. hiddenSelections[] = {
  111. "camo1",
  112. "mat"
  113. };
  114. material = -1;
  115. explosionShielding = 2.2;
  116. minimalHit = 0.01;
  117. passThrough = 0.01;
  118. class HitpointsProtectionInfo
  119. {
  120. class Head
  121. {
  122. hitpointName = "HitHead";
  123. armor = 50;
  124. passThrough = 0.6;
  125. };
  126. };
  127. };
  128. subItems[] = {macro_new_weapon(nvg_integrated,pilot_test),"G_B_Diving"};
  129. };
  130. //inf,arc
  131. class macro_new_helmet(infantry,base) : itemCore
  132. {
  133. scope = 2;
  134. author = "RD501";
  135. weaponPoolAvailable = 1;
  136. ace_hearing_protection = 0.85;
  137. ace_hearing_lowerVolume = 0.6;
  138. displayName = "Clonetrooper helmet (501st 'Dino')";
  139. picture = "\SWOP_clones\data\helmets\ico\Ico_helm_501.paa";
  140. model = "SWOP_clones\helmet\cloneHelmet.p3d";
  141. hiddenSelections[] = {"Camo1"};
  142. hiddenSelectionsTextures[] = {"SWOP_clones\data\helmets\Helmet501dino_co.paa"};
  143. class ItemInfo: HeadgearItem
  144. {
  145. mass = 30;
  146. uniformmodel = "SWOP_clones\helmet\cloneHelmet.p3d";
  147. modelSides[] = {6};
  148. hiddenSelections[] = {"Camo1"};
  149. material = -1;
  150. explosionShielding = 2.2;
  151. minimalHit = 0.01;
  152. passThrough = 0.01;
  153. class HitpointsProtectionInfo
  154. {
  155. class Head
  156. {
  157. hitpointName = "HitHead";
  158. armor = 50;
  159. passThrough = 0.6;
  160. };
  161. };
  162. };
  163. };
  164. class macro_new_helmet(infantry,lum_base) : itemCore
  165. {
  166. scope = 0;
  167. author = "RD501";
  168. weaponPoolAvailable = 1;
  169. ace_hearing_protection = 0.85;
  170. ace_hearing_lowerVolume = 0.6;
  171. displayName = "Clonetrooper helmet (501st)";
  172. picture = "\SWOP_clones\data\helmets\ico\Ico_helm_501.paa";
  173. model = "SWOP_clones\helmet\cloneHelmetLumVisor.p3d";//
  174. hiddenSelections[] = {"Camo1"};
  175. hiddenSelectionsTextures[] = {"SWOP_clones\data\helmets\Helmet501clutch_co.paa"};
  176. class ItemInfo: HeadgearItem
  177. {
  178. mass = 30;
  179. uniformmodel = "SWOP_clones\helmet\cloneHelmetLumVisor.p3d";//
  180. modelSides[] = {6};
  181. hiddenSelections[] = {"Camo1"};
  182. material = -1;
  183. explosionShielding = 2.2;
  184. minimalHit = 0.01;
  185. passThrough = 0.01;
  186. class HitpointsProtectionInfo
  187. {
  188. class Head
  189. {
  190. hitpointName = "HitHead";
  191. armor = 50;
  192. passThrough = 0.6;
  193. };
  194. };
  195. };
  196. };
  197. //AB
  198. class macro_new_helmet(airborne,base): H_HelmetSpecB
  199. {
  200. author = "";
  201. scope = 2;
  202. displayName = "Clone airborne helmet";
  203. model = "\501st_helmets\AB\AB_helmet.p3d";
  204. ace_hearing_protection = 0.85;
  205. ace_hearing_lowerVolume = 0.6;
  206. hiddenSelections[] = {
  207. "camo1",
  208. "mat"
  209. };
  210. hiddenSelectionsTextures[] = {
  211. "\501st_helmets\AB\data\AB_helmet_co.paa"
  212. };
  213. hiddenSelectionsMaterials[]=
  214. {
  215. "501st_helmets\ab\data\ab_helmet.rvmat",
  216. "501st_helmets\ab\data\ab_helmet.rvmat"
  217. };
  218. picture = TEXTUREAB\helmet_icon.paa
  219. class ItemInfo: HeadgearItem
  220. {
  221. mass = 10;
  222. uniformModel = "\501st_helmets\AB\AB_helmet.p3d";
  223. allowedSlots[] = {801,901,701,605};
  224. modelSides[] = {6};
  225. hiddenSelections[] = {
  226. "camo1",
  227. "mat"
  228. };
  229. class HitpointsProtectionInfo
  230. {
  231. class Head
  232. {
  233. hitpointName = "HitHead";
  234. armor = 60;
  235. passThrough = 0.5;
  236. };
  237. };
  238. };
  239. };
  240. class macro_new_helmet(airborne,lum_base): macro_new_helmet(airborne,base)//H_HelmetSpecB
  241. {
  242. author = "";
  243. scope = 0;
  244. displayName = "[LUMMMMMM]";
  245. hiddenSelectionsTextures[]=
  246. {
  247. "\RD501_Helmets\_textures\airborne\airKrayt.paa"
  248. };
  249. hiddenSelectionsMaterials[]=
  250. {
  251. "",
  252. "\501st_Helmets\AB\data\white_glow.rvmat"
  253. };
  254. };
  255. #include "_includes/_base_swop_helmets.hpp"
  256. };