Advertisement
markooff

Untitled

Nov 19th, 2020
2,156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 36.65 KB | None | 0 0
  1. // ///////////////////////////////////////////
  2. // ///// markooff'a vehicles mods //////
  3. // @author: markooff[PGM]
  4. // version 03.b03
  5. // ///////////////////////////////////////////
  6.  
  7. if (isServer) then {
  8.  
  9. // quad
  10.  
  11.     ["B_Quadbike_01_F", "initPost", {
  12.         params ["_quad"];
  13.         [_quad, 1] call ace_cargo_fnc_setSpace;
  14.         [_quad, 9] call ace_cargo_fnc_setSize;
  15. //      [_quad, true, [0, 2, 0], 0] call ace_dragging_fnc_setDraggable;
  16.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  17.  
  18. // assaultboat
  19.     ["B_Boat_Transport_01_F", "initPost", {
  20.         params ["_ponton"];
  21.         [_ponton, 2] call ace_cargo_fnc_setSpace;
  22.         [_ponton, 5] call ace_cargo_fnc_setSize;
  23. //      [_ponton, true, [0, 3.1, 0], 0] call ace_dragging_fnc_setDraggable;
  24.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  25.  
  26.     ["B_Lifeboat", "initPost", {
  27.         params ["_ponton1"];
  28.         [_ponton1, 2] call ace_cargo_fnc_setSpace;
  29.         [_ponton1, 5] call ace_cargo_fnc_setSize;
  30. //      [_ponton1, true, [0, 3.1, 0], 0] call ace_dragging_fnc_setDraggable;
  31.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  32.  
  33. // Speedboat
  34.     ["B_Boat_Armed_01_minigun_F", "initPost", {
  35.         params ["_speedboat1"];
  36.         [_speedboat1, 8] call ace_cargo_fnc_setSpace;
  37.         [_speedboat1, 39] call ace_cargo_fnc_setSize;
  38.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;  
  39. // SDV
  40.  
  41.     ["B_SDV_01_F", "initPost", {
  42.         params ["_sdv"];
  43.         [_sdv, 2] call ace_cargo_fnc_setSpace;
  44.         [_sdv, 18] call ace_cargo_fnc_setSize;
  45. //      [_sdv, true, [0, 5.2, 0], 0] call ace_dragging_fnc_setDraggable;
  46.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  47.  
  48. // Mk.V
  49.  
  50.     ["rhsusf_mkvsoc", "initPost", {
  51.         params ["_mkv"];
  52.         [_mkv, 29] call ace_cargo_fnc_setSpace;
  53. //      [_mkv, 85] call ace_cargo_fnc_setSize;
  54. //      [_mkv, true, [0, 5.2, 0], 0] call ace_dragging_fnc_setDraggable;
  55.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  56.  
  57. // kayak
  58.  
  59.     ["rhsgref_civ_canoe", "initPost", {
  60.         params ["_kayak1"];
  61.         [_kayak1, 1] call ace_cargo_fnc_setSpace;
  62.         [_kayak1, 1] call ace_cargo_fnc_setSize;
  63.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  64.  
  65. // military kayak
  66.  
  67.     ["rhsgref_hidf_canoe", "initPost", {
  68.         params ["_kayak1"];
  69.         [_kayak1, 1] call ace_cargo_fnc_setSpace;
  70.         [_kayak1, 1] call ace_cargo_fnc_setSize;
  71.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  72.  
  73.  
  74. // //////////////////// Cars/Trucks ////////////////////////
  75.  
  76. // Cargo = 4
  77.  
  78.  
  79.     ["rhsusf_m1025_w_s_m2", "initPost", {
  80.         params ["_hmvee1"];
  81.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  82.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  83.  
  84.     ["rhsusf_m1025_w_s_Mk19", "initPost", {
  85.         params ["_hmvee1"];
  86.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  87.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  88.  
  89.     ["rhsusf_m1025_w_s", "initPost", {
  90.         params ["_hmvee1"];
  91.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  92.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  93.  
  94.     ["rhsusf_m1043_w_s_m2", "initPost", {
  95.         params ["_hmvee1"];
  96.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  97.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  98.  
  99.     ["rhsusf_m1043_w_s_mk19", "initPost", {
  100.         params ["_hmvee1"];
  101.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  102.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  103.  
  104.     ["rhsusf_m1043_w_s", "initPost", {
  105.         params ["_hmvee1"];
  106.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  107.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  108.  
  109.     ["rhsusf_m1045_w_s", "initPost", {
  110.         params ["_hmvee1"];
  111.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  112.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  113.  
  114.     ["rhsusf_m998_w_s_2dr_halftop", "initPost", {
  115.         params ["_hmvee1"];
  116.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  117.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  118.  
  119.     ["rhsusf_m998_w_s_2dr", "initPost", {
  120.         params ["_hmvee1"];
  121.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  122.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  123.  
  124.     ["rhsusf_m998_w_s_4dr_halftop", "initPost", {
  125.         params ["_hmvee1"];
  126.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  127.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  128.  
  129.     ["rhsusf_m998_w_s_4dr", "initPost", {
  130.         params ["_hmvee1"];
  131.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  132.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  133.  
  134. // Desert
  135.  
  136.     ["rhsusf_m1025_d_s_m2", "initPost", {
  137.         params ["_hmvee1"];
  138.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  139.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  140.  
  141.     ["rhsusf_m1025_d_s_Mk19", "initPost", {
  142.         params ["_hmvee1"];
  143.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  144.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  145.  
  146.     ["rhsusf_m1025_d_s", "initPost", {
  147.         params ["_hmvee1"];
  148.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  149.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  150.  
  151.     ["rhsusf_m1043_d_s_m2", "initPost", {
  152.         params ["_hmvee1"];
  153.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  154.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  155.  
  156.     ["rhsusf_m1043_d_s_mk19", "initPost", {
  157.         params ["_hmvee1"];
  158.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  159.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  160.  
  161.     ["rhsusf_m1043_d_s", "initPost", {
  162.         params ["_hmvee1"];
  163.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  164.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  165.  
  166.     ["rhsusf_m1045_d_s", "initPost", {
  167.         params ["_hmvee1"];
  168.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  169.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  170.  
  171.     ["rhsusf_m998_d_s_2dr_halftop", "initPost", {
  172.         params ["_hmvee1"];
  173.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  174.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  175.  
  176.     ["rhsusf_m998_d_s_2dr", "initPost", {
  177.         params ["_hmvee1"];
  178.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  179.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  180.  
  181.     ["rhsusf_m998_d_s_4dr_halftop", "initPost", {
  182.         params ["_hmvee1"];
  183.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  184.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  185.  
  186.     ["rhsusf_m998_d_s_4dr", "initPost", {
  187.         params ["_hmvee1"];
  188.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  189.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  190.  
  191.  
  192. // /////////////// MHVee - Cargo = 6 ///////////////////
  193.  
  194. // USMC
  195.  
  196.     ["rhsusf_m998_w_s_2dr_fulltop", "initPost", {
  197.         params ["_hmvee1"];
  198.         [_hmvee1, 6] call ace_cargo_fnc_setSpace;
  199.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  200.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  201.  
  202.     ["rhsusf_m998_w_s_4dr_fulltop", "initPost", {
  203.         params ["_hmvee1"];
  204.         [_hmvee1, 6] call ace_cargo_fnc_setSpace;
  205.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  206.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  207.  
  208. // Desert
  209.  
  210.     ["rhsusf_m998_d_s_2dr_fulltop", "initPost", {
  211.         params ["_hmvee1"];
  212.         [_hmvee1, 6] call ace_cargo_fnc_setSpace;
  213.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  214.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  215.  
  216.     ["rhsusf_m998_d_s_4dr_fulltop", "initPost", {
  217.         params ["_hmvee1"];
  218.         [_hmvee1, 6] call ace_cargo_fnc_setSpace;
  219.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  220.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  221.  
  222. // US Army
  223.  
  224.     ["rhsusf_m998_w_4dr_fulltop", "initPost", {
  225.         params ["_hmvee1"];
  226.         [_hmvee1, 6] call ace_cargo_fnc_setSpace;
  227.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  228.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  229.  
  230.     ["rhsusf_m998_w_2dr_fulltop", "initPost", {
  231.         params ["_hmvee1"];
  232.         [_hmvee1, 6] call ace_cargo_fnc_setSpace;
  233.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  234.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  235.  
  236.     ["rhsusf_m998_d_4dr_fulltop", "initPost", {
  237.         params ["_hmvee1"];
  238.         [_hmvee1, 6] call ace_cargo_fnc_setSpace;
  239.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  240.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  241.  
  242.     ["rhsusf_m998_d_2dr_fulltop", "initPost", {
  243.         params ["_hmvee1"];
  244.         [_hmvee1, 6] call ace_cargo_fnc_setSpace;
  245.         [_hmvee1, 30] call ace_cargo_fnc_setSize;
  246.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  247.  
  248. // /////////////// Truck ///////////////////////
  249.  
  250. // Cargo = 12
  251.  
  252.     ["rhsusf_M1078A1P2_WD_fmtv_usarmy", "initPost", {
  253.         params ["_truck10"];
  254.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  255.         [_truck10, 42] call ace_cargo_fnc_setSize;
  256.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  257.  
  258.     ["rhsusf_M1078A1P2_WD_flatbed_fmtv_usarmy", "initPost", {
  259.         params ["_truck10"];
  260.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  261.         [_truck10, 42] call ace_cargo_fnc_setSize;
  262.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  263.  
  264.     ["rhsusf_M1078A1P2_B_WD_fmtv_usarmy", "initPost", {
  265.         params ["_truck10"];
  266.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  267.         [_truck10, 42] call ace_cargo_fnc_setSize;
  268.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  269.  
  270.     ["rhsusf_M1078A1P2_B_WD_flatbed_fmtv_usarmy", "initPost", {
  271.         params ["_truck10"];
  272.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  273.         [_truck10, 42] call ace_cargo_fnc_setSize;
  274.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  275.  
  276.     ["rhsusf_M1078A1P2_B_M2_WD_fmtv_usarmy", "initPost", {
  277.         params ["_truck10"];
  278.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  279.         [_truck10, 42] call ace_cargo_fnc_setSize;
  280.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  281.  
  282.     ["rhsusf_M1078A1P2_B_M2_WD_flatbed_fmtv_usarmy", "initPost", {
  283.         params ["_truck10"];
  284.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  285.         [_truck10, 42] call ace_cargo_fnc_setSize;
  286.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  287.  
  288.     ["rhsusf_M1078A1P2_D_fmtv_usarmy", "initPost", {
  289.         params ["_truck10"];
  290.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  291.         [_truck10, 42] call ace_cargo_fnc_setSize;
  292.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  293.  
  294.     ["rhsusf_M1078A1P2_D_flatbed_fmtv_usarmy", "initPost", {
  295.         params ["_truck10"];
  296.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  297.         [_truck10, 42] call ace_cargo_fnc_setSize;
  298.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  299.  
  300.     ["rhsusf_M1078A1P2_B_D_fmtv_usarmy", "initPost", {
  301.         params ["_truck10"];
  302.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  303.         [_truck10, 42] call ace_cargo_fnc_setSize;
  304.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  305.  
  306.     ["rhsusf_M1078A1P2_B_D_flatbed_fmtv_usarmy", "initPost", {
  307.         params ["_truck10"];
  308.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  309.         [_truck10, 42] call ace_cargo_fnc_setSize;
  310.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  311.  
  312.     ["rhsusf_M1078A1P2_B_M2_D_fmtv_usarmy", "initPost", {
  313.         params ["_truck10"];
  314.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  315.         [_truck10, 42] call ace_cargo_fnc_setSize;
  316.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  317.  
  318.     ["rhsusf_M1078A1P2_B_M2_D_flatbed_fmtv_usarmy", "initPost", {
  319.         params ["_truck10"];
  320.         [_truck10, 12] call ace_cargo_fnc_setSpace;
  321.         [_truck10, 42] call ace_cargo_fnc_setSize;
  322.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  323.  
  324. // Medium Trucks - Cargo = 20
  325.  
  326.     ["rhsusf_M1083A1P2_WD_fmtv_usarmy", "initPost", {
  327.         params ["_truck10"];
  328.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  329.         [_truck10, 45] call ace_cargo_fnc_setSize;
  330.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  331.  
  332.     ["rhsusf_M1083A1P2_WD_flatbed_fmtv_usarmy", "initPost", {
  333.         params ["_truck10"];
  334.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  335.         [_truck10, 45] call ace_cargo_fnc_setSize;
  336.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  337.  
  338.     ["rhsusf_M1083A1P2_B_WD_fmtv_usarmy", "initPost", {
  339.         params ["_truck10"];
  340.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  341.         [_truck10, 45] call ace_cargo_fnc_setSize;
  342.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  343.  
  344.     ["rhsusf_M1083A1P2_B_WD_flatbed_fmtv_usarmy", "initPost", {
  345.         params ["_truck10"];
  346.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  347.         [_truck10, 45] call ace_cargo_fnc_setSize;
  348.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  349.  
  350.     ["rhsusf_M1083A1P2_B_M2_WD_fmtv_usarmy", "initPost", {
  351.         params ["_truck10"];
  352.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  353.         [_truck10, 45] call ace_cargo_fnc_setSize;
  354.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  355.  
  356.     ["rhsusf_M1083A1P2_B_M2_WD_flatbed_fmtv_usarmy", "initPost", {
  357.         params ["_truck10"];
  358.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  359.         [_truck10, 45] call ace_cargo_fnc_setSize;
  360.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  361.  
  362.     ["rhsusf_M1084A1P2_WD_fmtv_usarmy", "initPost", {
  363.         params ["_truck10"];
  364.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  365.         [_truck10, 45] call ace_cargo_fnc_setSize;
  366.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  367.  
  368.     ["rhsusf_M1084A1P2_B_WD_fmtv_usarmy", "initPost", {
  369.         params ["_truck10"];
  370.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  371.         [_truck10, 45] call ace_cargo_fnc_setSize;
  372.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  373.  
  374.     ["rhsusf_M1084A1P2_B_M2_WD_fmtv_usarmy", "initPost", {
  375.         params ["_truck10"];
  376.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  377.         [_truck10, 45] call ace_cargo_fnc_setSize;
  378.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  379.  
  380. // Desert
  381.  
  382.  
  383.     ["rhsusf_M1083A1P2_D_fmtv_usarmy", "initPost", {
  384.         params ["_truck10"];
  385.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  386.         [_truck10, 45] call ace_cargo_fnc_setSize;
  387.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  388.  
  389.     ["rhsusf_M1083A1P2_D_flatbed_fmtv_usarmy", "initPost", {
  390.         params ["_truck10"];
  391.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  392.         [_truck10, 45] call ace_cargo_fnc_setSize;
  393.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  394.  
  395.     ["rhsusf_M1083A1P2_B_D_fmtv_usarmy", "initPost", {
  396.         params ["_truck10"];
  397.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  398.         [_truck10, 45] call ace_cargo_fnc_setSize;
  399.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  400.  
  401.     ["rhsusf_M1083A1P2_B_D_flatbed_fmtv_usarmy", "initPost", {
  402.         params ["_truck10"];
  403.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  404.         [_truck10, 45] call ace_cargo_fnc_setSize;
  405.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  406.  
  407.     ["rhsusf_M1083A1P2_B_M2_D_fmtv_usarmy", "initPost", {
  408.         params ["_truck10"];
  409.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  410.         [_truck10, 45] call ace_cargo_fnc_setSize;
  411.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  412.  
  413.     ["rhsusf_M1083A1P2_B_M2_D_flatbed_fmtv_usarmy", "initPost", {
  414.         params ["_truck10"];
  415.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  416.         [_truck10, 45] call ace_cargo_fnc_setSize;
  417.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  418.  
  419.     ["rhsusf_M1084A1P2_D_fmtv_usarmy", "initPost", {
  420.         params ["_truck10"];
  421.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  422.         [_truck10, 45] call ace_cargo_fnc_setSize;
  423.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  424.  
  425.     ["rhsusf_M1084A1P2_B_D_fmtv_usarmy", "initPost", {
  426.         params ["_truck10"];
  427.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  428.         [_truck10, 45] call ace_cargo_fnc_setSize;
  429.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  430.  
  431.     ["rhsusf_M1084A1P2_B_M2_D_fmtv_usarmy", "initPost", {
  432.         params ["_truck10"];
  433.         [_truck10, 20] call ace_cargo_fnc_setSpace;
  434.         [_truck10, 45] call ace_cargo_fnc_setSize;
  435.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  436.  
  437. // ////////////////// M977A4 ////////////////////////////
  438.  
  439. // 4 osie - Cargo 28
  440.  
  441. // Desert
  442.  
  443.     ["rhsusf_M977A4_usarmy_d", "initPost", {
  444.         params ["_truck14"];
  445.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  446. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  447.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  448.  
  449.     ["rhsusf_M977A4_BKIT_usarmy_d", "initPost", {
  450.         params ["_truck14"];
  451.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  452. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  453.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  454.  
  455.     ["rhsusf_M977A4_BKIT_M2_usarmy_d", "initPost", {
  456.         params ["_truck14"];
  457.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  458. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  459.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  460.  
  461. // Woodland
  462.  
  463.     ["rhsusf_M977A4_usarmy_wd", "initPost", {
  464.         params ["_truck14"];
  465.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  466. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  467.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  468.  
  469.     ["rhsusf_M977A4_BKIT_usarmy_wd", "initPost", {
  470.         params ["_truck14"];
  471.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  472. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  473.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  474.  
  475.     ["rhsusf_M977A4_BKIT_M2_usarmy_wd", "initPost", {
  476.         params ["_truck14"];
  477.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  478. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  479.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  480.  
  481.  
  482. // //////////////////// HEMITs
  483.  
  484. // Cargo = 28
  485.  
  486.     ["B_Truck_01_transport_F", "initPost", {
  487.         params ["_truck14"];
  488.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  489. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  490.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  491.  
  492.     ["B_Truck_01_covered_F", "initPost", {
  493.         params ["_truck14"];
  494.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  495. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  496.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  497.  
  498.     ["B_Truck_01_cargo_F", "initPost", {
  499.         params ["_truck14"];
  500.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  501. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  502.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  503.  
  504.     ["B_Truck_01_medical_F", "initPost", {
  505.         params ["_truck14"];
  506.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  507. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  508.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  509.  
  510. // Tanoa HEMITs
  511.  
  512.     ["B_T_Truck_01_cargo_F", "initPost", {
  513.         params ["_truck14"];
  514.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  515. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  516.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  517.  
  518.     ["B_T_Truck_01_medical_F", "initPost", {
  519.         params ["_truck14"];
  520.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  521. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  522.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  523.  
  524.     ["B_T_Truck_01_transport_F", "initPost", {
  525.         params ["_truck14"];
  526.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  527. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  528.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  529.  
  530.     ["B_T_Truck_01_covered_F", "initPost", {
  531.         params ["_truck14"];
  532.         [_truck14, 28] call ace_cargo_fnc_setSpace;
  533. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  534.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  535.  
  536. // The Biggest HEMITs
  537.  
  538. // Cargo = 41
  539.  
  540.     ["B_Truck_01_box_F", "initPost", {
  541.         params ["_truck14"];
  542.         [_truck14, 41] call ace_cargo_fnc_setSpace;
  543. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  544.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  545.  
  546.     ["B_T_Truck_01_box_F", "initPost", {
  547.         params ["_truck14"];
  548.         [_truck14, 41] call ace_cargo_fnc_setSpace;
  549. //      [_truck14, 45] call ace_cargo_fnc_setSize;
  550.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  551.  
  552.  
  553.  
  554. // //////////////// MRAPs APCs ////////////////////////
  555.  
  556.     //ciemnozielony (olive) z APEXa
  557.     ["B_T_APC_Wheeled_01_cannon_F", "initPost", {
  558.         params ["_MRAP1"];
  559.         [_MRAP1, 8] call ace_cargo_fnc_setSpace;
  560.         [_MRAP1, 55] call ace_cargo_fnc_setSize;
  561.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  562.    
  563.     ["B_APC_Wheeled_01_cannon_F", "initPost", {
  564.         params ["_MRAP1"];
  565.         [_MRAP1, 8] call ace_cargo_fnc_setSpace;
  566.         [_MRAP1, 55] call ace_cargo_fnc_setSize;
  567.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  568.    
  569.     ["rhsusf_M1117_D", "initPost", {
  570.         params ["_MRAP2"];
  571.         [_MRAP2, 8] call ace_cargo_fnc_setSpace;
  572.         [_MRAP2, 41] call ace_cargo_fnc_setSize;
  573.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  574.  
  575.     ["rhsusf_stryker_m1126_m2_d", "initPost", {
  576.         params ["_MRAP3"];
  577.         [_MRAP3, 10] call ace_cargo_fnc_setSpace;
  578.         [_MRAP3, 55] call ace_cargo_fnc_setSize;
  579.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  580.  
  581.     ["rhsusf_stryker_m1126_m2_wd", "initPost", {
  582.         params ["_MRAP3"];
  583.         [_MRAP3, 10] call ace_cargo_fnc_setSpace;
  584.         [_MRAP3, 55] call ace_cargo_fnc_setSize;
  585.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  586.  
  587. // M113 Desert
  588.  
  589.     ["rhsusf_m113d_usarmy_unarmed", "initPost", {
  590.         params ["_APC1"];
  591.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  592.         [_APC1, 45] call ace_cargo_fnc_setSize;
  593.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  594.  
  595.     ["rhsusf_m113d_usarmy_supply", "initPost", {
  596.         params ["_APC1"];
  597.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  598.         [_APC1, 45] call ace_cargo_fnc_setSize;
  599.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  600.  
  601.     ["rhsusf_m113d_usarmy", "initPost", {
  602.         params ["_APC1"];
  603.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  604.         [_APC1, 45] call ace_cargo_fnc_setSize;
  605.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  606.  
  607.     ["rhsusf_m113d_usarmy_M240", "initPost", {
  608.         params ["_APC1"];
  609.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  610.         [_APC1, 45] call ace_cargo_fnc_setSize;
  611.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  612.  
  613.     ["rhsusf_m113d_usarmy_medical", "initPost", {
  614.         params ["_APC1"];
  615.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  616.         [_APC1, 45] call ace_cargo_fnc_setSize;
  617.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  618.  
  619.     ["rhsusf_m113d_usarmy_MK19", "initPost", {
  620.         params ["_APC1"];
  621.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  622.         [_APC1, 45] call ace_cargo_fnc_setSize;
  623.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  624.  
  625. // M113 Woodland
  626.  
  627.     ["rhsusf_m113_usarmy_supply", "initPost", {
  628.         params ["_APC1"];
  629.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  630.         [_APC1, 45] call ace_cargo_fnc_setSize;
  631.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  632.  
  633.     ["rhsusf_m113_usarmy", "initPost", {
  634.         params ["_APC1"];
  635.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  636.         [_APC1, 45] call ace_cargo_fnc_setSize;
  637.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  638.  
  639.     ["rhsusf_m113_usarmy_M2_90", "initPost", {
  640.         params ["_APC1"];
  641.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  642.         [_APC1, 45] call ace_cargo_fnc_setSize;
  643.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  644.  
  645.     ["rhsusf_m113_usarmy_M240", "initPost", {
  646.         params ["_APC1"];
  647.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  648.         [_APC1, 45] call ace_cargo_fnc_setSize;
  649.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  650.  
  651.     ["rhsusf_m113_usarmy_medical", "initPost", {
  652.         params ["_APC1"];
  653.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  654.         [_APC1, 45] call ace_cargo_fnc_setSize;
  655.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  656.  
  657.     ["rhsusf_m113_usarmy_MK19", "initPost", {
  658.         params ["_APC1"];
  659.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  660.         [_APC1, 45] call ace_cargo_fnc_setSize;
  661.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  662.  
  663.     ["rhsusf_m113_usarmy_MK19_90", "initPost", {
  664.         params ["_APC1"];
  665.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  666.         [_APC1, 45] call ace_cargo_fnc_setSize;
  667.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  668.  
  669.     ["rhsusf_m113_usarmy_unarmed", "initPost", {
  670.         params ["_APC1"];
  671.         [_APC1, 8] call ace_cargo_fnc_setSpace;
  672.         [_APC1, 45] call ace_cargo_fnc_setSize;
  673.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  674.  
  675. // //////////////// IFVs ////////////////////
  676.  
  677. // Desert
  678.  
  679.     ["RHS_M2A2", "initPost", {
  680.         params ["_IFV1"];
  681.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  682.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  683.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  684.  
  685.     ["RHS_M2A2_BUSKI", "initPost", {
  686.         params ["_IFV1"];
  687.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  688.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  689.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  690.  
  691.     ["RHS_M2A3", "initPost", {
  692.         params ["_IFV1"];
  693.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  694.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  695.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  696.  
  697.     ["RHS_M2A3_BUSKI", "initPost", {
  698.         params ["_IFV1"];
  699.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  700.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  701.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  702.  
  703.     ["RHS_M2A3_BUSKIII", "initPost", {
  704.         params ["_IFV1"];
  705.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  706.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  707.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  708.  
  709.     ["RHS_M6", "initPost", {
  710.         params ["_IFV1"];
  711.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  712.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  713.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  714.  
  715. // woodland
  716.  
  717.     ["RHS_M2A2_wd", "initPost", {
  718.         params ["_IFV1"];
  719.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  720.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  721.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  722.  
  723.     ["RHS_M2A2_BUSKI_WD", "initPost", {
  724.         params ["_IFV1"];
  725.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  726.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  727.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  728.  
  729.     ["RHS_M2A3_wd", "initPost", {
  730.         params ["_IFV1"];
  731.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  732.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  733.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  734.  
  735.     ["RHS_M2A3_BUSKI_wd", "initPost", {
  736.         params ["_IFV1"];
  737.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  738.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  739.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  740.  
  741.     ["RHS_M2A3_BUSKIII_wd", "initPost", {
  742.         params ["_IFV1"];
  743.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  744.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  745.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  746.  
  747.     ["RHS_M6_wd", "initPost", {
  748.         params ["_IFV1"];
  749.         [_IFV1, 8] call ace_cargo_fnc_setSpace;
  750.         [_IFV1, 55] call ace_cargo_fnc_setSize;
  751.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  752.  
  753.    
  754. // /////////////// Helicopters ///////////////////////
  755.  
  756. // Ah-1 Little bird
  757.  
  758.     ["RHS_MELB_AH6M", "initPost", {
  759.         params ["_heli0"];
  760.                  [_heli0, 4] call ace_cargo_fnc_setSpace;
  761. //               _heli0 call ace_fastroping_fnc_equipFRIES;
  762.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  763.  
  764.     ["RHS_MELB_MH6M", "initPost", {
  765.         params ["_heli0"];
  766.                  [_heli0, 4] call ace_cargo_fnc_setSpace;
  767. //               _heli0 call ace_fastroping_fnc_equipFRIES;
  768.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  769.  
  770.     ["RHS_MELB_H6M", "initPost", {
  771.         params ["_heli0"];
  772.                  [_heli0, 4] call ace_cargo_fnc_setSpace;
  773. //               _heli0 call ace_fastroping_fnc_equipFRIES;
  774.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  775.  
  776. // for fastroping in UH1Y
  777.  
  778.     ["RHS_UH1Y_UNARMED", "initPost", {
  779.         params ["_heli0"];
  780.                  [_heli0, 8] call ace_cargo_fnc_setSpace;
  781.                  _heli0 call ace_fastroping_fnc_equipFRIES;
  782.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  783.  
  784.     ["RHS_UH1Y_FFAR", "initPost", {
  785.         params ["_heli0"];
  786.                  [_heli0, 8] call ace_cargo_fnc_setSpace;
  787.                  _heli0 call ace_fastroping_fnc_equipFRIES;
  788.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  789.  
  790.     ["RHS_UH1Y", "initPost", {
  791.         params ["_heli0"];
  792.                  [_heli0, 8] call ace_cargo_fnc_setSpace;
  793.                 _heli0 call ace_fastroping_fnc_equipFRIES;
  794.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  795.  
  796. // for fastroping in UH-60
  797.  
  798.     ["RHS_UH60M", "initPost", {
  799.         params ["_heli1"];
  800.         _heli1 call ace_fastroping_fnc_equipFRIES;
  801.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  802.  
  803.     ["RHS_UH60M2", "initPost", {
  804.         params ["_heli1"];
  805.         _heli1 call ace_fastroping_fnc_equipFRIES;
  806.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  807.  
  808. // Chinook
  809.  
  810.  
  811.     ["RHS_CH_47F", "initPost", {
  812.         params ["_heli2"];
  813.         [_heli2, 29] call ace_cargo_fnc_setSpace;
  814.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  815.  
  816. // CH-53
  817.  
  818.     ["rhsusf_CH53E_USMC", "initPost", {
  819.         params ["_heli2"];
  820.         [_heli2, 29] call ace_cargo_fnc_setSpace;
  821.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  822.  
  823. // /////////////////////////// Planes ////////////////////////////
  824.  
  825. // OV-22 Osprey (NG)
  826.  
  827.     ["B_T_VTOL_01_armed_F", "initPost", {
  828.         params ["_heli2"];
  829.         [_heli2, 55] call ace_cargo_fnc_setSpace;
  830.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  831.  
  832.  
  833.     ["B_T_VTOL_01_infantry_F", "initPost", {
  834.         params ["_heli2"];
  835.         [_heli2, 55] call ace_cargo_fnc_setSpace;
  836.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  837.  
  838.     ["B_T_VTOL_01_vehicle_F", "initPost", {
  839.         params ["_heli2"];
  840.         [_heli2, 55] call ace_cargo_fnc_setSpace;
  841.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  842.  
  843. // Hercules C130
  844.  
  845.     ["RHS_C130J", "initPost", {
  846.         params ["_planeH"];
  847.         [_planeH, 65] call ace_cargo_fnc_setSpace;
  848.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  849.  
  850. // ///////////////////// UAV ////////////////////////
  851.  
  852.     ["B_UAV_06_F", "initPost", {
  853.         params ["_UAV1"];
  854.         [_UAV1, 1] call ace_cargo_fnc_setSize;
  855.         [_UAV1, 1] call ace_cargo_fnc_setSpace;
  856.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  857.  
  858.     ["B_UAV_06_medical_F", "initPost", {
  859.         params ["_UAV1"];
  860.         [_UAV1, 1] call ace_cargo_fnc_setSize;
  861.         [_UAV1, 1] call ace_cargo_fnc_setSpace;    
  862.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  863.  
  864.     ["B_UAV_01_F", "initPost", {
  865.         params ["_UAV1"];
  866.         [_UAV1, 1] call ace_cargo_fnc_setSize;     
  867.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  868.  
  869.     ["B_T_UAV_03_dynamicLoadout_F", "initPost", {
  870.         params ["_UAV2"];
  871.         [_UAV2, 4] call ace_cargo_fnc_setSpace;
  872.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  873.    
  874. // //////////// Huron Logistic Containers ////////////////////
  875.  
  876.     ["B_Slingload_01_Medevac_F", "initPost", {
  877.         params ["_CON1"];
  878.         [_CON1, 39] call ace_cargo_fnc_setSize;
  879.         [_CON1, 20] call ace_cargo_fnc_setSpace;       
  880.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  881.  
  882.     ["B_Slingload_01_Ammo_F", "initPost", {
  883.         params ["_CON1"];
  884.         [_CON1, 39] call ace_cargo_fnc_setSize;
  885.         [_CON1, 50] call ace_cargo_fnc_setSpace;       
  886.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  887.  
  888.     ["B_Slingload_01_Repair_F", "initPost", {
  889.         params ["_CON1"];
  890.         [_CON1, 39] call ace_cargo_fnc_setSize;    
  891.         [_CON1, 40] call ace_cargo_fnc_setSpace;
  892.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  893.  
  894.     ["B_Slingload_01_Cargo_F", "initPost", {
  895.         params ["_CON1"];
  896.         [_CON1, 39] call ace_cargo_fnc_setSize;
  897.         [_CON1, 40] call ace_cargo_fnc_setSpace;       
  898.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  899.  
  900.     ["B_Slingload_01_Fuel_F", "initPost", {
  901.         params ["_CON1"];
  902.         [_CON1, 39] call ace_cargo_fnc_setSize;    
  903.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  904.  
  905. // ////////////// Small Fuel Tanks /////////////////////
  906. /* 
  907.     ["FlexibleTank_01_forest_F", "initPost", {
  908.          params ["_CON4"];
  909.         [_CON4, 2] call ace_cargo_fnc_setSize;     
  910.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  911.  
  912.     ["FlexibleTank_01_sand_F", "initPost", {
  913.          params ["_CON4"];
  914.         [_CON4, 2] call ace_cargo_fnc_setSize;     
  915.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  916.     */
  917. };
  918. // /////////////////////////////////////////////////////
  919. // //////////////  Globally invoked ////////////////////
  920. // ////////////////////////////////////////////////////
  921.  
  922.  
  923.     ["B_Quadbike_01_F", "initPost", {
  924.         params ["_quad"];
  925.         [_quad, true, [0, 2, 0], 0] call ace_dragging_fnc_setDraggable;
  926.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  927.  
  928. // assaultboat
  929.     ["B_Boat_Transport_01_F", "initPost", {
  930.         params ["_ponton"];
  931.     [_ponton, true, [0, 3.1, 0], 0] call ace_dragging_fnc_setDraggable;
  932.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  933.  
  934.     ["B_Lifeboat", "initPost", {
  935.         params ["_ponton1"];
  936.         [_ponton1, true, [0, 3.1, 0], 0] call ace_dragging_fnc_setDraggable;
  937.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  938.  
  939. // Kayak
  940.  
  941. ["rhsgref_civ_canoe" , "initPost", {
  942.         params ["_kayak1"];
  943.         [_kayak1, true, [0, 2.5, 0], 0] call ace_dragging_fnc_setDraggable;
  944.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  945.    
  946. // military kayak
  947.  
  948. ["rhsgref_hidf_canoe" , "initPost", {
  949.         params ["_kayak1"];
  950.         [_kayak1, true, [0, 2.5, 0], 0] call ace_dragging_fnc_setDraggable;
  951.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  952.  
  953.    
  954. // SDV
  955.  
  956.     ["B_SDV_01_F", "initPost", {
  957.         params ["_sdv"];
  958.         [_sdv, true, [0, 5.2, 0], 0] call ace_dragging_fnc_setDraggable;
  959.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  960.  
  961. // UAV
  962.    
  963.     ["B_UAV_06_F", "initPost", {
  964.         params ["_UAV1"];
  965.         [_UAV1, true, [0, 1, 0], 0] call ace_dragging_fnc_setDraggable;
  966. //      [_UAV1, true, [0, 0, 0], 0] call ace_dragging_fnc_setCarryable;
  967.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  968.  
  969.     ["B_UAV_06_medical_F", "initPost", {
  970.         params ["_UAV1"];
  971.         [_UAV1, true, [0, 1, 0], 0] call ace_dragging_fnc_setDraggable;
  972. //      [_UAV1, true, [0, 0, 0], 0] call ace_dragging_fnc_setCarryable;
  973.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  974.  
  975.     ["B_UAV_01_F", "initPost", {
  976.         params ["_UAV1"];
  977.         [_UAV1, true, [0, 1, 0], 0] call ace_dragging_fnc_setDraggable;
  978. //      [_UAV1, true, [0, 0, 0], 0] call ace_dragging_fnc_setCarryable;
  979.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  980.  
  981. // DO TESTOWANIA PGMLS
  982. /*
  983.     ["FlexibleTank_01_forest_F", "initPost", {
  984.          params ["_CON4"];
  985. [_CON4, true, [0, 1, 0], 0] call ace_dragging_fnc_setDraggable;
  986. //      [_UAV1, true, [0, 0, 0], 0] call ace_dragging_fnc_setCarryable;
  987.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  988.  
  989.     ["FlexibleTank_01_sand_F", "initPost", {
  990.          params ["_CON4"];
  991. [_CON4, true, [0, 1, 0], 0] call ace_dragging_fnc_setDraggable;
  992. //      [_UAV1, true, [0, 0, 0], 0] call ace_dragging_fnc_setCarryable;
  993.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  994. */
  995. // /////////////////////////////////////////////////////////////////
  996. //  OPFORCE
  997. // ////////////////////////////////////////////////////////////////
  998.  
  999. // Helis
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005. // /////////////////////////////////////////////////////////////////
  1006. //  GUERILLA + CIVILIANS
  1007. // /////////////////////////////////////////////////////////////////
  1008.  
  1009. // Helis
  1010.  
  1011.     ["I_Heli_light_03_dynamicLoadout_F", "initPost", {
  1012.         params ["_heli0"];
  1013.                  [_heli0, 8] call ace_cargo_fnc_setSpace;
  1014.                 _heli0 call ace_fastroping_fnc_equipFRIES;
  1015.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  1016.  
  1017.     ["I_Heli_light_03_unarmed_F", "initPost", {
  1018.         params ["_heli0"];
  1019.                  [_heli0, 8] call ace_cargo_fnc_setSpace;
  1020.                 _heli0 call ace_fastroping_fnc_equipFRIES;
  1021.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  1022.  
  1023.     ["rhs_uh1h_idap", "initPost", {
  1024.         params ["_heli0"];
  1025.                  [_heli0, 8] call ace_cargo_fnc_setSpace;
  1026.                 _heli0 call ace_fastroping_fnc_equipFRIES;
  1027.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  1028.    
  1029.  
  1030. // Merlin (AW 101)
  1031.  
  1032.     ["C_IDAP_Heli_Transport_02_F", "initPost", {
  1033.         params ["_heli0"];
  1034.                  [_heli0, 29] call ace_cargo_fnc_setSpace;
  1035.                 _heli0 call ace_fastroping_fnc_equipFRIES;
  1036.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  1037.  
  1038.     ["I_Heli_Transport_02_F", "initPost", {
  1039.         params ["_heli0"];
  1040.                  [_heli0, 29] call ace_cargo_fnc_setSpace;
  1041.                 _heli0 call ace_fastroping_fnc_equipFRIES;
  1042.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  1043.  
  1044.  
  1045.  
  1046.  
  1047. // Planes
  1048.  
  1049.  
  1050.     ["C_Plane_Civil_01_F", "initPost", {
  1051.         params ["_heli0"];
  1052.                  [_heli0, 6] call ace_cargo_fnc_setSpace;
  1053.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  1054.  
  1055.     ["C_Plane_Civil_01_racing_F", "initPost", {
  1056.         params ["_heli0"];
  1057.                  [_heli0, 6] call ace_cargo_fnc_setSpace;
  1058.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  1059.  
  1060.     ["RHS_AN2", "initPost", {
  1061.         params ["_heli0"];
  1062.                  [_heli0, 20] call ace_cargo_fnc_setSpace;
  1063.     }, nil, nil, true] call CBA_fnc_addClassEventHandler;
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073. // ////////////////////////////////////////////////////
  1074. // //////////// markooff logistics END //////////////////
  1075. // ////////////////////////////////////////////////////
  1076.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement