-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module to assign cargo slots #4283
Comments
You should be able to use the following code in the vehicle's init to change its cargo size, where number is the size.
I believe we would prefer an Eden attribute for setting cargo size rather than a module if we add that. |
I have another cargo question that doesn't warrant creating another issue, I used the setCarry function, but it only works on small objects, I want to make a base building mission, and would like to use SetCarry to carry hescos, is there a way to do this?
|
Mass of the item also affects carrying, if it's too heavy you can't carry it. I guess you can try modifying the mass of that object. |
Decided to take a look into adding eden settings for this. Seems that we're doing a hardcoded check against a vehicle classname (for property |
|
Original question has been answered, that's why i'm closing this issue, feel free to discuss this further |
OK guys, but I have another question - does it work with objects like buildings (i.e. structures ) ? Now i need to create a special building to store them in my main base - just to make them availible on demand by our engineer troops ( in my plan the troops can go to that 'special' logistic-building and using ACE_Interaction menu on it - unload for instance a Hedgehog_EP1 or any other small structures) . But I have a problem because the function |
As an attachment - I'll give some code which works pretty well with any vehicle (or container) but I now try to use it with the building ... `//////////////////////////////////////////// if (! isServer) exitWith {}; _container = _this select 0; while {alive _container} do private _loaded = _container getVariable ["ace_cargo_loaded", []]; _container setVariable ["ace_cargo_loaded", nil, true]; _container call ace_cargo_fnc_validateCargoSpace; sleep 5; // here some lines - to fill the cargo space with small fortifications sleep _refreshTime; |
I'd like to suggest a module that allows us to assign cargo slots for addon vehicles, right now the RHS LMTVs have the same cargo capacity as the HEMTT, rather than make a new conifg for every vehicle in the RHS compat, can we just get a module that would allow us to assign slots?
The text was updated successfully, but these errors were encountered: