Jump to content
d3lta

How to limit vehicle cargo space without mod?

Recommended Posts

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

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

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

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

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×