Jump to content
  • 0

How to change overburden weight


kevin 385874

Question

9 answers to this question

Recommended Posts

  • 0

Not quite so simple.

 

The weight for items are hard coded in the R3F_realism mod.  They can be found here (GitHub version).

 

These then combine with the tiredness side of things to work out when you will have different tiredness affects.  The levels at which blackout and all the different factors that affect them (player stance, weight, speed etc) are all in the R3F_TIRED_Configuration.sqf file (GitHub Version).

 

For a quick fix, maybe look at changing the blackout value or adding it as a variable in the variables.sqf file and change the realism mod so it references the variable rather than having it hard coded.

 

As the realism is external it may be worth taking a quick look at the GNU General Public License it is under to make sure there are no issues with changing the code, especially if you are going to make it available to others.

Link to comment
Share on other sites

  • 0

Create a file called player_monitor.sqf copy this into it

 

if (isServer) then {
    waitUntil{dayz_preloadFinished};
};
_id = [] execFSM "\z\addons\dayz_code\system\player_monitor.fsm";
if (DZE_R3F_WEIGHT) then {
    //_void = [] execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";
};

 

or get it from dayz_code.pbo and place // infront of this line like this

 

//_void = [] execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";

 

Then place the file in your mission folder/pbo like inside your custom folder or fixes folder

 

Open up your init.sqf in your mission folder/pbo

 

Find: _playerMonitor =     [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

 

make sure you change the file path to where u put it so if you put it in the custom folder it will look like this

 

  _playerMonitor =     [] execVM "custom\player_monitor.sqf";

Link to comment
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
  • Advertisement
  • Discord

×
×
  • Create New...