|
Post by kitty on Mar 23, 2020 9:56:22 GMT 10
Needed: Hex Editor with Go-to function, Hex Calculator, Notepad
[----]\re_chunk_000\natives\STM\sectionroot\userdata\system\inventory\weaponbulletuserdata.user.2 is the file we look for. 1. We open in Hex Editor, as per usual. 2. We search for HEX: 0F0000000100000001000000E803 3. change 0F to other Hex. Like 1E for 30. 4. Save and include in mod. The key issue is: The file does not link Ammo types to their respective ID's. The hierarchy seems to go: 1 - Pistol 2 - Shotgun 3 - Assault rifle 4 - ? 5 - ? 6 - ? 7 - ? I assume 4-7 are unused weapons for the time being. They will be Magnum, Grenadelauncher, and the mention is of a rocketlauncher. Lets hope this is not final, and gets many more weapons, but hopes are not high sadly, the game is not focussed around gunplay. Each weapon can be identified solely by the amount of shells in the chamber. Shotgun: 4, AR: 32 The entries are all identifyable by searching for 0000E803 You will find 0F0000000100000001000000E803, 040000000100000002000000E803 and 200000000100000004000000E803 0F is the 15 Round Pistol 04 is the 4 Round shotgun 20 is the 32 Round Assault Rifle No luck on MAX bullet counts on stacks, but working on it. Have also succeeded on identifying recoil tables for weapons, but that needs more research. For now, making some discoveries and making some progress on the identification of game files, and variables focussed around equipment.
|
|
|
Post by saiko on Mar 23, 2020 11:07:38 GMT 10
Wow, nice find! By any chance do you know if this concept works for the RE2 Remake? Been trying to find out how to change Leon's matilda magazine size... I assume it's in the same general location?
|
|
|
Post by kitty on Mar 23, 2020 11:18:36 GMT 10
Haven't played RE2R, this is my first RE since 5, but I am equally surprised, and assuming that its the same formatting and location. Can't help, sorry
|
|
|
Post by saiko on Mar 23, 2020 11:20:04 GMT 10
Thanks, I will unpack the files and check then!
|
|
|
Post by saiko on Mar 23, 2020 11:45:46 GMT 10
Well, there isn't anything there under userdata like in the RE3 folder. I think it might not be in my unpacking list...
|
|
|
Post by kitty on Mar 23, 2020 11:51:48 GMT 10
Well, there isn't anything there under userdata like in the RE3 folder. I think it might not be in my unpacking list...
It is also very possible that they did not include this in individual files, but put it into a master table, or another paked resource.
In which case you will have to start from 0 and experiment like I did to find things.
RE5 for example did not have such things at all, all the important stuff was hardcoded somewhere else, not tweakable without memory hackings or trainers.
|
|
|
Post by saiko on Mar 23, 2020 12:01:09 GMT 10
Perhaps, I am very inexperienced with these things so I would not even know where to being looking. Thanks for sharing this though, good stuff!
|
|
|
Post by wacokid on Apr 27, 2020 12:00:26 GMT 10
Also interested in this, have been unpacking the pak files for RE2R, but honestly didn't even know where to begin looking. Was beginning to think this data was going to be either hard coded or tucked away somewhere very obscure. Thanks for putting this out there, it gives me hope of doing this for RE2 or at least finding where it is kept in the pak files. I'm a little intimidated by the hex editor. I don't understand code. Hoping there was possibly an easier to edit table somewhere for this kind of thing.
|
|
Gonna give another go at modifying the shotgun sounds.
Posts: 207
|
Post by maxwellian01 on Apr 30, 2020 12:51:03 GMT 10
can the damage model and critical chance be modified as well?
|
|
|
Post by kitty on May 1, 2020 9:40:44 GMT 10
can the damage model and critical chance be modified as well? Havent found that, and the only thing would be searching all files that contain the filename "weapon", and then searching for patterns of interesting floats. To spill my magic; the way I do it, when I have no clue about a game - trial and error. RE3 luckily shares a lot with RE5, so that is a huuuuge help. But I would start to look for 00 00 80 3F, and then weird floating points, that are something like 0.75, or 0.5, and then edit them to ludicrous numbers, like 600 or so. That way, I usually instantly see what they do. If they kill a zombie with one hit, its damage related. If the recoil makes Jill spin in circles, its a recoil related stat. If the gun has a super slow firing rate, or is super slow, its evident the changed number is the firing rate, and so on. A little warning ahead, the damage and such, was hardcoded in RE5, so you could not change it at all. Seeing how damage is very cheaty, when applied to a game where Multiplayer is a thing, it is most likely, that they did hardcode things like item stack size and damage, in order to prevent people from cheating on Survivor mode. It's easier for them to code one game, and then add in a multiplayer code, compared to "unlocking" one part of the game [singleplayer], and keeping another [the multiplayer part] locked. The logical choice is that they hide as many features that can be used to cheat, by HC them.
|
|