d3lta 10 Posted November 13, 2016 Hi Masters, I need to limit the vehicle cargo space (vanilla inventory itens) , but I don't want to make a mod or use "alien" mod, how I do this? It is possible using script only? Exceptionally, Can I do this with ACE3 easily? Best regards D3lta Share this post Link to post Share on other sites
M1ke_SK 230 Posted November 14, 2016 Hi Masters, I need to limit the vehicle cargo space , but I don't want to make a mod or use "alien" mod, how I do this? It is possible using script only? Exceptionally, Can I do this with ACE3 easily? Best regards D3lta You can use variables to determine cargo with ACE 3 _vehicle setVariable ["ace_cargo_space", 4, true]; // Cargo space your vehicle has _vehicle setVariable ["ace_cargo_hasCargo", 1, true]; // Enables cargo to be loaded inside the vehicle (1-yes, 0-no) More about it here: http://ace3mod.com/wiki/framework/cargo-framework.html Share this post Link to post Share on other sites
d3lta 10 Posted November 14, 2016 Very Thanks M1ke_SK, but I'm spawning a O_MRAP_02_F and nothing happen's, the inventory space continue's the same. why? _tempveic = "O_MRAP_02_F" createVehicle _position; _tempveic setVariable ["ace_cargo_space", 1, true]; Using in object Initialization, nothing happen's too... why? this setVariable ["ace_cargo_space", 1, true]; Best Regards! Share this post Link to post Share on other sites
M1ke_SK 230 Posted November 14, 2016 Very Thanks M1ke_SK, but I'm spawning a O_MRAP_02_F and nothing happen's, the inventory space continue's the same. why? _tempveic = "O_MRAP_02_F" createVehicle _position; _tempveic setVariable ["ace_cargo_space", 1, true]; Using in object Initialization, nothing happen's too... why? this setVariable ["ace_cargo_space", 1, true]; Best Regards! Variable for ACE 3 works. I just tested it. Don't confuse ACE3 cargo system with vanilla ! Ace3 cargo holds items like wheels, jerry cans, boxes, ... Vanilla system holds items like weapons, uniforms, ... Share this post Link to post Share on other sites
d3lta 10 Posted November 14, 2016 Variable for ACE 3 works. I just tested it. Don't confuse ACE3 cargo system with vanilla ! Ace3 cargo holds items like wheels, jerry cans, boxes, ... Vanilla system holds items like weapons, uniforms, ... That's Right! But my issue is about the vanilla system, not ace 3 cargo... =( I want to limit the system inventory of vehicle to hold only a specific number (or mass) of itens.... Thanx! Share this post Link to post Share on other sites
Guest Posted November 15, 2016 Hello ! You can use the Put EH to manage that. https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#Put You can also use ContainerOpened / InventoryOpened to manage / change the UI / display hint depending on your custom load weight variables. Hope it helps. Share this post Link to post Share on other sites
d3lta 10 Posted November 15, 2016 very very thx harmdhast, I will try it! But It's disappointing the script ecosystem from bohemia don't give a easy way to do this, such a simple thing, . Best regards. Share this post Link to post Share on other sites
Guest Posted November 15, 2016 Ikr. I'm hoping they'll give us the oportunity to overwrite config from the mission one day. I'll come back to you if I find something else. Regards. Share this post Link to post Share on other sites