config.cpp 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //Get this addons macro
  2. //get the macro for the air macro_patch_name(vehicles)
  3. //get generlized macros
  4. #include "../../../RD501_main/config_macros.hpp"
  5. //General name of the vehicle
  6. #define vehicle_addon aat
  7. #define patch_name MODNAME##vehicle_addon##_Patches
  8. #define vehicle_classname MODNAME##_##vehicle_addon
  9. #define new_aat_class(name) vehicle_classname##_##name
  10. class CfgPatches
  11. {
  12. class macro_patch_name(AAT)
  13. {
  14. addonRootClass=macro_patch_name(vehicles)
  15. requiredAddons[]=
  16. {
  17. macro_patch_name(vehicles)
  18. };
  19. requiredVersion=0.1;
  20. units[]=
  21. {
  22. macro_new_vehicle(AAT,Blue),
  23. macro_new_vehicle(AAT,Urban),
  24. macro_new_vehicle(AAT,Snow),
  25. macro_new_vehicle(AAT,Tropical),
  26. macro_new_vehicle(AAT,Brown)
  27. };
  28. weapons[]=
  29. {
  30. };
  31. };
  32. };
  33. #include "../../common/sensor_templates.hpp"
  34. class DefaultEventhandlers;
  35. class CfgVehicles
  36. {
  37. /* -------- */
  38. /* | 3AS AATs | */
  39. /* -------- */
  40. #include "3as_import.hpp"
  41. class macro_new_vehicle(AAT,Blue) : 3AS_AAT {
  42. displayName="CIS AAT Blue";
  43. #include "common.hpp"
  44. };
  45. class macro_new_vehicle(AAT,Urban) : 3AS_AAT_urban {
  46. displayName="CIS AAT Urban";
  47. #include "common.hpp"
  48. };
  49. class macro_new_vehicle(AAT,Snow) : 3AS_AAT_snow {
  50. displayName="CIS AAT Snow";
  51. #include "common.hpp"
  52. };
  53. class macro_new_vehicle(AAT,Tropical) : 3AS_AAT_Tropic {
  54. displayName="CIS AAT Green";
  55. #include "common.hpp"
  56. };
  57. class macro_new_vehicle(AAT,Brown) : 3AS_AAT_tan {
  58. displayName="CIS AAT";
  59. #include "common.hpp"
  60. };
  61. };