config.cpp 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. #include "../../RD501_Main/config_macros.hpp"
  2. #include "../droid_macros.hpp"
  3. class CfgPatches
  4. {
  5. class macro_patch_name(BX)
  6. {
  7. addonRootClass=macro_patch_name(droids_config);
  8. requiredAddons[] = {
  9. macro_patch_name(droids_config)
  10. };
  11. requiredVersion = 0.1;
  12. units[] = {
  13. macro_new_unit_class(opfor,BX),
  14. macro_new_unit_class(opfor,BX_shield)
  15. };
  16. };
  17. };
  18. class CfgVehicles
  19. {
  20. class 3AS_BX_DROID_F;
  21. class macro_new_unit_class(opfor,BX): 3AS_BX_DROID_F
  22. {
  23. displayName = "BX Commando Droid";
  24. author = "RD501";
  25. scope = 2;
  26. faction = macro_cis_faction
  27. editorSubcategory = macro_editor_cat(CIS_SpecOps)
  28. cost = 4
  29. weapons[]=
  30. {
  31. macro_bx_gun,
  32. "Throw",
  33. "Put"
  34. };
  35. respawnWeapons[]=
  36. {
  37. macro_bx_gun,
  38. "Throw",
  39. "Put"
  40. };
  41. magazines[]=
  42. {
  43. macro_bx_gun_mags,
  44. macro_thermal_imp,
  45. macro_thermal_imp,
  46. macro_smoke,
  47. macro_smoke,
  48. macro_flashbang,
  49. macro_flashbang,
  50. macro_dioxis_grenade
  51. };
  52. respawnMagazines[]=
  53. {
  54. macro_bx_gun_mags,
  55. macro_thermal_imp,
  56. macro_thermal_imp,
  57. macro_smoke,
  58. macro_smoke,
  59. macro_flashbang,
  60. macro_flashbang,
  61. macro_dioxis_grenade
  62. };
  63. linkeditems[]=
  64. {
  65. "ItemGPS",
  66. "ItemMap",
  67. "ItemCompass",
  68. "ItemWatch",
  69. "JLTS_droid_comlink",
  70. "JLTS_NVG_droid_chip_1"
  71. };
  72. respawnlinkeditems[]=
  73. {
  74. "ItemGPS",
  75. "ItemMap",
  76. "ItemCompass",
  77. "ItemWatch",
  78. "JLTS_droid_comlink",
  79. "JLTS_NVG_droid_chip_1"
  80. };
  81. items[]={
  82. _3(macro_zip_tie)
  83. };
  84. respawnItems[]={
  85. _3(macro_zip_tie)
  86. };
  87. };
  88. class macro_new_unit_class(opfor,BX_shield): 3AS_BX_DROID_F
  89. {
  90. displayName = "BX Commando Droid(Shield)";
  91. author = "RD501";
  92. scope = 2;
  93. faction = macro_cis_faction
  94. editorSubcategory = macro_editor_cat(CIS_SpecOps)
  95. cost = 4
  96. weapons[]=
  97. {
  98. "JLTS_E5",
  99. "Throw",
  100. "Put"
  101. };
  102. respawnWeapons[]=
  103. {
  104. "JLTS_E5",
  105. "Throw",
  106. "Put"
  107. };
  108. magazines[]=
  109. {
  110. "JLTS_E5_mag",
  111. "JLTS_E5_mag",
  112. "JLTS_E5_mag",
  113. macro_thermal_imp,
  114. macro_thermal_imp,
  115. macro_smoke,
  116. macro_smoke,
  117. macro_flashbang,
  118. macro_flashbang,
  119. macro_dioxis_grenade
  120. };
  121. respawnMagazines[]=
  122. {
  123. "JLTS_E5_mag",
  124. "JLTS_E5_mag",
  125. "JLTS_E5_mag",
  126. macro_thermal_imp,
  127. macro_thermal_imp,
  128. macro_smoke,
  129. macro_smoke,
  130. macro_flashbang,
  131. macro_flashbang,
  132. macro_dioxis_grenade
  133. };
  134. linkeditems[]=
  135. {
  136. "ItemGPS",
  137. "ItemMap",
  138. "ItemCompass",
  139. "ItemWatch",
  140. "JLTS_droid_comlink",
  141. "JLTS_NVG_droid_chip_1"
  142. };
  143. respawnlinkeditems[]=
  144. {
  145. "ItemGPS",
  146. "ItemMap",
  147. "ItemCompass",
  148. "ItemWatch",
  149. "JLTS_droid_comlink",
  150. "JLTS_NVG_droid_chip_1"
  151. };
  152. items[]={
  153. _3(macro_zip_tie),
  154. "JLTS_riot_shield_droid_item"
  155. };
  156. respawnItems[]={
  157. _3(macro_zip_tie),
  158. "JLTS_riot_shield_droid_item"
  159. };
  160. };
  161. }