config.cpp 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  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. macro_new_helmet(infantry,jlts_recruit)
  16. };
  17. };
  18. };
  19. class CfgWeapons
  20. {
  21. class HeadgearItem;
  22. class H_HelmetB;
  23. class macro_new_helmet(empire_rg,boi) : H_HelmetB
  24. {
  25. scope = 2;
  26. scopeArsenal = 2;
  27. author = "RD501";
  28. weaponPoolAvailable = 1;
  29. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  30. ace_hearing_protection = 0.85;
  31. ace_hearing_lowerVolume = 0;
  32. displayName = "[Empire] Royal Guard Helm 01";
  33. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  34. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetSCC.p3d";
  35. hiddenSelections[] = {"Camo1"};
  36. hiddenSelectionsTextures[] = {"RD501_Units\textures\gcw\empire\RG\rg_helmet.paa"};
  37. class ItemInfo: HeadgearItem
  38. {
  39. mass = 30;
  40. uniformmodel="\MRC\JLTS\characters\CloneArmor\CloneHelmetSC.p3d";
  41. modelSides[] = {6};
  42. hiddenSelections[] = {"Camo1"};
  43. material = -1;
  44. explosionShielding = 2.2;
  45. minimalHit = 0.01;
  46. passThrough = 0.01;
  47. class HitpointsProtectionInfo
  48. {
  49. class Head
  50. {
  51. hitpointName = "HitHead";
  52. armor = 50;
  53. passThrough = 0.6;
  54. };
  55. };
  56. };
  57. };
  58. class macro_new_helmet(arc,base_jlts) : H_HelmetB
  59. {
  60. scope = 2;
  61. scopeArsenal = 2;
  62. author = "RD501";
  63. weaponPoolAvailable = 1;
  64. ace_hearing_protection = 0.85;
  65. ace_hearing_lowerVolume = 0;
  66. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  67. displayName = "[501st] ARC HELM (Base)";
  68. picture="\MRC\JLTS\characters\CloneArmor2\data\ui\CloneHelmetARC_ui_ca.paa";
  69. model = "\MRC\JLTS\characters\CloneArmor2\CloneHelmetARC.p3d";
  70. hiddenSelections[] = {"Camo1"};
  71. hiddenSelectionsTextures[] = {"RD501_Helmets\_textures\ARC\ARC.paa"};
  72. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\Clone_helmet_ARC"};
  73. class ItemInfo: HeadgearItem
  74. {
  75. mass = 30;
  76. uniformmodel = "\MRC\JLTS\characters\CloneArmor2\CloneHelmetARC.p3d";
  77. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\Clone_helmet_ARC.rvmat"};
  78. modelSides[] = {6};
  79. hiddenSelections[] = {"Camo1"};
  80. material = -1;
  81. explosionShielding = 2.2;
  82. minimalHit = 0.01;
  83. passThrough = 0.01;
  84. class HitpointsProtectionInfo
  85. {
  86. class Head
  87. {
  88. hitpointName = "HitHead";
  89. armor = 50;
  90. passThrough = 0.6;
  91. };
  92. };
  93. };
  94. };
  95. class macro_new_helmet(arc,sgt_jlts) : H_HelmetB
  96. {
  97. scope = 2;
  98. scopeArsenal = 2;
  99. author = "RD501";
  100. weaponPoolAvailable = 1;
  101. ace_hearing_protection = 0.85;
  102. ace_hearing_lowerVolume = 0;
  103. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  104. displayName = "[501st] ARC HELM (Sergeant)";
  105. picture="\MRC\JLTS\characters\CloneArmor2\data\ui\CloneHelmetARC_ui_ca.paa";
  106. model = "\MRC\JLTS\characters\CloneArmor2\CloneHelmetARC.p3d";
  107. hiddenSelections[] = {"Camo1"};
  108. hiddenSelectionsTextures[] = {"RD501_Helmets\_textures\ARC\ARC_CS.paa"};
  109. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\Clone_helmet_ARC"};
  110. class ItemInfo: HeadgearItem
  111. {
  112. mass = 30;
  113. uniformmodel = "\MRC\JLTS\characters\CloneArmor2\CloneHelmetARC.p3d";
  114. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\Clone_helmet_ARC.rvmat"};
  115. modelSides[] = {6};
  116. hiddenSelections[] = {"Camo1"};
  117. material = -1;
  118. explosionShielding = 2.2;
  119. minimalHit = 0.01;
  120. passThrough = 0.01;
  121. class HitpointsProtectionInfo
  122. {
  123. class Head
  124. {
  125. hitpointName = "HitHead";
  126. armor = 50;
  127. passThrough = 0.6;
  128. };
  129. };
  130. };
  131. };
  132. //AB
  133. class macro_new_helmet(infantry,jlts_recruit) : H_HelmetB
  134. {
  135. scope = 2;
  136. scopeArsenal = 2;
  137. author = "RD501";
  138. weaponPoolAvailable = 1;
  139. ace_hearing_protection = 0.85;
  140. ace_hearing_lowerVolume = 0;
  141. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  142. displayName = "[501st] INF HELM 01 (Base)";
  143. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  144. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  145. hiddenSelections[] = {"Camo1"};
  146. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\inf\recruit_helmet.paa"};
  147. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  148. class ItemInfo: HeadgearItem
  149. {
  150. mass = 30;
  151. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  152. modelSides[] = {6};
  153. hiddenSelections[] = {"Camo1"};
  154. material = -1;
  155. explosionShielding = 2.2;
  156. minimalHit = 0.01;
  157. passThrough = 0.01;
  158. class HitpointsProtectionInfo
  159. {
  160. class Head
  161. {
  162. hitpointName = "HitHead";
  163. armor = 50;
  164. passThrough = 0.6;
  165. };
  166. };
  167. };
  168. };
  169. class macro_new_helmet(infantry,jlts_cadet) : H_HelmetB
  170. {
  171. scope = 2;
  172. scopeArsenal = 2;
  173. author = "RD501";
  174. weaponPoolAvailable = 1;
  175. ace_hearing_protection = 0.85;
  176. ace_hearing_lowerVolume = 0;
  177. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  178. displayName = "[501st] INF HELM 02 (Cadet)";
  179. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  180. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  181. hiddenSelections[] = {"Camo1"};
  182. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\inf\cadet_helmet.paa"};
  183. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  184. class ItemInfo: HeadgearItem
  185. {
  186. mass = 30;
  187. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  188. modelSides[] = {6};
  189. hiddenSelections[] = {"Camo1"};
  190. material = -1;
  191. explosionShielding = 2.2;
  192. minimalHit = 0.01;
  193. passThrough = 0.01;
  194. class HitpointsProtectionInfo
  195. {
  196. class Head
  197. {
  198. hitpointName = "HitHead";
  199. armor = 50;
  200. passThrough = 0.6;
  201. };
  202. };
  203. };
  204. };
  205. class macro_new_helmet(infantry,jlts_trooper) : H_HelmetB
  206. {
  207. scope = 2;
  208. scopeArsenal = 2;
  209. author = "RD501";
  210. weaponPoolAvailable = 1;
  211. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  212. ace_hearing_protection = 0.85;
  213. ace_hearing_lowerVolume = 0;
  214. displayName = "[501st] INF HELM 03 (Trooper)";
  215. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  216. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  217. hiddenSelections[] = {"Camo1"};
  218. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\inf\trooper_helmet.paa"};
  219. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  220. class ItemInfo: HeadgearItem
  221. {
  222. mass = 30;
  223. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  224. modelSides[] = {6};
  225. hiddenSelections[] = {"Camo1"};
  226. material = -1;
  227. explosionShielding = 2.2;
  228. minimalHit = 0.01;
  229. passThrough = 0.01;
  230. class HitpointsProtectionInfo
  231. {
  232. class Head
  233. {
  234. hitpointName = "HitHead";
  235. armor = 50;
  236. passThrough = 0.6;
  237. };
  238. };
  239. };
  240. };
  241. class macro_new_helmet(infantry,jlts_sgt) : H_HelmetB
  242. {
  243. scope = 2;
  244. scopeArsenal = 2;
  245. author = "RD501";
  246. weaponPoolAvailable = 1;
  247. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  248. ace_hearing_protection = 0.85;
  249. ace_hearing_lowerVolume = 0;
  250. displayName = "[501st] INF HELM 04 (Sgt)";
  251. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  252. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  253. hiddenSelections[] = {"Camo1"};
  254. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\inf\sgt_helmet.paa"};
  255. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  256. class ItemInfo: HeadgearItem
  257. {
  258. mass = 30;
  259. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  260. modelSides[] = {6};
  261. hiddenSelections[] = {"Camo1"};
  262. material = -1;
  263. explosionShielding = 2.2;
  264. minimalHit = 0.01;
  265. passThrough = 0.01;
  266. class HitpointsProtectionInfo
  267. {
  268. class Head
  269. {
  270. hitpointName = "HitHead";
  271. armor = 50;
  272. passThrough = 0.6;
  273. };
  274. };
  275. };
  276. };
  277. class macro_new_helmet(infantry,jlts_odin) : H_HelmetB
  278. {
  279. scope = 2;
  280. scopeArsenal = 2;
  281. author = "RD501";
  282. weaponPoolAvailable = 1;
  283. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  284. ace_hearing_protection = 0.85;
  285. ace_hearing_lowerVolume = 0;
  286. RD501_isNV = 1;
  287. displayName = "[501st] INF HELM ('Odin')";
  288. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  289. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  290. hiddenSelections[] = {"Camo1"};
  291. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\Infantry\Odin.paa"};
  292. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  293. class ItemInfo: HeadgearItem
  294. {
  295. mass = 30;
  296. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  297. modelSides[] = {6};
  298. hiddenSelections[] = {"Camo1"};
  299. material = -1;
  300. explosionShielding = 2.2;
  301. minimalHit = 0.01;
  302. passThrough = 0.01;
  303. class HitpointsProtectionInfo
  304. {
  305. class Head
  306. {
  307. hitpointName = "HitHead";
  308. armor = 50;
  309. passThrough = 0.6;
  310. };
  311. };
  312. };
  313. };
  314. class macro_new_helmet(airborne,jlts_trooper): H_HelmetB
  315. {
  316. author = "RD501";
  317. scope = 2;
  318. scopeArsenal = 2;
  319. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  320. displayName = "[501st] AB HELM 02 (Trooper)";
  321. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  322. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetAB_ui_ca.paa";
  323. ace_hearing_protection = 0.85;
  324. ace_hearing_lowerVolume = 0;
  325. hiddenSelections[] = {"camo1"};
  326. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\ab\ab_helmet_trooper.paa"};
  327. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_ab.rvmat"};
  328. class ItemInfo: HeadgearItem
  329. {
  330. mass = 10;
  331. uniformmodel="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  332. allowedSlots[] = {801,901,701,605};
  333. modelSides[] = {6};
  334. hiddenSelections[] = {"camo1"};
  335. class HitpointsProtectionInfo
  336. {
  337. class Head
  338. {
  339. hitpointName = "HitHead";
  340. armor = 60;
  341. passThrough = 0.5;
  342. };
  343. };
  344. };
  345. };
  346. class macro_new_helmet(airborne,jlts_vtrooper): H_HelmetB
  347. {
  348. author = "RD501";
  349. scope = 2;
  350. scopeArsenal = 2;
  351. displayName = "[501st] AB HELM 03 (Vet. Trooper)";
  352. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  353. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  354. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetAB_ui_ca.paa";
  355. ace_hearing_protection = 0.85;
  356. ace_hearing_lowerVolume = 0;
  357. hiddenSelections[] = {"camo1"};
  358. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\ab\ab_helmet_vtrooper.paa"};
  359. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_ab.rvmat"};
  360. class ItemInfo: HeadgearItem
  361. {
  362. mass = 10;
  363. uniformmodel="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  364. allowedSlots[] = {801,901,701,605};
  365. modelSides[] = {6};
  366. hiddenSelections[] = {"camo1"};
  367. class HitpointsProtectionInfo
  368. {
  369. class Head
  370. {
  371. hitpointName = "HitHead";
  372. armor = 60;
  373. passThrough = 0.5;
  374. };
  375. };
  376. };
  377. };
  378. class macro_new_helmet(airborne,jlts_base): H_HelmetB
  379. {
  380. author = "RD501";
  381. scope = 2;
  382. scopeArsenal = 2;
  383. displayName = "[501st] AB HELM 01 (Base)";
  384. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  385. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  386. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetAB_ui_ca.paa";
  387. ace_hearing_protection = 0.85;
  388. ace_hearing_lowerVolume = 0;
  389. hiddenSelections[] = {"camo1"};
  390. hiddenSelectionsTextures[] = {"MRC\JLTS\characters\CloneArmor\data\Clone_Helmet_AB_co.paa"};
  391. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_ab.rvmat"};
  392. class ItemInfo: HeadgearItem
  393. {
  394. mass = 10;
  395. uniformmodel="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  396. allowedSlots[] = {801,901,701,605};
  397. modelSides[] = {6};
  398. hiddenSelections[] = {"camo1"};
  399. class HitpointsProtectionInfo
  400. {
  401. class Head
  402. {
  403. hitpointName = "HitHead";
  404. armor = 60;
  405. passThrough = 0.5;
  406. };
  407. };
  408. };
  409. };
  410. };