How to modify gun stats + apply changes to the game
Jan 2, 2023 10:06:41 GMT 10
Scott Kennedy, kyleths, and 1 more like this
Post by matt176 on Jan 2, 2023 10:06:41 GMT 10
Resident Evil 7: biohazard modify gun stats
By matt176
Tutorial for both the RT and DX11 version
Things you'll need:
{How to install REFramework}
If you're NOT USING VR, do NOT extract any file other than dinput8.dll into your game folder, or your game may become unstable, and you will lose any form of anti-aliasing.
If you're NOT USING VR, do NOT extract any file other than dinput8.dll into your game folder, or your game may become unstable, and you will lose any form of anti-aliasing.
Guide on how to install the RE_RSZ template into 010 Editor:
Step 1: download and extract the RE_RSZ template

Step 2: open 010 Editor

Step 3: click on "templates"

Step 4: click on "View installed templates"

Step 5: click on "Add..."

Step 6: Go to where you have extracted the RE_RSZ files and select "RE_RSZ.bt"

Step 7: click "Ok"

DX11 Tutorials:
Modify weapon damage:
I will be using the M19 for this demonstration.
Step 1: navigate to the damage files (re_chunk_000\natives\x64\collision\collider\weapon)

Step 2: open the gun file you want to change. (90% of the guns are located in the file defaultbullet.rcol.2)

Step 3: open the file with 010 editor and change the template to re7 dx11 version


Step 4: Now using the correct template open the following path
app.Collision.AttackUserData
Data
RawData
app.Collision.AttackUserData[6]
Int Damage[3]
Int Stun[4]
Data
RawData
app.Collision.AttackUserData[6]
Int Damage[3]
Int Stun[4]

Now change the values to whatever you like!
when the weapon name is followed by "_L" it means that it's the damage values for the Upgraded Ammo.
Modify weapon capacity:
I'll be using the M19 for this demonstration.
Step 1: open the desired gun file at (re_chunk_000\natives\x64\prefab\weapon\gunName\item)

Step 2: open the following path in 010 Editor
via.GameObject
Data
RawData
app.WeaponGunParameter[6]
Int MaxLoadNum[1]
Data
RawData
app.WeaponGunParameter[6]
Int MaxLoadNum[1]

Now change the values to whatever you like!
DX12 Tutorials:
Modify weapon damage:
Same thing as the DX11 version.
Go to (natives/stm/collision/collider/weapon/filename.rcol.20)
app.Collision.AttackUserData
Data
RawData
app.Collision.AttackUserData[x]
Int Damage[3]
Int Stun[4]
Data
RawData
app.Collision.AttackUserData[x]
Int Damage[3]
Int Stun[4]
Modify weapon stats:
This one will be tricky and will require you to use the REFramework and a bit of programming.
I'd recommend you to download SilverEzredes' Advanced Weapon Framework - AWF and use it's .lua files as example of what to do.
Open the .lua files for the g17 or Albert and use this visual guide to what you need to do: (You can open the lua files with notepad if you want.)

I already made a guide on how to apply these mods into the game here
If you need further assistance please use this discord server.