A short guide on Unreal Engine 4 modding (2024)

Greetings everyone,



We are Orange and Blue from Army of Two also known as r457 and gh057. We were getting several requests recently to explain how to mod Aliens: Dark Descent, so we set aside some time and put together this short guide on Unreal Engine 4 modding for games with no official mod support.



It is not a step by step guide on how to make a mod. It's a general info on UE4 modding and where to look for information and tools.



The most important part: to mod an UE4 game you need to know how UE4 works. And it means not just knowing which button to push in the editor. If you don't know anything about Unreal Engine, install it now and go check their knowledge base:




Complete all the beginner courses like First hour in Unreal Engine (doesn't matter that much at this point if it's UE4 or UE5). If you got errors, got stuck several times and had to resolve problems - that's good, it means you were actually learning something.



When you feel confident with basic unreal data structure and core concepts, you can start looking into modifying an existing game. A good place to start is here:



It should give you general understanding of the current modding capabilities as well as an ability to judge how moddable a game is.



UE modding tools are in numbers, but many are situational. Some are useful for some games, some for the others. There are almost no universal solutions for each and every game (apart from texture extractors) - you will need to try everything yourself. Starting place:




Most of the time you will start by unpacking the game. Quickbms is the most commonly used tool for that. You can also use native UE packer-unpacker. Some games might have custom serialization code. Some might use encryption. It's solvable, but you will need to search for it on the Internet yourself.



If the game is using pak and not ucas/utoc and you only need to change some numbers, you might be able to do it easily with Asset Editor/UAssetGUI and UnrealPak. Again, if the game uses custom serialization, asset editors might fail and you will need to do it manually using tools like HxD.



Everything else requires recreating a "dummy" project file for the game. If you learned about unreal packaging, you should realize by now that you don't actually need fully functioning sources (though modders wouldn't mind having them) - you need properly named references. It means you need definitions of custom classes, blueprints, etc and whatever is inside them. If you're trying to mod a popular game, chances are high someone will make such a project file available for the community in the first several days. If it's not the case, you will have to do it yourself.



UE4SS and it's ability do dump classes and objects is your main tool here. Here's the relevant part of its documentation: https://ue4ss-re.github.io/docs/guides/generating-uht-compatible-headers.html


For simple edits you might skip generating the full project and just manually create several c++ classes and blueprints you need containing only the variables and functions you intend to use.



You might be thinking "but how do I know what the game is using?" and yes, that's the main problem of modding. For that you will need to learn UE4SS, read script dumps, read (often partially) decompiled assets with tools like FModel. It's a process of looking through game files, trying to understand what they do and how they all work together. At this point general programming knowledge and good UE knowledge will be invaluable.



If you went the route of generating the whole UE project, keep in mind that the tools are not perfect and what they will give you won't compile. Your first step will be to go through all the c++ errors and resolve them one by one - Internet and UE dev forums are the place to look for help on those. Then your project will most probably give you errors when trying to package it - the process will be the same: one by one, searching for potential culprits and editing project files.



Another step is actually getting your new code into the game. For that several methods exist - from dll hooks (unsafe for obvious reasons) to various native loaders. At this point you should understand such UE core concepts as game instance and game mode and how to set them up. In most cases you can change the reference to one of those core objects in the ini file of the game to your custom one which you will make as a child of the game specific one. Which one and what exactly to do will depend on the specifics of a game you're modding.



And finally, when everything is working on your side you will need to make it usable by other people - i.e. think of an easy way of both mod users and mod creators to interface with your loader.



Aliens: Dark Descent is a fairly standard UE game, so it wasn't that much pain to unpack and work with. It's ucas/utoc, so editing numbers in not a trivial task - it's easier (not easy) to recreate the whole data table and just repack it as a patch. You can view the game assets with FModel. UE4SS works too using standard definitions, so you can dump the headers and recreate the UE project. There are several compile errors, but they are solvable.



Since we already made a loader and several mods, we did those steps. You can find project files, our loader and mods sources here: https://www.nexusmods.com/aliensdarkdescent/mods/7



So what are you still looking for, marines? A good picnic spot? Start reading and start writing some code!



Army of Two


07/01/2023


Edited by r457

A short guide on Unreal Engine 4 modding (2024)

FAQs

Is Unreal Engine 4 good for beginners? ›

Yes. UE is for beginners due to its Blueprint Visual Scripting, detailed documentation, good UI, stunning visuals, asset marketplace, support, cross-platform capabilities, real-time preview, and industry-standard status.

