Page MenuHomeFeedback Tracker

A word about DZ\weapons\melee\config.cpp
Closed, ResolvedPublic

Description

I think there is a problem with this file. I made a mod witch double damage for heavy attack. And it works well by adding damage value in heavy classes.
After that I tried to modify the damage value of light attack (nail baseball bat is realy weak IMO) but it seems to not work. Ingame the damage stay to its initial value.
I notice same think for zombies attack, impossible to tweak their damage (and I need that for a PvZ mod I prepare).
During my tests I noticed something different with this file comparing to the other cpp. I use a source control software (source tree) to check changes made on files and it can't show me the modification that have been done, it tell me that the file is bynarize.
So I wonder if the fact that this file is binary does not prevent the modifications from being taken into account (but takes into account the additions as for the double damage of the heavy attacks).

Side note on the same file : it would be great to have a additionZombiesMeleeMultiplier variable (same as for animals) to not unbalance PvP melee combat by modifying heavy attacks damages.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

Modify (not add) a value (damage for exemple) in DZ\weapons\melee\config.cpp
Save, repack, resign...
Launch the game
Modified value not taken into account

Additional Information

During my tests I noticed something different with this file comparing to the other cpp. I use a source control software (source tree) to check changes made on files and it can't show me the modifications that have been done, it tell me that the file is bynarize.
So I wonder if the fact that this file is binary does not prevent the modifications from being taken into account (but takes into account the additions as for the double damage of the heavy attacks).

Side note on the same file : it would be great to have a additionZombiesMeleeMultiplier variable (same as for animals) to not unbalance PvP melee combat by modifying heavy attacks damages.

Event Timeline

Liven created this task.Apr 9 2019, 12:17 PM
Liven edited Steps To Reproduce. (Show Details)Apr 9 2019, 12:20 PM
Liven edited Steps To Reproduce. (Show Details)
rVn closed this task as Resolved.Apr 10 2019, 2:35 PM
rVn claimed this task.

Repacking core game files is not a supported way of modding

Liven added a comment.Apr 10 2019, 4:26 PM

How can I see if a file is core game?
Why there is no problem with the other .cpp?
Why can I double damage on heavy attack but can't modify the other attacks on the same file?

I don't think the file I am talking about is part of the core game.

Liven added a comment.Apr 11 2019, 8:16 AM

ok I found what was the problem with sourcetree (max txt file size) but the other questions stay valid :

How can I see if a file is core game?
Why there is no problem with the other .cpp?
Why can I double damage on heavy attack but can't modify the other attacks on the same file?

I don't think the file I am talking about is part of the core game.