config.cpp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class RD501_patch_adsd
  5. {
  6. addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
  7. requiredAddons[]=
  8. {
  9. RD501_patch_vehicles
  10. };
  11. requiredVersion=0.1;
  12. units[]=
  13. {
  14. macro_new_vehicle(cis,adsd)
  15. };
  16. weapons[]=
  17. {
  18. };
  19. };
  20. };
  21. class CfgVehicles
  22. {
  23. class LandVehicle;
  24. class Tank: LandVehicle
  25. {
  26. class NewTurret;
  27. };
  28. class Tank_F: Tank
  29. {
  30. class Turrets
  31. {
  32. class MainTurret: NewTurret
  33. {};
  34. };
  35. };
  36. class 3AS_AAT_base_F: Tank_F
  37. {
  38. class Turrets: Turrets
  39. {
  40. class MainTurret: MainTurret
  41. {
  42. };
  43. };
  44. };
  45. class 3AS_Advanced_DSD_Base:3AS_AAT_base_F
  46. {
  47. class Turrets: Turrets
  48. {
  49. class MainTurret: MainTurret
  50. {
  51. };
  52. };
  53. };
  54. class macro_new_vehicle(cis,adsd): 3AS_Advanced_DSD_Base
  55. {
  56. scope = 2;
  57. displayName = "CIS ADSD";
  58. crew = MACRO_QUOTE(macro_new_unit_class(opfor,B1_crew));
  59. side = 0;
  60. faction = MACRO_QUOTE(macro_faction(CIS));
  61. editorSubcategory = MACRO_QUOTE(macro_editor_cat(tank));
  62. vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type(tank));
  63. scopeCurator = 2;
  64. forceInGarage = 1;
  65. armor=1300;
  66. class Turrets: Turrets
  67. {
  68. class MainTurret: MainTurret
  69. {
  70. weapons[]=
  71. {
  72. macro_new_weapon(aat_cannon,king),
  73. "3AS_ADSD_Repeater"
  74. };
  75. magazines[]=
  76. {
  77. macro_new_mag(aat_mbt,10),
  78. macro_new_mag(aat_mbt,10),
  79. macro_new_mag(aat_mbt,10),
  80. macro_new_mag(aat_mbt,10),
  81. "3AS_500Rnd_ATT_RedPlasma",
  82. "3AS_500Rnd_ATT_RedPlasma"
  83. };
  84. };
  85. };
  86. };
  87. };