1
0

config.cpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. RD501_magclamp_large_offset[] = {0.0, 0.0, -2.0};
  33. RD501_magclamp_small_offset[] = {0.0, 2.0, -2.0};
  34. faction = macro_republic_faction
  35. editorSubcategory = macro_editor_cat(Transport)
  36. vehicleClass = macro_editor_vehicle_type(Transport)
  37. enginePower=300;
  38. peakTorque=800;
  39. class ACE_Actions {
  40. class ACE_MainActions {
  41. displayName = "Deployable CCP";
  42. condition = "true";
  43. distance = 4;
  44. class rd501_deploy_medical_ccp {
  45. displayName = "Deploy";
  46. statement = "_this call rd501_fnc_deployCCP";
  47. icon = "rd501_main\ui_icons\medical_emblem.paa";
  48. exceptions[] = {};
  49. };
  50. };
  51. };
  52. };
  53. };