config.cpp 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. NEW_501_Pilot_HELM(cxx,CX-X,pilots\cxx.paa)
  75. NEW_501_Pilot_HELM(cxc,CX-C,pilots\cxc.paa)
  76. NEW_501_Pilot_HELM(dylan,Dylan,pilots\Dylanhelmet.paa)
  77. NEW_501_Pilot_HELM(exose,Exose,pilots\Exose.paa)
  78. NEW_501_Pilot_HELM(jackson,Jackson,pilots\Jackson.paa)
  79. NEW_501_Pilot_HELM(jaisus,Jaisus,pilots\Jaisus.paa)
  80. NEW_501_Pilot_HELM(keryl,Keryl,pilots\keryl.paa)
  81. NEW_501_Pilot_HELM(kaj,Kaj,pilots\Kaj.paa)
  82. NEW_501_Pilot_HELM(kushiban,Kushiban,pilots\Kushiban.paa)
  83. NEW_501_Pilot_HELM(orange,Orange,pilots\orange.paa)
  84. NEW_501_Pilot_HELM(Galaxy,Galaxy,pilots\Galaxy.paa)
  85. NEW_501_Pilot_HELM(Floff,Floff,pilots\Floff.paa)
  86. NEW_501_Pilot_HELM(Shnuffles,Shnuffles,pilots\Shnuffles.paa)
  87. NEW_501_Pilot_HELM(Shock,Shock,pilots\Shock.paa)
  88. NEW_501_Pilot_HELM(Ethan,Ethan,pilots\Ethan.paa)
  89. NEW_501_Pilot_HELM(Duncan,Duncan,pilots\Duncan.paa)
  90. NEW_501_Pilot_HELM(Neb,Neb,pilots\Neb.paa)
  91. NEW_501_Pilot_HELM(Salvatore,Salvatore,pilots\Salvatore.paa)
  92. NEW_3AS_Pilot_HELM(Kushiban,Kushiban,pilots\Kushiban1)
  93. NEW_3AS_Pilot_HELM(Shnuffles,Shnuffles,pilots\Shnuffles1)
  94. class macro_new_helmet(pilot,scuba): macro_new_helmet(pilot,base)
  95. {
  96. scope = 2;
  97. displayName = "[501st] AVI HELM ('Scuba')";
  98. hiddenSelectionsTextures[] = {macro_custom_helmet_textures\aviation\pilots\scuba_helm.paa};
  99. subItems[] = {"G_B_Diving"};
  100. hiddenSelectionsMaterials[]=
  101. {
  102. "",
  103. "\501st_Helmets\AB\data\white_glow.rvmat"
  104. //"\501st_Helmets\AB\data\red_glow.rvmat"//"swop_clones\data\helmpilot.rvmat"//"\501st_Helmets\AB\data\white_glow.rvmat"
  105. };
  106. };
  107. class macro_new_helmet(pilot,zatama): macro_new_helmet(pilot,base)
  108. {
  109. scope = 2;
  110. displayName = "[501st] AVI HELM ('Zatama')";
  111. hiddenSelectionsTextures[] = {macro_custom_helmet_textures\aviation\pilots\DragonGemHelm.paa};
  112. subItems[] = {"G_B_Diving"};
  113. hiddenSelectionsMaterials[]=
  114. {
  115. "",
  116. "\501st_Helmets\AB\data\red_glow.rvmat"//"swop_clones\data\helmpilot.rvmat"// \501st_Helmets\AB\data\white_glow.rvmat
  117. };
  118. };
  119. class 3as_Engineer_Helmet;
  120. class 212th_Engineer_helm;
  121. class macro_new_helmet(warden,501st):212th_Engineer_helm
  122. {
  123. author="RD501"
  124. scopeArsenal = 2;
  125. DisplayName="[501st] WRDN HELM (Base)";
  126. picture="RD501_Helmets\_textures\aviation\warden_ico.paa"
  127. /*hiddenSelections[]=
  128. {
  129. "camo"
  130. };*/
  131. hiddenSelectionsTextures[]=
  132. {
  133. macro_custom_helmet_textures\aviation\warden\Warden.paa
  134. };
  135. /*hiddenSelectionsMaterials[] =
  136. {
  137. "RD501_Helmets\_materials\aviation\wardenMaterial.rvmat"
  138. };*/
  139. subItems[] = {"G_B_Diving"};
  140. };
  141. NEW_WARDEN_HELM(WardenPETTY,Warden_Petty,warden\WardenPETTY.paa)
  142. NEW_WARDEN_HELM(WardenVeteran,Warden_Veteran,warden\WardenVeteran.paa)
  143. NEW_WARDEN_HELM(WardenSENIOR,Warden_Senior,warden\WardenSENIOR.paa)
  144. NEW_WARDEN_HELM(WardenCHIEF,Warden_Chief,warden\WardenCHIEF.paa)
  145. NEW_WARDEN_HELM(WardenMASTERCHIEF,Warden_MC,warden\WardenMASTERCHIEF.paa)
  146. NEW_WARDEN_HELM(Flog,Flog,warden\Flog.paa)
  147. NEW_WARDEN_HELM(Rive,Rive,warden\Rive.paa)
  148. NEW_WARDEN_HELM(Thunder,Thunder,warden\Thunder.paa)
  149. NEW_WARDEN_HELM(Wirtimus,Wirtimus,warden\Wirtimus.paa)
  150. NEW_WARDEN_HELM(Whisler,Whisler,warden\Whisler.paa)
  151. };