config.cpp 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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. displayName="[501st] AVI HELM P3 (Base)";
  114. model="3AS\3AS_Characters\Clones\Headgear\3AS_Clone_Pilot_P3.p3d";
  115. hiddenSelections[]=
  116. {
  117. "Camo",
  118. "Camo1"
  119. };
  120. hiddenSelectionsTextures[]=
  121. {
  122. "3AS\3AS_Characters\Clones\Headgear\Textures\PilotP3\Phase3_Pilot_Helmet_501st_co.paa",
  123. "3AS\3AS_Characters\Clones\Headgear\Textures\PilotP3\Phase3_Pilot_Tubes_501st_co.paa"
  124. };
  125. class ItemInfo: HeadgearItem
  126. {
  127. mass=40;
  128. uniformModel="3AS\3AS_Characters\Clones\Headgear\3AS_Clone_Pilot_P3.p3d";
  129. hiddenSelections[]=
  130. {
  131. "Camo",
  132. "Camo1"
  133. };
  134. };
  135. };
  136. NEW_501_Pilot_HELM(cxx,CX-X,pilots\cxx.paa)
  137. NEW_501_Pilot_HELM(cxc,CX-C,pilots\cxc.paa)
  138. NEW_501_Pilot_HELM(dylan,Dylan,pilots\Dylanhelmet.paa)
  139. NEW_501_Pilot_HELM(exose,Exose,pilots\Exose.paa)
  140. NEW_501_Pilot_HELM(jackson,Jackson,pilots\Jackson.paa)
  141. NEW_501_Pilot_HELM(jaisus,Jaisus,pilots\Jaisus.paa)
  142. NEW_501_Pilot_HELM(keryl,Keryl,pilots\keryl.paa)
  143. NEW_501_Pilot_HELM(kaj,Kaj,pilots\Kaj.paa)
  144. NEW_501_Pilot_HELM(kushiban,Kushiban,pilots\Kushiban.paa)
  145. NEW_501_Pilot_HELM(orange,Orange,pilots\orange.paa)
  146. NEW_501_Pilot_HELM(Galaxy,Galaxy,pilots\Galaxy.paa)
  147. NEW_501_Pilot_HELM(Floff,Floff,pilots\Floff.paa)
  148. NEW_501_Pilot_HELM(Shnuffles,Shnuffles,pilots\Shnuffles.paa)
  149. NEW_501_Pilot_HELM(Shock,Shock,pilots\Shock.paa)
  150. NEW_501_Pilot_HELM(Ethan,Ethan,pilots\Ethan.paa)
  151. NEW_501_Pilot_HELM(Duncan,Duncan,pilots\Duncan.paa)
  152. NEW_501_Pilot_HELM(Neb,Neb,pilots\Neb.paa)
  153. NEW_501_Pilot_HELM(Salvatore,Salvatore,pilots\Salvatore.paa)
  154. NEW_3AS_Pilot_HELM(Kushiban,Kushiban,pilots\Kushiban1)
  155. NEW_3AS_Pilot_HELM(Shnuffles,Shnuffles,pilots\Shnuffles1)
  156. class macro_new_helmet(pilot,scuba): macro_new_helmet(pilot,base)
  157. {
  158. scope = 2;
  159. displayName = "[501st] AVI HELM ('Scuba')";
  160. hiddenSelectionsTextures[] = {macro_custom_helmet_textures\aviation\pilots\scuba_helm.paa};
  161. subItems[] = {"G_B_Diving"};
  162. hiddenSelectionsMaterials[]=
  163. {
  164. "",
  165. "\501st_Helmets\AB\data\white_glow.rvmat"
  166. //"\501st_Helmets\AB\data\red_glow.rvmat"//"swop_clones\data\helmpilot.rvmat"//"\501st_Helmets\AB\data\white_glow.rvmat"
  167. };
  168. };
  169. class macro_new_helmet(pilot,zatama): macro_new_helmet(pilot,base)
  170. {
  171. scope = 2;
  172. displayName = "[501st] AVI HELM ('Zatama')";
  173. hiddenSelectionsTextures[] = {macro_custom_helmet_textures\aviation\pilots\DragonGemHelm.paa};
  174. subItems[] = {"G_B_Diving"};
  175. hiddenSelectionsMaterials[]=
  176. {
  177. "",
  178. "\501st_Helmets\AB\data\red_glow.rvmat"//"swop_clones\data\helmpilot.rvmat"// \501st_Helmets\AB\data\white_glow.rvmat
  179. };
  180. };
  181. class 3as_Engineer_Helmet;
  182. class 212th_Engineer_helm;
  183. class macro_new_helmet(warden,501st):212th_Engineer_helm
  184. {
  185. author="RD501"
  186. scopeArsenal = 2;
  187. DisplayName="[501st] WRDN HELM (Base)";
  188. picture="RD501_Helmets\_textures\aviation\warden_ico.paa"
  189. /*hiddenSelections[]=
  190. {
  191. "camo"
  192. };*/
  193. hiddenSelectionsTextures[]=
  194. {
  195. macro_custom_helmet_textures\aviation\warden\Warden.paa
  196. };
  197. /*hiddenSelectionsMaterials[] =
  198. {
  199. "RD501_Helmets\_materials\aviation\wardenMaterial.rvmat"
  200. };*/
  201. subItems[] = {"G_B_Diving"};
  202. };
  203. NEW_WARDEN_HELM(WardenPETTY,Warden_Petty,warden\WardenPETTY.paa)
  204. NEW_WARDEN_HELM(WardenVeteran,Warden_Veteran,warden\WardenVeteran.paa)
  205. NEW_WARDEN_HELM(WardenSENIOR,Warden_Senior,warden\WardenSENIOR.paa)
  206. NEW_WARDEN_HELM(WardenCHIEF,Warden_Chief,warden\WardenCHIEF.paa)
  207. NEW_WARDEN_HELM(WardenMASTERCHIEF,Warden_MC,warden\WardenMASTERCHIEF.paa)
  208. NEW_WARDEN_HELM(Flog,Flog,warden\Flog.paa)
  209. NEW_WARDEN_HELM(Rive,Rive,warden\Rive.paa)
  210. NEW_WARDEN_HELM(Thunder,Thunder,warden\Thunder.paa)
  211. NEW_WARDEN_HELM(Wirtimus,Wirtimus,warden\Wirtimus.paa)
  212. NEW_WARDEN_HELM(Whisler,Whisler,warden\Whisler.paa)
  213. };