Environment Setup for Blueprint Modding
Ensure that you have installed UE4SS on to MiABSFD. See the main page for more information.
Experimental. I'm still currently figuring out how to do this. The steps currently laid out here is what I've gathered after trial and error, but they might not be perfect.
Requirements
- Unreal Engine 4.25.4
- Visual Studio
Setup
- Launch Unreal Engine 4.25.4
- Create a project with the following settings:
- Games Category
- Blank
- C++, No Starter Content (other settings don't matter)
- Name:
MadeInAbyss
- Change the following settings:
- Edit > Editor Preferences > Experimental > Allow ChunkID Assignments (Tick)
- Edit > Project Settings > Packaging > Generate Chunks (Tick)
- File > Package Project > Build Configuration > Shipping
- Inside the Content Browser, create the following folder:
Mods/<mod name>_P
- Inside
Mods/<mod name>_P
, create a Blueprint Class > Actor namedModActor
. - Create an event
Event BeginPlay
onto the blueprint. (It is inside thisEvent BeginPlay
ofModActor
that gets called by UE4SS as soon as it gets loaded onto the game.) - Close Unreal Engine.
- Go to your project's folder. Rename
MadeInAbyss.uproject
toMadeInAbyss-BSFD.uproject
- Delete
MadeInAbyss.sln
- Right-click on
MadeInAbyss-BSFD.uproject > Generate Visual Studio project files
- Open
MadeInAbyss-BSFD.sln
using Visual Studio - Rename
Game/MadeInAbyss-BSFD
toGame/MadeInAbyss
You should be okay. I think.
Exporting your mod
- To all files, right click, then
Asset Actions > Assign to Chunk...
- Chose one number between 30 and 300, then set the chunk numbers to that. Ensure that this pak chunk number is not being used by another mod!
File > Package Project > Windows (64-bit)
- Wait for it to compile. It will take longer the first time, but much faster afterwards.
- The resulting paks will be available in
MadeInAbyss-BSFD/WindowsNoEditor/MadeInAbyss-BSFD/Content/Paks
- Search for the pak with the number that you chose. That contains your mod.
- Rename the pak file to
<mod name>_P.pak
Installing your mod
Insert the pak file onto steamapps/common/MadeInAbyss-BSFD/MadeInAbyss-BSFD/Content/Paks/LogicMods
. Your mod should now be loaded by UE4SS when you run the game!