config.cpp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. };
  15. };
  16. };
  17. class CfgVehicles
  18. {
  19. class 3AS_BX_DROID_F;
  20. class macro_new_unit_class(opfor,BX): 3AS_BX_DROID_F
  21. {
  22. displayName = "BX Commando Droid";
  23. author = "RD501";
  24. scope = 2;
  25. faction = macro_cis_faction
  26. editorSubcategory = macro_editor_cat(CIS_SpecOps)
  27. cost = 4
  28. weapons[]=
  29. {
  30. macro_bx_gun,
  31. "Throw",
  32. "Put"
  33. };
  34. respawnWeapons[]=
  35. {
  36. macro_bx_gun,
  37. "Throw",
  38. "Put"
  39. };
  40. magazines[]=
  41. {
  42. macro_bx_gun_mags,
  43. macro_thermal_imp,
  44. macro_thermal_imp,
  45. macro_smoke,
  46. macro_smoke,
  47. macro_flashbang,
  48. macro_flashbang,
  49. macro_dioxis_grenade
  50. };
  51. respawnMagazines[]=
  52. {
  53. macro_bx_gun_mags,
  54. macro_thermal_imp,
  55. macro_thermal_imp,
  56. macro_smoke,
  57. macro_smoke,
  58. macro_flashbang,
  59. macro_flashbang,
  60. macro_dioxis_grenade
  61. };
  62. linkeditems[]=
  63. {
  64. "ItemGPS",
  65. "ItemMap",
  66. "ItemCompass",
  67. "ItemWatch",
  68. "JLTS_droid_comlink"
  69. };
  70. respawnlinkeditems[]=
  71. {
  72. "ItemGPS",
  73. "ItemMap",
  74. "ItemCompass",
  75. "ItemWatch",
  76. "JLTS_droid_comlink"
  77. };
  78. items[]={
  79. _3(macro_zip_tie)
  80. };
  81. respawnItems[]={
  82. _3(macro_zip_tie)
  83. };
  84. };
  85. }