config.cpp 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. #include "../../config_macros.hpp"
  2. #include "../../../RD501_main/config_macros.hpp"
  3. class CfgPatches
  4. {
  5. class macro_patch_name(bountyhunters)
  6. {
  7. addonRootClass=macro_patch_name(units);
  8. requiredAddons[]=
  9. {
  10. macro_patch_name(units)
  11. };
  12. requiredVersion=0.1;
  13. units[]={
  14. macro_new_unit_class(independent,suttonrand),
  15. macro_new_unit_class(independent,headshot),
  16. "rd501_backpack_headshot"
  17. };
  18. weapons[]=
  19. {
  20. macro_new_uniform_class(independent,headshot)
  21. };
  22. };
  23. };
  24. class Extended_Init_EventHandlers
  25. {
  26. class macro_new_unit_class(independent,suttonrand)
  27. {
  28. class apply_skills
  29. {
  30. init = [_this select 0] spawn macro_fnc_name(b1_specop_apply_skill);
  31. };
  32. };
  33. class macro_new_unit_class(independent,headshot)
  34. {
  35. class apply_skills
  36. {
  37. init = [_this select 0] spawn macro_fnc_name(b1_specop_apply_skill);
  38. };
  39. };
  40. };
  41. class CfgVehicles
  42. {
  43. class B_T_Recon_TL_F;
  44. class OPTRE_UNSC_ONI_Soldier_Naval;
  45. class B_ViperHarness_blk_F;
  46. class macro_new_unit_class(independent,suttonrand): B_T_Recon_TL_F
  47. {
  48. displayName = "Sutton Rand";
  49. author = "RD501";
  50. scope = 2;
  51. side=2;
  52. backpack="JLTS_Clone_jumppack_Chicken";
  53. faction = macro_ind_faction
  54. editorSubcategory = macro_editor_cat(bounty_hunters)
  55. uniformClass="U_O_R_Gorka_01_black_F";
  56. cost = 4
  57. weapons[]=
  58. {
  59. macro_new_weapon_nofam(Devastator),
  60. "Throw",
  61. "Put"
  62. };
  63. respawnWeapons[]=
  64. {
  65. macro_new_weapon_nofam(Devastator),
  66. "Throw",
  67. "Put"
  68. };
  69. magazines[]=
  70. {
  71. macro_new_mag(Devastator,50),
  72. macro_new_mag(Devastator,50),
  73. macro_new_mag(Devastator,50),
  74. macro_new_mag(Devastator,50),
  75. macro_new_mag(Devastator,2),
  76. macro_new_mag(Devastator,2),
  77. macro_new_mag(Devastator,2),
  78. macro_new_mag(Devastator_dioxis,1),
  79. macro_new_mag(Devastator_dioxis,1),
  80. macro_new_mag(Devastator_stun,1),
  81. macro_new_mag(Devastator_stun,1)
  82. };
  83. respawnMagazines[]=
  84. {
  85. macro_new_mag(Devastator,50),
  86. macro_new_mag(Devastator,50),
  87. macro_new_mag(Devastator,50),
  88. macro_new_mag(Devastator,50),
  89. macro_new_mag(Devastator,2),
  90. macro_new_mag(Devastator,2),
  91. macro_new_mag(Devastator,2),
  92. macro_new_mag(Devastator_dioxis,1),
  93. macro_new_mag(Devastator_dioxis,1),
  94. macro_new_mag(Devastator_stun,1),
  95. macro_new_mag(Devastator_stun,1)
  96. };
  97. linkeditems[]=
  98. {
  99. "OPTRE_UNSC_M52A_Armor1_SNO",
  100. //"H_HelmetO_ViperSP_ghex_F",
  101. "k_wrecker_Helmet",
  102. "ItemGPS",
  103. "ItemMap",
  104. "ItemCompass",
  105. "ItemWatch",
  106. "JLTS_droid_comlink",
  107. };
  108. respawnlinkeditems[]=
  109. {
  110. "OPTRE_UNSC_M52A_Armor_Sniper_WDL",
  111. //"H_HelmetO_ViperSP_ghex_F",
  112. "k_scout_helmet_camo",
  113. "ItemGPS",
  114. "ItemMap",
  115. "ItemCompass",
  116. "ItemWatch",
  117. "JLTS_droid_comlink",
  118. };
  119. items[]={
  120. "ACE_elasticBandage",
  121. "ACE_elasticBandage",
  122. "ACE_packingBandage",
  123. "ACE_packingBandage",
  124. "ACE_tourniquet",
  125. "ACE_splint",
  126. "RD501_Painkiller"
  127. };
  128. respawnItems[]={
  129. "ACE_elasticBandage",
  130. "ACE_elasticBandage",
  131. "ACE_packingBandage",
  132. "ACE_packingBandage",
  133. "ACE_tourniquet",
  134. "ACE_splint",
  135. "RD501_Painkiller"
  136. };
  137. };
  138. class macro_new_unit_class(independent,headshot): OPTRE_UNSC_ONI_Soldier_Naval
  139. {
  140. displayName = "Headshot";
  141. author = "RD501";
  142. scope = 2;
  143. side=2;
  144. backpack="rd501_backpack_headshot";
  145. faction = macro_ind_faction
  146. editorSubcategory = macro_editor_cat(bounty_hunters)
  147. uniformClass = macro_new_uniform_class(independent,headshot)
  148. cost = 4
  149. weapons[]=
  150. {
  151. macro_new_weapon_nofam(viper),
  152. "Throw",
  153. "Put"
  154. };
  155. respawnWeapons[]=
  156. {
  157. macro_new_weapon_nofam(viper),
  158. "Throw",
  159. "Put"
  160. };
  161. magazines[]=
  162. {
  163. macro_new_mag(viper,5),
  164. macro_new_mag(viper,5),
  165. macro_new_mag(viper,5),
  166. macro_new_mag(viper,5),
  167. macro_new_mag(viper,5),
  168. macro_new_mag(viper,5),
  169. macro_new_mag(viper,5)
  170. };
  171. respawnMagazines[]=
  172. {
  173. macro_new_mag(viper,5),
  174. macro_new_mag(viper,5),
  175. macro_new_mag(viper,5),
  176. macro_new_mag(viper,5),
  177. macro_new_mag(viper,5),
  178. macro_new_mag(viper,5),
  179. macro_new_mag(viper,5)
  180. };
  181. linkeditems[]=
  182. {
  183. "H_HelmetSpecO_blk",
  184. "ItemGPS",
  185. "ItemMap",
  186. "ItemCompass",
  187. "ItemWatch",
  188. "JLTS_droid_comlink",
  189. };
  190. respawnlinkeditems[]=
  191. {
  192. "H_HelmetSpecO_blk",
  193. "ItemGPS",
  194. "ItemMap",
  195. "ItemCompass",
  196. "ItemWatch",
  197. "JLTS_droid_comlink",
  198. };
  199. items[]={
  200. "ACE_elasticBandage",
  201. "ACE_elasticBandage",
  202. "ACE_packingBandage",
  203. "ACE_packingBandage",
  204. "ACE_tourniquet",
  205. "ACE_splint",
  206. "RD501_Painkiller",
  207. "ACE_Clacker"
  208. };
  209. respawnItems[]={
  210. "ACE_elasticBandage",
  211. "ACE_elasticBandage",
  212. "ACE_packingBandage",
  213. "ACE_packingBandage",
  214. "ACE_tourniquet",
  215. "ACE_splint",
  216. "RD501_Painkiller",
  217. "ACE_Clacker"
  218. };
  219. };
  220. class rd501_backpack_headshot:B_ViperHarness_blk_F
  221. {
  222. scope=1;
  223. class TransportMagazines
  224. {
  225. class _xx_APERSBoundingMine_Range_Mag
  226. {
  227. magazine="ClaymoreDirectionalMine_Remote_Mag";
  228. count=3;
  229. };
  230. class _xx_ClaymoreDirectionalMine_Remote_Mag
  231. {
  232. magazine="APERSMineDispenser_Mag";
  233. count=3;
  234. };
  235. };
  236. };
  237. };
  238. class CfgWeapons
  239. {
  240. class UniformItem;
  241. class OPTRE_UNSC_Navy_Uniform_ONI;
  242. class macro_new_uniform_class(independent,headshot): OPTRE_UNSC_Navy_Uniform_ONI
  243. {
  244. scope=1;
  245. displayName="Headshot Uniform";
  246. class ItemInfo: UniformItem
  247. {
  248. uniformModel="-";
  249. uniformClass=macro_new_unit_class(independent,headshot)
  250. containerClass="Supply40";
  251. mass=80;
  252. };
  253. };
  254. };