dale home
Posts: 288
|
Post by kTeo on Oct 1, 2020 4:58:19 GMT 10
This is made using HEX EDITOR on your bio4.exe this is used for changing the maximum capacity of each item for a single slot. for example, change the maximum handgun ammo for each box to be 100 instead of 50. this can also be used to increase the amount of single unit items such as grenades or sprays. Items stacking offsets:
Handgun: 03 01 01 00 5D C3 8B 45 0C C7 40 02 02 0A 32 00 8B (for 50 bullets for each ammo box)
Shotgun: 66 89 48 04 EB 09 BA 0F 00 (for 15 shells for each ammo box)
Chicago: 03 0A 5D C3 8B 45 0C C7 40 02 02 32 64 00 8B (for 100 bullets for each ammo box)
TMP: 48 04 5D C3 8B 45 0C C7 40 02 02 32 64 00 8B (for 100 bullets for each ammo box)
Magnum: 14 66 89 50 04 5D C3 8B 45 0C C7 40 02 02 05 0A 00 8B (for 10 bullets for each ammo box)
Rifle: 66 89 50 04 EB 09 B9 0A 00 (for 10 bullets for each ammo box)
handcannon: 04 5D C3 8B 45 0C C7 40 02 02 0A 0A 00 8B (for 10 bullets for each ammo box)
Bowgun Bolts: 00 00 88 51 03 5D C3 8B 45 0C C7 40 02 02 05 14 00 8B (for 20 bolts for each... bolt?)
Arrow: 0A 66 89 50 04 5D C3 8B 45 0C C7 40 02 02 05 14 00 8B (for 20 arrows for each... arrow?)
Mine-Darts: B2 02 70 09 76 05 BE 05 00 (for 5 darts for each ammo box)
THIS EMOJI WAS SUPPOSED TO BE "8 D" BUT I CAN'T GET RID OF IT HELP Explosives (all): 4D 0C C7 41 02 03 01 01 00Explosives are a little different than the others, since they serve for every type of grenades and RPGsHealth items (all): 4D 0C C7 41 02 06 01 01 00
Rifle (Easy Mode Only): 84 00 00 03 77 0B BA 14 00
Shotgun (Easy Mode Only): 00 03 77 0B B9 19 00 Health items are a little different than the others, since they serve for every type of HP restoring item (fish, sprays, eggs,herbs, mixed herbs, etc)Every value with: 0C C7 41 02 are for single unit items: explosives, Health items...*NOTE: keys can also stack, for some reason. i've never explored those values before since i don't think this is useful at all,but feel free to explore it yourself.*
Offsets found by Luis Webber. Easy Mode Offsets found by Qingsheng
|
|
|
Post by makitsuki on May 31, 2021 22:03:14 GMT 10
The shotgun and rifle ammo does not work. So far they didn't work. Pistol and tmp ammo works not sure amout the other ammo
|
|
dale home
Posts: 288
|
Post by kTeo on Jun 1, 2021 0:50:11 GMT 10
The shotgun and rifle ammo does not work. So far they didn't work. Pistol and tmp ammo works not sure amout the other ammo you are probably modifying the wrong arrays, all of them works. i will update in a few minutes this list with more extensive arrays so you don't get more than one result.
|
|
|
Post by makitsuki on Jun 1, 2021 1:47:21 GMT 10
okay it changes the ammo but it get stuck to 25 rounds is there a limit to the amount for the shotgun and rifle?
|
|
dale home
Posts: 288
|
Post by kTeo on Jun 1, 2021 3:37:57 GMT 10
okay it changes the ammo but it get stuck to 25 rounds is there a limit to the amount for the shotgun and rifle? the limit is 999. those arrays only work for normal and professional mode thought, easy mode has different stacking values for rifle and shotgun ammo
|
|
|
Post by makitsuki on Jun 1, 2021 4:05:39 GMT 10
oh well that's explains it. thanks for the help!
|
|
|
Post by qingsheng on Jun 3, 2021 12:38:22 GMT 10
okay it changes the ammo but it get stuck to 25 rounds is there a limit to the amount for the shotgun and rifle? the limit is 999. those arrays only work for normal and professional mode thought, easy mode has different stacking values for rifle and shotgun ammo residentevilmodding.boards.net/thread/15033/1-06-version-stack-limitI uploadthe ct file about all ammunition, HP recovery, explosives on the stack. It also contains the stack offset of shotgun bullets and rifle bullets of simple difficulty.
|
|
dale home
Posts: 288
|
Post by kTeo on Jun 3, 2021 23:32:46 GMT 10
thank you! i will update this list and credit you. Can you send me a message explaining how you were able to find those offsets? I tried using pointers and locating which adresses wrote some inventory slots but couldn't find anything. I'm not much of a CE expert
|
|
|
Post by qingsheng on Jun 4, 2021 3:10:46 GMT 10
thank you! i will update this list and credit you. Can you send me a message explaining how you were able to find those offsets? I tried using pointers and locating which adresses wrote some inventory slots but couldn't find anything. I'm not much of a CE expert When I have free time, I will record a video to explain it using English
|
|
|
Post by mjd on May 3, 2024 16:50:51 GMT 10
well i get that but what i should change in the cod to modify bullets from 10 to 50 stacking let say tmp ammo max is 100 for box which is this code here 48 04 5D C3 8B 45 0C C7 40 02 02 32 64 00 8B so is this is stacked ?? or i need to adjust some code to work i need detailed if you could i hope u replay or anyone know
|
|