-
This part assumes you have UE4SS installed and working for your game already. If not, refer to the installation guide.
-
After building, you will have the following file:
MyAwesomeMod.dll
inMyMods\Output\MyAwesomeMod\Release
-
Navigate over to your game's executable folder and open the
Mods
folder. Here we'll do a couple things:- Create a folder structure in
Mods
that looks likeMyAwesomeMod\dlls
. - Move
MyAwesomeMod.dll
inside thedlls
folder and rename it tomain.dll
.
- Create a folder structure in
The result should look like:
Mods\
MyAwesomeMod\
dlls\
main.dll
- To enable loading of your mod in-game you will have to edit the
mods.txt
located in theMods
folder. By default it looks something like this:
CheatManagerEnablerMod : 1
ActorDumperMod : 0
ConsoleCommandsMod : 1
ConsoleEnablerMod : 1
SplitScreenMod : 0
LineTraceMod : 1
BPModLoaderMod : 1
jsbLuaProfilerMod : 0
; Built-in keybinds, do not move up!
Keybinds : 1
Here you will want to add the line:
MyAwesomeMod : 1
above the keybinds to enable MyAwesomeMod
.
Alternatively, place an empty text file named enabled.txt
inside of the MyAwesomeMod folder. This method is not recommended because it does not allow load ordering
and bypasses mods.txt, but may allow for easier installation by end users.
- Launch your game and if everything was done correctly, you should see the text "MyAwesomeMod says hello" highlighted in blue somewhere at the top of UE4SS console.