epp 0 Report post Posted May 18, 2022 Heya, wondering how to change values on fences/gates on my server? Like i've played on a server with 2xHP on fences/gates, but i'm unsure if this is a mod or if you can change values in some cfg? Been googling this but can't find any answers to it.. If anyone knows i'd be thankfull for help Quote Share this post Link to post Share on other sites More sharing options...
JustKeys 1 Report post Posted May 24, 2022 This would be a really long answer, however, this can be modded. If you have already extracted your game data to P: drive, you can find the config.cpp for the item(s) you are looking for. Then, copy the section for the items and the health of the item, edit it to whatever you would like it to be and pack that into your mod. You can also change what tools are allowed for raiding? And decrease the damage they inflict (which would be a much shorter list of changes) Example: class Health { hitpoints = 150; healthLevels[] = {{1.0,{"DZ\Characters\gloves\data\WorkingGloves.rvmat"}},{0.7,{"DZ\Characters\gloves\data\WorkingGloves.rvmat"}},{0.5,{"DZ\Characters\gloves\data\WorkingGloves_damage.rvmat"}},{0.3,{"DZ\Characters\gloves\data\WorkingGloves_damage.rvmat"}},{0.0,{"DZ\Characters\gloves\data\WorkingGloves_destruct.rvmat"}}}; }; Above is from the Gloves config.cpp file. As you can see the section that has hitpoints shows how much HP the gloves have. If you changed 150 to say 900, it would take much longer to ruin a pair of gloves. These are not changes you can just make to the game itself, you would have to create your own mod/script to change it - then upload to the workshop because you would also need the clients connecting to your server to also have their game make these changes. There are many many many sources online on how to create mods if you have never done so. Spurgle has a really good playlist on youtube to get you started. Best of luck! DayZ_MobyD 1 Quote Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.