config.cpp 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  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(pilot,lum_base): macro_new_helmet(pilot,base)
  75. {
  76. displayName = '[] LUM';
  77. scope=0;
  78. hiddenSelectionsMaterials[]=
  79. {
  80. "",
  81. "\501st_Helmets\AB\data\white_glow.rvmat"//"swop_clones\data\helmpilot.rvmat"// \501st_Helmets\AB\data\white_glow.rvmat
  82. };
  83. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  84. };
  85. class macro_new_helmet(empire_rg,boi) : H_HelmetB
  86. {
  87. scope = 2;
  88. scopeArsenal = 2;
  89. author = "RD501";
  90. weaponPoolAvailable = 1;
  91. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  92. ace_hearing_protection = 0.85;
  93. ace_hearing_lowerVolume = 0;
  94. displayName = "[Empire] Royal Guard Helm 01";
  95. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  96. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetSCC.p3d";
  97. hiddenSelections[] = {"Camo1"};
  98. hiddenSelectionsTextures[] = {"RD501_Units\textures\gcw\empire\RG\rg_helmet.paa"};
  99. class ItemInfo: HeadgearItem
  100. {
  101. mass = 30;
  102. uniformmodel="\MRC\JLTS\characters\CloneArmor\CloneHelmetSC.p3d";
  103. modelSides[] = {6};
  104. hiddenSelections[] = {"Camo1"};
  105. material = -1;
  106. explosionShielding = 2.2;
  107. minimalHit = 0.01;
  108. passThrough = 0.01;
  109. class HitpointsProtectionInfo
  110. {
  111. class Head
  112. {
  113. hitpointName = "HitHead";
  114. armor = 50;
  115. passThrough = 0.6;
  116. };
  117. };
  118. };
  119. };
  120. class macro_new_helmet(arc,base_jlts) : H_HelmetB
  121. {
  122. scope = 2;
  123. scopeArsenal = 2;
  124. author = "RD501";
  125. weaponPoolAvailable = 1;
  126. subItems[] = {"G_B_Diving"};
  127. ace_hearing_protection = 0.85;
  128. ace_hearing_lowerVolume = 0;
  129. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  130. displayName = "[501st] ARC HELM (Base)";
  131. picture="\MRC\JLTS\characters\CloneArmor2\data\ui\CloneHelmetARC_ui_ca.paa";
  132. model = "\MRC\JLTS\characters\CloneArmor2\CloneHelmetARC.p3d";
  133. hiddenSelections[] = {"Camo1"};
  134. hiddenSelectionsTextures[] = {"RD501_Helmets\_textures\ARC\ARC.paa"};
  135. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\Clone_helmet_ARC"};
  136. class ItemInfo: HeadgearItem
  137. {
  138. mass = 30;
  139. uniformmodel = "\MRC\JLTS\characters\CloneArmor2\CloneHelmetARC.p3d";
  140. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\Clone_helmet_ARC.rvmat"};
  141. modelSides[] = {6};
  142. hiddenSelections[] = {"Camo1"};
  143. material = -1;
  144. explosionShielding = 2.2;
  145. minimalHit = 0.01;
  146. passThrough = 0.01;
  147. class HitpointsProtectionInfo
  148. {
  149. class Head
  150. {
  151. hitpointName = "HitHead";
  152. armor = 50;
  153. passThrough = 0.6;
  154. };
  155. };
  156. };
  157. };
  158. class macro_new_helmet(arc,sgt_jlts) : H_HelmetB
  159. {
  160. scope = 2;
  161. scopeArsenal = 2;
  162. author = "RD501";
  163. weaponPoolAvailable = 1;
  164. subItems[] = {"G_B_Diving"};
  165. ace_hearing_protection = 0.85;
  166. ace_hearing_lowerVolume = 0;
  167. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  168. displayName = "[501st] ARC HELM (Sergeant)";
  169. picture="\MRC\JLTS\characters\CloneArmor2\data\ui\CloneHelmetARC_ui_ca.paa";
  170. model = "\MRC\JLTS\characters\CloneArmor2\CloneHelmetARC.p3d";
  171. hiddenSelections[] = {"Camo1"};
  172. hiddenSelectionsTextures[] = {"RD501_Helmets\_textures\ARC\ARC_CS.paa"};
  173. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\Clone_helmet_ARC"};
  174. class ItemInfo: HeadgearItem
  175. {
  176. mass = 30;
  177. uniformmodel = "\MRC\JLTS\characters\CloneArmor2\CloneHelmetARC.p3d";
  178. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\Clone_helmet_ARC.rvmat"};
  179. modelSides[] = {6};
  180. hiddenSelections[] = {"Camo1"};
  181. material = -1;
  182. explosionShielding = 2.2;
  183. minimalHit = 0.01;
  184. passThrough = 0.01;
  185. class HitpointsProtectionInfo
  186. {
  187. class Head
  188. {
  189. hitpointName = "HitHead";
  190. armor = 50;
  191. passThrough = 0.6;
  192. };
  193. };
  194. };
  195. };
  196. //AB
  197. class macro_new_helmet(airborne,base): H_HelmetB
  198. {
  199. author = "";
  200. scope = 2;
  201. scopeArsenal = 2;
  202. displayName = "Clone airborne helmet";
  203. model = "\501st_helmets\AB\AB_helmet.p3d";
  204. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  205. ace_hearing_protection = 0.85;
  206. ace_hearing_lowerVolume = 0;
  207. hiddenSelections[] = {
  208. "camo1",
  209. "mat"
  210. };
  211. hiddenSelectionsTextures[] = {
  212. "\501st_helmets\AB\data\AB_helmet_co.paa"
  213. };
  214. hiddenSelectionsMaterials[]=
  215. {
  216. "501st_helmets\ab\data\ab_helmet.rvmat",
  217. "501st_helmets\ab\data\ab_helmet.rvmat"
  218. };
  219. picture = TEXTUREAB\helmet_icon.paa
  220. class ItemInfo: HeadgearItem
  221. {
  222. mass = 10;
  223. uniformModel = "\501st_helmets\AB\AB_helmet.p3d";
  224. allowedSlots[] = {801,901,701,605};
  225. modelSides[] = {6};
  226. hiddenSelections[] = {
  227. "camo1",
  228. "mat"
  229. };
  230. class HitpointsProtectionInfo
  231. {
  232. class Head
  233. {
  234. hitpointName = "HitHead";
  235. armor = 60;
  236. passThrough = 0.5;
  237. };
  238. };
  239. };
  240. };
  241. class macro_new_helmet(airborne,lum_base): macro_new_helmet(airborne,base)//H_HelmetB
  242. {
  243. author = "";
  244. scope = 0;
  245. displayName = "[LUMMMMMM]";
  246. hiddenSelectionsTextures[]=
  247. {
  248. "\RD501_Helmets\_textures\airborne\airKrayt.paa"
  249. };
  250. hiddenSelectionsMaterials[]=
  251. {
  252. "",
  253. "\501st_Helmets\AB\data\white_glow.rvmat"
  254. };
  255. };
  256. class macro_new_helmet(infantry,jlts_recruit) : H_HelmetB
  257. {
  258. scope = 2;
  259. scopeArsenal = 2;
  260. author = "RD501";
  261. weaponPoolAvailable = 1;
  262. ace_hearing_protection = 0.85;
  263. ace_hearing_lowerVolume = 0;
  264. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  265. displayName = "[501st] INF HELM 01 (Base)";
  266. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  267. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  268. hiddenSelections[] = {"Camo1"};
  269. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\inf\recruit_helmet.paa"};
  270. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  271. class ItemInfo: HeadgearItem
  272. {
  273. mass = 30;
  274. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  275. modelSides[] = {6};
  276. hiddenSelections[] = {"Camo1"};
  277. material = -1;
  278. explosionShielding = 2.2;
  279. minimalHit = 0.01;
  280. passThrough = 0.01;
  281. class HitpointsProtectionInfo
  282. {
  283. class Head
  284. {
  285. hitpointName = "HitHead";
  286. armor = 50;
  287. passThrough = 0.6;
  288. };
  289. };
  290. };
  291. };
  292. class macro_new_helmet(infantry,jlts_cadet) : H_HelmetB
  293. {
  294. scope = 2;
  295. scopeArsenal = 2;
  296. author = "RD501";
  297. weaponPoolAvailable = 1;
  298. ace_hearing_protection = 0.85;
  299. ace_hearing_lowerVolume = 0;
  300. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  301. displayName = "[501st] INF HELM 02 (Cadet)";
  302. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  303. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  304. hiddenSelections[] = {"Camo1"};
  305. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\inf\cadet_helmet.paa"};
  306. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  307. class ItemInfo: HeadgearItem
  308. {
  309. mass = 30;
  310. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  311. modelSides[] = {6};
  312. hiddenSelections[] = {"Camo1"};
  313. material = -1;
  314. explosionShielding = 2.2;
  315. minimalHit = 0.01;
  316. passThrough = 0.01;
  317. class HitpointsProtectionInfo
  318. {
  319. class Head
  320. {
  321. hitpointName = "HitHead";
  322. armor = 50;
  323. passThrough = 0.6;
  324. };
  325. };
  326. };
  327. };
  328. class macro_new_helmet(infantry,jlts_trooper) : H_HelmetB
  329. {
  330. scope = 2;
  331. scopeArsenal = 2;
  332. author = "RD501";
  333. weaponPoolAvailable = 1;
  334. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  335. ace_hearing_protection = 0.85;
  336. ace_hearing_lowerVolume = 0;
  337. displayName = "[501st] INF HELM 03 (Trooper)";
  338. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  339. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  340. hiddenSelections[] = {"Camo1"};
  341. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\inf\trooper_helmet.paa"};
  342. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  343. class ItemInfo: HeadgearItem
  344. {
  345. mass = 30;
  346. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  347. modelSides[] = {6};
  348. hiddenSelections[] = {"Camo1"};
  349. material = -1;
  350. explosionShielding = 2.2;
  351. minimalHit = 0.01;
  352. passThrough = 0.01;
  353. class HitpointsProtectionInfo
  354. {
  355. class Head
  356. {
  357. hitpointName = "HitHead";
  358. armor = 50;
  359. passThrough = 0.6;
  360. };
  361. };
  362. };
  363. };
  364. class macro_new_helmet(infantry,jlts_sgt) : H_HelmetB
  365. {
  366. scope = 2;
  367. scopeArsenal = 2;
  368. author = "RD501";
  369. weaponPoolAvailable = 1;
  370. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  371. ace_hearing_protection = 0.85;
  372. ace_hearing_lowerVolume = 0;
  373. displayName = "[501st] INF HELM 04 (Sgt)";
  374. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  375. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  376. hiddenSelections[] = {"Camo1"};
  377. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\inf\sgt_helmet.paa"};
  378. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  379. class ItemInfo: HeadgearItem
  380. {
  381. mass = 30;
  382. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  383. modelSides[] = {6};
  384. hiddenSelections[] = {"Camo1"};
  385. material = -1;
  386. explosionShielding = 2.2;
  387. minimalHit = 0.01;
  388. passThrough = 0.01;
  389. class HitpointsProtectionInfo
  390. {
  391. class Head
  392. {
  393. hitpointName = "HitHead";
  394. armor = 50;
  395. passThrough = 0.6;
  396. };
  397. };
  398. };
  399. };
  400. class macro_new_helmet(infantry,jlts_odin) : H_HelmetB
  401. {
  402. scope = 2;
  403. scopeArsenal = 2;
  404. author = "RD501";
  405. weaponPoolAvailable = 1;
  406. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  407. ace_hearing_protection = 0.85;
  408. ace_hearing_lowerVolume = 0;
  409. RD501_isNV = 1;
  410. displayName = "[501st] INF HELM ('Odin')";
  411. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetP2_ui_ca.paa";
  412. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  413. hiddenSelections[] = {"Camo1"};
  414. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\Infantry\Odin.paa"};
  415. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_p2.rvmat"};
  416. class ItemInfo: HeadgearItem
  417. {
  418. mass = 30;
  419. uniformmodel = "\MRC\JLTS\characters\CloneArmor\CloneHelmetP2.p3d";
  420. modelSides[] = {6};
  421. hiddenSelections[] = {"Camo1"};
  422. material = -1;
  423. explosionShielding = 2.2;
  424. minimalHit = 0.01;
  425. passThrough = 0.01;
  426. class HitpointsProtectionInfo
  427. {
  428. class Head
  429. {
  430. hitpointName = "HitHead";
  431. armor = 50;
  432. passThrough = 0.6;
  433. };
  434. };
  435. };
  436. };
  437. class macro_new_helmet(airborne,jlts_trooper): H_HelmetB
  438. {
  439. author = "RD501";
  440. scope = 2;
  441. scopeArsenal = 2;
  442. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  443. displayName = "[501st] AB HELM 02 (Trooper)";
  444. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  445. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetAB_ui_ca.paa";
  446. ace_hearing_protection = 0.85;
  447. ace_hearing_lowerVolume = 0;
  448. hiddenSelections[] = {"camo1"};
  449. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\ab\ab_helmet_trooper.paa"};
  450. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_ab.rvmat"};
  451. class ItemInfo: HeadgearItem
  452. {
  453. mass = 10;
  454. uniformmodel="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  455. allowedSlots[] = {801,901,701,605};
  456. modelSides[] = {6};
  457. hiddenSelections[] = {"camo1"};
  458. class HitpointsProtectionInfo
  459. {
  460. class Head
  461. {
  462. hitpointName = "HitHead";
  463. armor = 60;
  464. passThrough = 0.5;
  465. };
  466. };
  467. };
  468. };
  469. class macro_new_helmet(airborne,jlts_vtrooper): H_HelmetB
  470. {
  471. author = "RD501";
  472. scope = 2;
  473. scopeArsenal = 2;
  474. displayName = "[501st] AB HELM 03 (Vet. Trooper)";
  475. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  476. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  477. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetAB_ui_ca.paa";
  478. ace_hearing_protection = 0.85;
  479. ace_hearing_lowerVolume = 0;
  480. hiddenSelections[] = {"camo1"};
  481. hiddenSelectionsTextures[] = {"\RD501_Helmets\_textures\jlts\ab\ab_helmet_vtrooper.paa"};
  482. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_ab.rvmat"};
  483. class ItemInfo: HeadgearItem
  484. {
  485. mass = 10;
  486. uniformmodel="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  487. allowedSlots[] = {801,901,701,605};
  488. modelSides[] = {6};
  489. hiddenSelections[] = {"camo1"};
  490. class HitpointsProtectionInfo
  491. {
  492. class Head
  493. {
  494. hitpointName = "HitHead";
  495. armor = 60;
  496. passThrough = 0.5;
  497. };
  498. };
  499. };
  500. };
  501. class macro_new_helmet(airborne,jlts_base): H_HelmetB
  502. {
  503. author = "RD501";
  504. scope = 2;
  505. scopeArsenal = 2;
  506. displayName = "[501st] AB HELM 01 (Base)";
  507. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  508. model="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  509. picture="\MRC\JLTS\characters\CloneArmor\data\ui\CloneHelmetAB_ui_ca.paa";
  510. ace_hearing_protection = 0.85;
  511. ace_hearing_lowerVolume = 0;
  512. hiddenSelections[] = {"camo1"};
  513. hiddenSelectionsTextures[] = {"MRC\JLTS\characters\CloneArmor\data\Clone_Helmet_AB_co.paa"};
  514. hiddenSelectionsMaterials[]= {"RD501_Helmets\_materials\clone_helmet_ab.rvmat"};
  515. class ItemInfo: HeadgearItem
  516. {
  517. mass = 10;
  518. uniformmodel="\MRC\JLTS\characters\CloneArmor\CloneHelmetAB.p3d";
  519. allowedSlots[] = {801,901,701,605};
  520. modelSides[] = {6};
  521. hiddenSelections[] = {"camo1"};
  522. class HitpointsProtectionInfo
  523. {
  524. class Head
  525. {
  526. hitpointName = "HitHead";
  527. armor = 60;
  528. passThrough = 0.5;
  529. };
  530. };
  531. };
  532. };
  533. #include "_includes/_base_swop_helmets.hpp"
  534. };