config.cpp 838 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //get generlized macros
  2. #include "../../../RD501_main/config_macros.hpp"
  3. //General name of the vehicle
  4. #define vehicle_addon nuclass
  5. class CfgPatches
  6. {
  7. class macro_patch_name(nuclass)
  8. {
  9. addonRootClass=macro_patch_name(vehicles)
  10. requiredAddons[]=
  11. {
  12. macro_patch_name(vehicles)
  13. };
  14. requiredVersion=0.1;
  15. units[]=
  16. {
  17. macro_new_vehicle(nuclass,mk1)
  18. };
  19. weapons[]=
  20. {
  21. };
  22. };
  23. };
  24. class CfgVehicles
  25. {
  26. class 3as_nuclass_f;
  27. class 3AS_Nuclass : 3as_nuclass_f
  28. {
  29. class UserActions;
  30. };
  31. class macro_new_vehicle(nuclass,mk1):3AS_Nuclass
  32. {
  33. scope=2;
  34. displayName="Republic NuClass Mk.I"
  35. faction = macro_republic_faction
  36. editorSubcategory = macro_editor_cat_air(Republic_heli)
  37. vehicleClass = macro_editor_vehicle_type_air(Republic)
  38. class UserActions:UserActions
  39. {
  40. #include "user_action.hpp"
  41. };
  42. };
  43. };