In this tutorial we are going to cover how to install and use the mod.io SDK functionality in your UE4 project.
- Create a ThirdParty/modio Directory and create a
Includes
andLibraries
directory inside it. - Download the mod.io SDK, extract it.
- Locate the files provided by the mod.io SDK and place them on your UE4 project accordingly:
- Locate the
include
folder, create a directory namedThirdParty/modio/Includes/
and place it contents there. - Locate the
modio.lib
file under theNMake
libraries folder, create a directory namedThirdParty/modio/Libraries/
and place it there. - Locate the
modio.dll
file under theNMake
binaries folder, create a directory namedPlugins/modio
and place it there.
- Edit your Project's Build.cs accordingly to load the library.
- Import and create a mod.io instance pointer on your Game Module Header
- Initialize and shutdown the mod.io instance on your Game Module Source
- Create a UE4 Blueprint Library by selecting
File
->Add C++ Class
->Blueprint Function Library
. - Define all the methods in your Modio Blueprint Library Header.
- Implement them on your Modio Blueprint Library Source.
- You can now use the methods from your blueprints: