config.cpp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(Tactical_Droid)
  5. {
  6. addonRootClass=macro_patch_name(droids_config);
  7. requiredAddons[] = {
  8. macro_patch_name(units)
  9. };
  10. requiredVersion = 0.1;
  11. units[] = {
  12. macro_new_unit_class(opfor,Tactical_Droid_black),
  13. macro_new_unit_class(opfor,Tactical_Droid_blue),
  14. macro_new_unit_class(opfor,Tactical_Droid_green),
  15. macro_new_unit_class(opfor,Tactical_Droid_red),
  16. };
  17. };
  18. };
  19. class CfgVehicles
  20. {
  21. class SWOP_CIS_droid_tactic_black;
  22. class SWOP_CIS_droid_tactic_blue;
  23. class SWOP_CIS_droid_tactic_green;
  24. class SWOP_CIS_droid_tactic_red;
  25. class macro_new_unit_class(opfor,Tactical_Droid_black): SWOP_CIS_droid_tactic_black
  26. {
  27. displayName = "Tactical Droid (Black)";
  28. author = "RD501";
  29. scope = 2;
  30. faction = macro_cis_faction
  31. editorSubcategory = macro_editor_cat(CIS_SpecOps)
  32. cost = 10;
  33. };
  34. class macro_new_unit_class(opfor,Tactical_Droid_blue): SWOP_CIS_droid_tactic_blue
  35. {
  36. displayName = "Tactical Droid (Blue)";
  37. author = "RD501";
  38. scope = 2;
  39. faction = macro_cis_faction
  40. editorSubcategory = macro_editor_cat(CIS_SpecOps)
  41. cost = 10;
  42. };
  43. class macro_new_unit_class(opfor,Tactical_Droid_green): SWOP_CIS_droid_tactic_green
  44. {
  45. displayName = "Tactical Droid (Green)";
  46. author = "RD501";
  47. scope = 2;
  48. faction = macro_cis_faction
  49. editorSubcategory = macro_editor_cat(CIS_SpecOps)
  50. cost = 10;
  51. };
  52. class macro_new_unit_class(opfor,Tactical_Droid_red): SWOP_CIS_droid_tactic_red
  53. {
  54. displayName = "Tactical Droid (Red)";
  55. author = "RD501";
  56. scope = 2;
  57. faction = macro_cis_faction
  58. editorSubcategory = macro_editor_cat(CIS_SpecOps)
  59. cost = 10;
  60. };
  61. }