config.cpp 6.3 KB

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