config.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(MASH)
  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(MASH,Truck)
  15. };
  16. weapons[]=
  17. {
  18. };
  19. };
  20. };
  21. #include "../../common/sensor_templates.hpp"
  22. class DefaultEventhandlers;
  23. class CfgVehicles
  24. {
  25. class B_Truck_01_box_F;
  26. class macro_new_vehicle(MASH,Truck):B_Truck_01_box_F
  27. {
  28. displayName = "Republic M*A*S*H Truck";
  29. scope = 2;
  30. forceInGarage = 1;
  31. side = 1;
  32. faction = macro_republic_faction
  33. editorSubcategory = macro_editor_cat(Transport)
  34. vehicleClass = macro_editor_vehicle_type(Transport)
  35. enginePower=300;
  36. peakTorque=800;
  37. class ACE_Actions {
  38. class ACE_MainActions {
  39. displayName = "Deployable CCP";
  40. condition = "true";
  41. distance = 4;
  42. class rd501_deploy_medical_ccp {
  43. displayName = "Deploy";
  44. statement = "_this call rd501_fnc_deployCCP";
  45. icon = "rd501_main\ui_icons\medical_emblem.paa";
  46. exceptions[] = {};
  47. };
  48. };
  49. };
  50. };
  51. };