Custom Vehicle maxload

5 posts in this topic

First sry for my english.


Hey Guys,


I am trying to change the maxload of the vehicle inventory.

I never made my one script before and now i have the first problem.

I think that i am on the right path maybe someone can help me.

I think that the maxload is defined in this script    ExileClient_util_item_getMaximumLoad.sqf

and i know that each vehicle has a defined maxload in his config. bin

So into my config.cpp at my mission file i put the follwing line to the custom code class

class CfgExileCustomCode 
		You can overwrite every single file of our code without touching it.
		To do that, add the function name you want to overwrite plus the 
		path to your custom file here. If you wonder how this works, have a
		look at our bootstrap/fn_preInit.sqf function.

		Simply add the following scheme here:

		<Function Name of Exile> = "<New File Name>";


		ExileClient_util_fusRoDah = "myaddon\myfunction.sqf";
	ExileClient_util_item_getMaximumLoad = "custom\ExileClient_util_item_getMaximumLoad.sqf";


and in my mission pbo/custom folder i put my modified file called  ExileClient_util_item_getMaximumLoad.sqf


and into my modified file i put just for testing

 * ExileClient_util_item_getMaximumLoad
 * Exile Mod
 * www.exilemod.com
 * © 2015 Exile Mod Team
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
_className = _this;
_maximumLoad = 0;

if (_className = "Exile_Car_TowTractor_White") then
    _containerClassName = getText(configFile >> "CfgWeapons" >> _className >> "ItemInfo" >> "containerClass");
    _maximumLoad = "2000000";
if (_className != "") then
    _containerClassName = getText(configFile >> "CfgWeapons" >> _className >> "ItemInfo" >> "containerClass");
    _maximumLoad = getNumber(configFile >> "CfgVehicles" >> _containerClassName >> "maximumLoad");

And nothing is working =D I hope someone can help me! That would be wonderfull =D=D


Share this post

Link to post
Share on other sites
2 hours ago, Crazy Mike said:

if your refering to item mass you have to have a mod to edit the vehicle config

your trying to edit the poptabs

Thanks for your answer

Isn´t there any other way than creating a mod?

I have seen some other scripts wich overrides exile code.

If there isn´t any other way than creating a mod how would i start, when i like to use arma and exile cars

and just like to change the maximum item load?


Thank´s a lot for your help!

Share this post

Link to post
Share on other sites
On ‎03‎/‎04‎/‎2017 at 7:17 AM, [TSM]-CHICKEN-ΞλΞ said:

For example i found this, would this work?

Link to bistudio

If yes how? =D=D



On ‎25‎/‎01‎/‎2018 at 8:17 AM, Puma_123 said:

I would also like to know if and how it works.

in order to mod a mod you need to make a mod, you cant just script something in exile/arma you actually need to make a mod which overwrites another mod in such a way that doesn't (a) break the original mod and (b) doesn't get overwritten by the original mod at any point in start/run/end of server cycle.

If you do manage to write a mod then it will have to be server side and everyone who joins must also download it.

The best way is to try out some mods and see which have larger space then put those versions into the traders/spawns - check out how exile has skinned/tweaked the arma3 models and renamed for exile, I noticed several models have different sized storage so just go through the list and swap them in/out unless you do really want to build and distribute a whole mod

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.