Post by richykjinx64 on Jul 2, 2024 11:33:31 GMT 10
![CommanderFOX Avatar](http://storage.proboards.com/5490376/avatar/GTRWNbPw0XqXOMxaMrLv.png)
![nick26 Avatar](http://storage.proboards.com/forum/images/defaultavatar.png)
edit: is the "playerTalent.lvt" file the one containing informations on characters abilities? I would love to balance some characters!
Start with an easy .lvt file, then you start to slowly understand how the data is stored in them and what variable types they contain.
Every .lvt file of the PC version should be in Little Endian.
WeaponTagRate.lvt is a pretty simple file. It contains the drop rate for all the weapon tags including no tag. Values are stored as floating point variables with a size of 4. Try to locate the first floating point with the value "50".
This is the first table entry and its the rate for no tag. Table entries start with a "03" and end with a "01" variable types in between are usually an integer size 1 or a float with a size of 4. In our case, the Weapon Tag Rates are all stored as floats size 4.
If you are using the vanilla table and not the modded one, the last float entry in the file should be a "1.5" which is the chance for the rare tag.
Screenshot (first table entry)
You can also compare the .lvt files from my mod to the original ones with built in hex editor compare function, you will see which values have changed.
I haven't really looked into player skills .lvt files besides comparing to consoles if anything has changed, you could always try to search for the values if you got the list of the player hidden skills.
To get the weapon level variables, e.g how much their stats change, go to the weapon folder, each .lvt file there is for a weapon (weapon id), they contain Firepower, Capacity and Rate of Fire for each level. Goes up to 60 (Lv.50) if you look at original PC .lvt files, if you look at consoles it goes up to 61 (Lv.51 aka BW) I just took them and applied them to Lv.50 of each weapon for the PC version.
There's also a folder for each enemy (enemy id) I also had to append some stuff from the consoles there to make enemies scale correctly until Lv.80.
Good luck and feel free to ask if you got more questions!