config.cpp 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. #define COMPONENT aviation_helmets
  2. #define BASEHELMNAME MODNAME##_501st_Pilot_Base
  3. #include "../../RD501_main/config_macros.hpp"
  4. #include "config_macros.cpp"
  5. class CfgPatches
  6. {
  7. class RD501_patch_aviation_helmets
  8. {
  9. author=RD501;
  10. addonRootClass= RD501_patch_helmets;
  11. requiredAddons[]={"212th_Helmets"};
  12. requiredVersion=0.1;
  13. units[]={};
  14. weapons[]={};
  15. };
  16. };
  17. class CfgWeapons
  18. {
  19. class H_HelmetB;
  20. class HeadgearItem;
  21. class macro_new_helmet(pilot,base):H_HelmetB
  22. {
  23. displayname = Clone Pilot Base Model;
  24. scopeArsenal = 2;
  25. hiddenSelectionsTextures[]=
  26. {
  27. "RD501_Helmets\_textures\aviation\clonePilotHelmet_co.paa"
  28. };
  29. hiddenSelectionsMaterials[]=
  30. {
  31. "",
  32. ""
  33. };
  34. class ItemInfo;
  35. };
  36. class macro_new_helmet(3as_pilot,base): H_HelmetB
  37. {
  38. author="$STR_3rd_Studios";
  39. scope=2;
  40. weaponPoolAvailable=1;
  41. displayName="[501st] AVI HELM (Base)";
  42. picture="3AS\3AS_Characters\Clones\Headgear\ui\p2pilot_ui_ca.paa";
  43. model="\3AS\3AS_Characters\Clones\Headgear\3AS_Clone_Pilot_P2.p3d";
  44. hiddenSelections[]=
  45. {
  46. "Camo"
  47. };
  48. hiddenSelectionsTextures[]=
  49. {
  50. "3AS\3AS_Characters\Clones\Headgear\Textures\PilotP2\Phase2_Pilot_Razor_co.paa"
  51. };
  52. class ItemInfo: HeadgearItem
  53. {
  54. mass=40;
  55. uniformModel="\3AS\3AS_Characters\Clones\Headgear\3AS_Clone_Pilot_P2.p3d";
  56. hiddenSelections[]=
  57. {
  58. "Camo"
  59. };
  60. modelSides[]={3,1};
  61. class HitpointsProtectionInfo
  62. {
  63. class Head
  64. {
  65. hitpointName="HitHead";
  66. armor=6;
  67. passThrough=0.5;
  68. };
  69. };
  70. };
  71. };
  72. class macro_new_helmet(3as_pilot,base_2): H_HelmetB
  73. {
  74. author="$STR_3rd_Studios";
  75. scope=2;
  76. weaponPoolAvailable=1;
  77. displayName="[501st] AVI HELM (Base 2)";
  78. picture="3AS\3AS_Characters\Clones\Headgear\ui\p2pilot_ui_ca.paa";
  79. model="\3AS\3AS_Characters\Clones\Headgear\3AS_Clone_Pilot_P2.p3d";
  80. hiddenSelections[]=
  81. {
  82. "Camo"
  83. };
  84. hiddenSelectionsTextures[]=
  85. {
  86. "3AS\3AS_Characters\Clones\Headgear\Textures\PilotP2\Phase2_Pilot_Razor_co.paa"
  87. };
  88. class ItemInfo: HeadgearItem
  89. {
  90. mass=40;
  91. uniformModel="\3AS\3AS_Characters\Clones\Headgear\3AS_Clone_Pilot_P2_alt.p3d";
  92. hiddenSelections[]=
  93. {
  94. "Camo"
  95. };
  96. modelSides[]={3,1};
  97. class HitpointsProtectionInfo
  98. {
  99. class Head
  100. {
  101. hitpointName="HitHead";
  102. armor=6;
  103. passThrough=0.5;
  104. };
  105. };
  106. };
  107. };
  108. class macro_new_helmet(3as_pilot,base_p3): H_HelmetB
  109. {
  110. scope=2;
  111. displayName="[501st] AVI HELM P3 (Base)";
  112. model="3AS\3AS_Characters\Clones\Headgear\3AS_Clone_Pilot_P3.p3d";
  113. hiddenSelections[]=
  114. {
  115. "Camo",
  116. "Camo1"
  117. };
  118. hiddenSelectionsTextures[]=
  119. {
  120. "3AS\3AS_Characters\Clones\Headgear\Textures\PilotP3\Phase3_Pilot_Helmet_501st_co.paa",
  121. "3AS\3AS_Characters\Clones\Headgear\Textures\PilotP3\Phase3_Pilot_Tubes_501st_co.paa"
  122. };
  123. class ItemInfo: HeadgearItem
  124. {
  125. mass=40;
  126. uniformModel="3AS\3AS_Characters\Clones\Headgear\3AS_Clone_Pilot_P3.p3d";
  127. hiddenSelections[]=
  128. {
  129. "Camo",
  130. "Camo1"
  131. };
  132. };
  133. };
  134. NEW_501_Pilot_HELM(cxx,CX-X,pilots\cxx.paa)
  135. NEW_501_Pilot_HELM(cxc,CX-C,pilots\cxc.paa)
  136. NEW_501_Pilot_HELM(dylan,Dylan,pilots\Dylanhelmet.paa)
  137. NEW_501_Pilot_HELM(exose,Exose,pilots\Exose.paa)
  138. NEW_501_Pilot_HELM(jackson,Jackson,pilots\Jackson.paa)
  139. NEW_501_Pilot_HELM(jaisus,Jaisus,pilots\Jaisus.paa)
  140. NEW_501_Pilot_HELM(keryl,Keryl,pilots\keryl.paa)
  141. NEW_501_Pilot_HELM(kaj,Kaj,pilots\Kaj.paa)
  142. NEW_501_Pilot_HELM(kushiban,Kushiban,pilots\Kushiban.paa)
  143. NEW_501_Pilot_HELM(orange,Orange,pilots\orange.paa)
  144. NEW_501_Pilot_HELM(Galaxy,Galaxy,pilots\Galaxy.paa)
  145. NEW_501_Pilot_HELM(Floff,Floff,pilots\Floff.paa)
  146. NEW_501_Pilot_HELM(Shnuffles,Shnuffles,pilots\Shnuffles.paa)
  147. NEW_501_Pilot_HELM(Shock,Shock,pilots\Shock.paa)
  148. NEW_501_Pilot_HELM(Ethan,Ethan,pilots\Ethan.paa)
  149. NEW_501_Pilot_HELM(Duncan,Duncan,pilots\Duncan.paa)
  150. NEW_501_Pilot_HELM(Neb,Neb,pilots\Neb.paa)
  151. NEW_501_Pilot_HELM(Salvatore,Salvatore,pilots\Salvatore.paa)
  152. NEW_3AS_Pilot_HELM(Kushiban,Kushiban,pilots\Kushiban1)
  153. NEW_3AS_Pilot_HELM(Shnuffles,Shnuffles,pilots\Shnuffles1)
  154. class macro_new_helmet(pilot,scuba): macro_new_helmet(pilot,base)
  155. {
  156. scope = 2;
  157. displayName = "[501st] AVI HELM ('Scuba')";
  158. hiddenSelectionsTextures[] = {macro_custom_helmet_textures\aviation\pilots\scuba_helm.paa};
  159. subItems[] = {"G_B_Diving"};
  160. hiddenSelectionsMaterials[]=
  161. {
  162. "",
  163. "\501st_Helmets\AB\data\white_glow.rvmat"
  164. //"\501st_Helmets\AB\data\red_glow.rvmat"//"swop_clones\data\helmpilot.rvmat"//"\501st_Helmets\AB\data\white_glow.rvmat"
  165. };
  166. };
  167. class macro_new_helmet(pilot,zatama): macro_new_helmet(pilot,base)
  168. {
  169. scope = 2;
  170. displayName = "[501st] AVI HELM ('Zatama')";
  171. hiddenSelectionsTextures[] = {macro_custom_helmet_textures\aviation\pilots\DragonGemHelm.paa};
  172. subItems[] = {"G_B_Diving"};
  173. hiddenSelectionsMaterials[]=
  174. {
  175. "",
  176. "\501st_Helmets\AB\data\red_glow.rvmat"//"swop_clones\data\helmpilot.rvmat"// \501st_Helmets\AB\data\white_glow.rvmat
  177. };
  178. };
  179. class macro_new_helmet(pilot,candidate): macro_new_helmet(pilot,base)
  180. {
  181. author = "RD501";
  182. displayName = "[501st] AVI HELM P1 ('Candidate')";
  183. picture = "\SWLB_clones\data\ui\icon_SWLB_clone_helmet_p1_ca.paa";
  184. model = "SWLB_CEE\data\SWLB_P1_Pilot_Helmet.p3d";
  185. hiddenSelections[] = {"Camo1","Camo2"};
  186. hiddenSelectionsTextures[] = {"RD501_Helmets\_textures\LS\p1_pilot_helmet.paa","swlb_cee\data\swlb_p1_pilot_lifesupport_co.paa"};
  187. hiddenSelectionsMaterials[] = {"swlb_cee\data\swlb_p1_pilot_helmet.rvmat","swlb_cee\data\swlb_p1_pilot_lifesupport.rvmat"};
  188. class ItemInfo: HeadgearItem
  189. {
  190. mass = 10;
  191. uniformModel = "SWLB_CEE\data\SWLB_P1_Pilot_Helmet.p3d";
  192. allowedSlots[] = {801,901,701,605};
  193. modelSides[] = {6};
  194. hiddenSelections[] = {"Camo1","Camo2"};
  195. hiddenSelectionsTextures[] = {"RD501_Helmets\_textures\LS\p1_pilot_helmet.paa","swlb_cee\data\swlb_p1_pilot_lifesupport_co.paa"};
  196. hiddenSelectionsMaterials[] = {"swlb_cee\data\swlb_p1_pilot_helmet.rvmat","swlb_cee\data\swlb_p1_pilot_lifesupport.rvmat"};
  197. class HitpointsProtectionInfo
  198. {
  199. class Head
  200. {
  201. hitpointName = "HitHead";
  202. armor = 50;
  203. passThrough = 0.5;
  204. };
  205. };
  206. };
  207. };
  208. class 3as_Engineer_Helmet;
  209. class 212th_Engineer_helm;
  210. class macro_new_helmet(warden,501st):212th_Engineer_helm
  211. {
  212. author="RD501";
  213. scopeArsenal = 2;
  214. DisplayName="[501st] WRDN HELM (Base)";
  215. picture="RD501_Helmets\_textures\aviation\warden_ico.paa";
  216. /*hiddenSelections[]=
  217. {
  218. "camo"
  219. };*/
  220. hiddenSelectionsTextures[]=
  221. {
  222. macro_custom_helmet_textures\aviation\warden\Warden.paa
  223. };
  224. /*hiddenSelectionsMaterials[] =
  225. {
  226. "RD501_Helmets\_materials\aviation\wardenMaterial.rvmat"
  227. };*/
  228. subItems[] = {"G_B_Diving"};
  229. };
  230. NEW_WARDEN_HELM(WardenPETTY,Warden_Petty,warden\WardenPETTY.paa)
  231. NEW_WARDEN_HELM(WardenVeteran,Warden_Veteran,warden\WardenVeteran.paa)
  232. NEW_WARDEN_HELM(WardenSENIOR,Warden_Senior,warden\WardenSENIOR.paa)
  233. NEW_WARDEN_HELM(WardenCHIEF,Warden_Chief,warden\WardenCHIEF.paa)
  234. NEW_WARDEN_HELM(WardenMASTERCHIEF,Warden_MC,warden\WardenMASTERCHIEF.paa)
  235. NEW_WARDEN_HELM(Flog,Flog,warden\Flog.paa)
  236. NEW_WARDEN_HELM(Rive,Rive,warden\Rive.paa)
  237. NEW_WARDEN_HELM(Thunder,Thunder,warden\Thunder.paa)
  238. NEW_WARDEN_HELM(Wirtimus,Wirtimus,warden\Wirtimus.paa)
  239. NEW_WARDEN_HELM(Whisler,Whisler,warden\Whisler.paa)
  240. };