![unreal engine 4 tutorial unreal engine 4 tutorial](https://youtuberead.com/images/default/sd/rAVPEGnyatk.jpg)
We know from our game hacking experience that health is usually a float. To narrow it down, you might search for the class. I recommend using Notepad++ because it has an excellent search feature.įor example, when looking for health you could search for "health" and choose "Find All in Current Document. The path info can be very long and it can look a bit scary but don't worry about it too much, you'll get the hang of it eventually after experimenting with it a bit. In the above example we can see that our UObject, mCurrentHealth, belongs to some other UObject named FGHealthComponent which belongs to FactoryGame. The path info tells you what other UObject this UObject belongs to. will always be the name of the object and everything before will be the path info.
![unreal engine 4 tutorial unreal engine 4 tutorial](https://dfx.lv/wp-content/plugins/wp-youtube-lyte/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fyia3Q5TrNG0%2F0.jpg)
This is basically the path information for the object aswell as the name of the object.įor most dumpers the part after the last.
![unreal engine 4 tutorial unreal engine 4 tutorial](https://cdn.80.lv/api/upload/post/1050/images/5d2895604a14b/widen_2440x0.png)
The fourth and final part,, let's split this up again into smaller sections but by the. The fact that the type is suffixed with Property means that we can be very sure that this is a UProperty object and not a base object. There are other similar classes such as IntProperty and ArrayProperty and many more. In UE4 FloatProperty is a class which inherits from UProperty but the name itself lets us know that this is a float type. The third part FloatProperty is the class that this object belongs to. The second part 000001C23C07E9B0 is the address of this UObject. The first part can be ignored for most everything it's beyond the scope of this introduction. Lets use the spaces to separate the line into small sections. In this file you will find stuff like this: I recommend the which comes with an object dumper and some other nifty features. You can get a list of every single object (known as UObject) that exists in a game, this is called object dumping and there are several dumpers out there for you to use.
![unreal engine 4 tutorial unreal engine 4 tutorial](https://docs.unrealengine.com/4.27/Images/BuildingWorlds/LDQuickStart/placeStart.jpg)
Part 2 - Object Dumping & Understanding The Result This is not covered in this guide but just know that not all UObjects that aren't UProperty objects are base objects and this is where experimenting and paying attention to patterns will help a lot. This type is just a class that the base UObjects inherit from. This type contains the name of the property (e.g: mCurrentHealth, but more specifically it contains an FName id not a string), offset to the actual value inside the base object ( base + offset = health), and some other useful information. The second type is the property type, aka UProperty. The first type is the active type or base, the object that contains your actual values like current player health and max player health. This is not true at all but as I said, keeping it simple. There are three main types of UObjects that you're dealing with in UE4. This is simply a class that everything inherits from (except in 4.25+). Part 1 - Very Basic Understanding Of Different Types Of UObjectsĮverything in a UE4 game is a UObject (not true, but most everything). This introduction uses the game Satisfactory which uses Unreal Engine 4.22.3 (at the time of writing).Īlso, it should go without saying but you will have an easier time understanding any of this if you've got some programming experience but I will try to explain things in such a way that you don't need to be an expert in order to walk away from this introduction with some very useful UE4 game hacking knowledge. This introduction is not targeted towards game hackers on their first day of hacking.
#UNREAL ENGINE 4 TUTORIAL HOW TO#
You need to know how to use Cheat Engine and you need an understanding of what an offset is and what a base address is and how the two go together. The very first thing you need to do is stop and go learn the Cheat Engine basics and how memory works. I might expand on this introduction with more advanced stuff later. I will be keeping things extremely simple, there are a lot of things that I'm leaving out because for people who actually need this it will just become confusing. Alright, here are the very basics of UE4 game hacking.įor the sake of keeping it simple this will only look at UE4 versions before 4.25 (UProperties were changed into FProperties in 4.25, there are some important differences).