How hard is it to learn Unreal Engine 4? ›

It will take months to master the software if you're new because its tools have layers after layers of features. If you're not well-versed in these kinds of software programs, you might feel overwhelmed at the start. That's why we suggest to learn unreal engine at your own pace through our online workshop.

Can Unreal games be modded? ›

Introduction. Games that use the Unreal Engine have a reputation for supporting modifications, also known as mods. Mods promote the longeivity of a game by allowing users to become developers - allowing them to tweak various aspects of the game, often including adding on something completely new.

Is it hard to make a game in Unreal Engine 4? ›

Making a PC game from the beginning with Unreal Engine 4 is quite tough, especially if you're new to it but it is an incredible learning experience. My journey involved understanding the engine's Blueprint visual scripting, 3D modeling, animation, and real-time rendering.

Is Unreal Engine 4 harder than Unity? ›

The main Unreal Engine vs Unity difference is the language they are written in. For Unity it's C#, for Unreal it's C++. C# is easier to learn, its hierarchy is simple and clear.

Which Unreal Engine is best for beginners? ›

Team's experience level. If your team is new to game development, UE4 is a good choice. UE4 is a well-established engine with a lot of documentation and tutorials available. If your team has experience with game development, then UE5 is a good choice.

Are game mods illegal? ›

Legal status of mods

In the United States context, the mechanisms of how the modder gets into the code of the game to mod it may violate the Digital Millennium Copyright Act or the Computer Fraud and Abuse Act or even simply the end-user license agreement (EULA). Most EULAs forbid modders from selling their mods.

Can I sell my game made with Unreal Engine? ›

Anything in the engine, or from the marketplace, you can use in your game, and sell it on Steam or wherever. As long as you are not just selling the original items.

Are you allowed to modify Unreal Engine? ›

The only parts of the Unreal Engine you can't release to the general public are the source code and tools or modifications to them; these components may only be distributed to other licensees with access to the same version of the Unreal Engine.

Can you make money with Unreal Engine 4? ›

To generate income, focus on creating asset packs rather than blueprint packs. Asset creation progresses faster, allowing you to build multiple packs efficiently. Publish these packs on the Unreal Engine Marketplace, keeping in mind potential buyers who may lack modeling skills.

How long does it take to learn Unreal Engine? ›

At the beginner level, grasping the basics, understanding the interface, and learning basic functionality may take around 1 to 2 weeks. Moving to an intermediate level involves delving into Blueprints, exploring simple game mechanics, and creating small projects, which typically take approximately 2 to 4 months.

Can you make a game in Unreal Engine 4 without coding? ›

Yes, you can create a game with Unreal Engine without knowing how to code, thanks to its Blueprint visual scripting system. Blueprint allows you to create gameplay mechanics, logic, and interactions within Unreal Engine using a node-based system.

Should I use Unity 5 or Unreal Engine 4 as a beginner? ›

If you're a complete beginner at game development, Unity may be the more suitable choice. Unreal Engine does require a more extensive knowledge base to work within its systems. Unity offers an intuitive design and uses the C# programming language, making it easy to grasp and enjoyable to use.

Is Unreal Engine a good place to start? ›

Industry Standard: Learning Unreal Engine is beneficial, as it's widely used in the industry, increasing employability in game development and related fields. High-Quality Graphics: The engine is known for high-end graphics, which can be advantageous for beginners looking to produce visually impressive games.

Does Unreal Engine 4 require coding? ›

Unreal Engine compiles with a language version of C++20 by default and requires a minimum version of C++17 to build.

Can anyone use Unreal Engine 4? ›

Unreal Engine is free to use for students, educators, hobbyists, and most non-games companies making less than $1 million USD in annual gross revenue.

References

Top Articles
Latest Posts
Article information

Author: Jeremiah Abshire

Last Updated:

Views: 5573

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Jeremiah Abshire

Birthday: 1993-09-14

Address: Apt. 425 92748 Jannie Centers, Port Nikitaville, VT 82110

Phone: +8096210939894

Job: Lead Healthcare Manager

Hobby: Watching movies, Watching movies, Knapping, LARPing, Coffee roasting, Lacemaking, Gaming

Introduction: My name is Jeremiah Abshire, I am a outstanding, kind, clever, hilarious, curious, hilarious, outstanding person who loves writing and wants to share my knowledge and understanding with you.