1
0

config.cpp 13 KB

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