1
0

config.cpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(adsd)
  5. {
  6. addonRootClass=macro_patch_name(vehicles)
  7. requiredAddons[]=
  8. {
  9. macro_patch_name(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_new_unit_class(opfor,B1_crew)
  59. side = 0;
  60. faction = macro_cis_faction
  61. editorSubcategory = macro_editor_cat(tank)
  62. vehicleClass = macro_editor_vehicle_type(tank)
  63. scope = 2;
  64. scopeCurator = 2;
  65. forceInGarage = 1;
  66. armor=1300;
  67. class Turrets: Turrets
  68. {
  69. class MainTurret: MainTurret
  70. {
  71. weapons[]=
  72. {
  73. macro_new_weapon(aat_cannon,king),
  74. "3AS_ADSD_Repeater"
  75. };
  76. magazines[]=
  77. {
  78. macro_new_mag(aat_mbt,10),
  79. macro_new_mag(aat_mbt,10),
  80. macro_new_mag(aat_mbt,10),
  81. macro_new_mag(aat_mbt,10),
  82. "3AS_500Rnd_ATT_RedPlasma",
  83. "3AS_500Rnd_ATT_RedPlasma"
  84. };
  85. };
  86. };
  87. };
  88. };