Search the Community

Showing results for tags 'maxload'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Exile
    • Changelogs
    • Feedback
  • Exile Community
    • General Discussion
    • New Feature Voting
    • Problems & Bugs
    • Cat Walk
    • Recruitment
    • Small Talk
  • Exile Mod XM8 App
    • XM8 Server Administration
    • XM8 Android App
    • XM8 Discord Bot
  • Exile Mod Server Administration
    • Ask a Game Server Provider
    • Hosting
    • Operating Systems
    • Installation
    • Database
    • Security
    • Maintenance
  • Exile Mod Customization
    • Downloads & Releases
    • Content
    • Environment
    • Gameplay
    • Look & Feel
    • Tech Talk
  • Exile Life Mod
    • Visit forum on exilelifemod.com

Categories

  • Knowledge Base
  • Items
  • Constructions
  • Traders
  • Vehicles

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Homepage

Found 1 result

  1. [TSM]-CHICKEN-ΞλΞ

    Custom Vehicle maxload

    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>"; Example: 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/. */ private["_className","_maximumLoad","_containerClassName"]; _className = _this; _maximumLoad = 0; if (_className = "Exile_Car_TowTractor_White") then _containerClassName = getText(configFile >> "CfgWeapons" >> _className >> "ItemInfo" >> "containerClass"); _maximumLoad = "2000000"; ); else if (_className != "") then { _containerClassName = getText(configFile >> "CfgWeapons" >> _className >> "ItemInfo" >> "containerClass"); _maximumLoad = getNumber(configFile >> "CfgVehicles" >> _containerClassName >> "maximumLoad"); }; _maximumLoad And nothing is working =D I hope someone can help me! That would be wonderfull =D=D