Page 1 of 1

Code Vein Item Swapping

Posted: Wed Oct 02, 2019 7:14 pm
by pox911
For this tutorial we will need the cheat table posted here and the console injected from here


Follow the steps on the Universal Unreal Engine 4 Console Injector and get it attached to your instance of Code Vein

Hit Control + /. The console injector will dump a list of objects from the game in a text file where you have the code vein main exe.

Image

Open the object dump in your favorite text editor.

Attach the CE table and enable the 'Currently Highlighted' code of your choice. In this example we will swap a weapon.

Image

Image

Copy the weapon pointer value and do a search for it in the object dump text file.

Image

The red underlined section is the weapon's base internal name. The blue underlined section is the object class. Anything sharing the same object class can be swapped for no problem.

You would search the list for an item you want. In this case the cheat sword will be used.

Image

All you have to do is copy the address value before WeaponArticleBase and paste that into the weapon pointer code. When you refresh the menu you will notice the weapon has been swapped successfully.

Image

Re: Code Vein Item Swapping

Posted: Thu Oct 03, 2019 9:38 am
by SunBeam
Can help write an iterator based on FNames/GUObjects that'd loop all available and extract only those of Class - say - "WeaponArticleBase" from the current initialized pool (won't work for UObjects that were not initialized or loaded into your current map; that would imply parsing/serializing Packages and forcefully instantiate UObjects that don't belong in that map; which might lead to crashes).

Re: Code Vein Item Swapping

Posted: Sun Oct 06, 2019 8:55 pm
by TemptingIcarus
Bumping this for further research for Item Swapping/Code Swaps.

Re: Code Vein Item Swapping

Posted: Mon Oct 07, 2019 4:21 pm
by PesVasys
I need to find the Moss-covered key's ID/name in ObjectsDump.txt. Due to a bug, my key was used, but the water level did not drop, the lever did not work, there was not even an animation of use. I don’t want to go through again until this moment, I can’t get the key from the fat man with the sword again, so I want to resort to Item Swap to get this key

Re: Code Vein Item Swapping

Posted: Fri Oct 18, 2019 1:09 pm
by mankubusik
How can i swap armor or weapons appearance to each other without changing its stats?

Re: Code Vein Item Swapping

Posted: Mon Nov 18, 2019 11:00 pm
by demorest
Game closing after u try to swap weapon ids. Its show up changed weapon for 1 sec, then closing game :(