Jump to content
Mostabdel

Names of items & their weight

Recommended Posts

where I can find the names of the items and their weight so that I can make changes

 

b_560_95_1.png

Share this post


Link to post
Share on other sites
19 hours ago, Mostabdel said:

where I can find the names of the items and their weight so that I can make changes

 

b_560_95_1.png

unless your going to mod your server for changing item weights i dont see anyother way it will work as you need to change the weight client and server side otherwise it wont change

 

if you change the weight server side the client wont match up so it will use the weight set in the client files

Share this post


Link to post
Share on other sites
On 12/11/2018 at 10:29 PM, mrwolv said:

unless your going to mod your server for changing item weights i dont see anyother way it will work as you need to change the weight client and server side otherwise it wont change

 

if you change the weight server side the client wont match up so it will use the weight set in the client files

Given this, it looks as though what you are looking to do is unachievable @Mostabdel unless everyone modifies their client. Perhaps instead look at changing stamina decreasing due to weight added to the character. This is controlled by the server and would help achieve what you are trying to do (I believe). It would involve unpacking a pbo. 

1. Unpack dta/scripts.pbo using PBOManager

2. Copy the newly made scripts folder into the root server folder (where the .exe is)

3. Open scripts/3_Game/constants.c

4. Look for...

const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 5; //in units (how much sprint depletes stamina)

keep going down and you’ll find a line which mentions something like Stamina decreased by adding 1kg of weight and lower that value. 

You will need to make sure allow unpacked PBOs to be used in your config or dayz_BE or something (this is allowed by default so you should be fine). Goodluck! 

Edited by Fester808

Share this post


Link to post
Share on other sites
28 minutes ago, Fester808 said:

Given this, it looks as though what you are looking to do is unachievable unless everyone modifies their client. Perhaps instead look at changing stamina decreasing due to weight added to the character. This is controlled by the server and would help achieve what you are trying to do (I believe). It would involve unpacking a pbo. 

1. Unpack dta/scripts.pbo using PBOManager

2. Copy the newly made scripts folder into the root server folder (where the .exe is)

3. Open scripts/3_Game/constants.c

4. Look for...

const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 5; //in units (how much sprint depletes stamina)

keep going down and you’ll find a line which mentions something like Stamina decreased by adding 1kg of weight and lower that value. 

You will need to make sure allow unpacked PBOs to be used in your config or dayz_BE or something (this is allowed by default so you should be fine). Goodluck! 

yeah thats true i want to lower the weight of barrelz,tentz and a little more but i also want to keep my server unmodded and vanilla lol

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

×