Looking forward to alter weapons stats & perks in zombies
Hi, as said in the title, I'm looking forward to edit stats of weapons and perks but I have several questions :
I have found a reference to a file called "mp/zombiemode.csv" that looks like the kind of file I would want to edit to achieve my goal, however I can't find it anywhere. If someone knows.
About the perks I wonder how to modify existing behavior of perks ( stamin-up makes you run even faster for instance)
Well if anyone can help me that'd be great,
Thanks in advance
Its a file that is included in a .ff file, as far as I know you can't change it.
@coco748 depending on what specifically you want to achieve certain modifications can be achieved through GSC
Indeed, I spent some time in the .gsc and saw some interesting things.
However I don't get why .ff file cannot be modified , Don't the .gsc come from that kind of files as well ?
@coco748 I'm not completely informed but its a structural decision from the Plutonium team to allow the replacement of one GSC file (Additionally it might be the case that tables are kept client side also, though this is just a guess).
@coco748 In my knowledge, I don't think you can exactly modify a table unless Plutonium supports it officially (maybe a server side plugin could achieve this, I don't know). Also, the thing is, any use of csv tables in GSC I have seen is mainly for reading them and getting stats and more from it. And plus, most modifications you probably want to do to a weapon are probably possible via GSC already.
@mikey When you say :
"most modifications you probably want to do to a weapon are probably possible via GSC already.
I guess I could modify the weapons once they are loaded but it requires me to know what's inside the csv. And so far I don't know how I can read its content.
Also is there any precise documentation on the purpose of each file and function ?
@coco748 To be honest, someone else would have to tell you how to read inside a csv file. In BO3, its possible to override these and read them but in BO2, couldn't tell you how.
And documentation on what exactly? GSC or csv?
@mikey I'm talking about general documentation on how the game is made to help me find out where is the piece of code responsible of what I want to edit.
Anyway, I'm for sure looking for something that does not exist.
I'll keep digging by myself and update this topic if I need some more help but I'm still opened to tips.
Do someone know where I can get (or make) a clean gsc dump ? the "maps/mp/zombies/_zm_weapons.gsc" I use is stuffed with various syntax errors.
I have the file you are looking for and I'll upload it but it really isn't useful to what I assume you want to change. https://drive.google.com/file/d/1sFnNDvQYyl6zoSDsdkEodkxOaO0Ps4SM/view?usp=sharing
If you want to modify weapon stats you'll need to modify the weapon files and unfortunately weapon modding doesn't exist in T6 yet.
@Sorex thanks it works
@JezuzLizard, yeah I got kind of disappointed when I opened the csv
Even if there is no weapon modding yet, I'd like to know more of what we currently know about that (like in what files they are and why can't we edit them for now , etc...)
If you can't answer to my question, can you tell me where I can find people who can ? I'd like to give it a look before giving up.
Thanks in advance.
@coco748 I looked for an example understandably there isn't one for T6 since T6 doesn't have modding support officially, but I did find a cod4 one: https://callofduty.fandom.com/wiki/Call_of_Duty_Wiki:Ask_A_Veteran/Weapon_Modding_Guide.
I also found a general modding wiki for T5: https://wiki.zeroy.com/index.php?title=Call_of_Duty_7:_Modding.
As well as one for T7: https://wiki.modme.co/wiki/Game-Support-_-Black-Ops-3.html
Here are all the weapon files in T6 zombies/mp:
There are probably more resources available than these but to answer your question of why they can't be modded is that you need to compile the weapon files which are just text files into a fast file which is kind of like a zip file. Fast files are what most of the assets are contained in and while the data on them can be mostly dumped there isn't currently a tool that can compile them back. Additionally even if you successfully loaded a weapon file without having to compile it in a fast file, which is possible, all clients would have to also have it loaded too. Unfortunately sv_downloads, a feature in older cods, doesn't exist in T6 yet and what it is is the ability for clients to download files from a server they join.
You can modify how much damage guns do to players and zombies by modifying the damage call back override making the damage higher or lower depending on the weapon but you can't do much else.
Thanks a lot,
However how did you get those files (T6 weapons' txts).
I only found that tool but it doesn't see the csv or other plain text files.
I mean there must be a tool that exists and works for every single kind of file ? especially plain text ones that looks easier to access than compiled gsc.
@coco748 Like he said, you can decompile fastfiles and get most of this (I don't know the tool) and then that's how you obtain them. It contains a bunch of different stuff. There may be a tool out there but as far as I know, I don't think there's anything public.
(Correct me if i'm wrong)