DLC In Blueprints Documentation Portal
  • Welcome
  • Getting Started
    • Getting Setup
    • Important Notes
  • Walkthroughs
    • How to Use
    • Feedback Requests
Powered by GitBook
On this page
  • Installing the Plugin to Unreal Engine
  • Setting up the config file
  • How to use per platform config files(optional)
  1. Getting Started

Getting Setup

PreviousWelcomeNextImportant Notes

Last updated 13 hours ago

Quickly and easily set up DLC in your project using Blueprints by following this step-by-step guide.

Installing the Plugin to Unreal Engine

Follow these steps to get the plugin installed:

  1. Install the plugin via Epic Games Launcher vault. If you don't see it after purchasing on Fab, click the refresh button.

  1. Enable the plugin in the Unreal Plugin Window. To get here, go to edit->Plugins->DLC.

  1. Restart the engine editor to finish installing the plugin.

  2. Return to the Unreal Plugin Window and verify that these other plugins are installed.

  • OnlineSubsystem

  • OnlineSubsystemSteam

  • OnlineSubsystemEOS

  • OnlineSubsystemNull

  • OnlineSubsystemUtils

  1. That's it! The plugin should now be installed. Next, we need to set up the config file so the engine can recognize the platforms.

Setting up the config file

  1. Go to your project directory in your systems file explorer(outside the editor).

  2. Once in your project directory, find the Config folder(not the one in saved).

  3. To keep it simple, we will have one config file for all platforms. I will be going over per platform config files in the next step, but its optional.

  4. Open the DefaultEngine.ini file in notepad or your favorite text editor.

  5. Ensure you add this code snippet at the end of the config file, in the designated empty space. Verify that it's not already completed from other tutorials you may have done.

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=XXXXXX //Replace with your AppID from Steam

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=OnlineSubsystemSteam.SteamNetConnection


[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")


[OnlineSubsystemEOS]
bEnabled=true

//This lets us use both EOS and Steam at the same time.
[OnlineSubsystem]
DefaultPlatformService=EOS
NativePlatformService=Steam


[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="SocketSubsystemEOS.NetDriverEOSBase",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
+NetDriverDefinitions=(DefName="DemoNetDriver",DriverClassName="/Script/Engine.DemoNetDriver",DriverClassNameFallback="/Script/Engine.DemoNetDriver")

[/Script/OnlineSubsystemEOS.NetDriverEOS]
bIsUsingP2PSockets=true

How to use per platform config files(optional)

This is useful when targeting non-Windows platforms such as Linux, macOS, PS5, Xbox, iOS

  1. Navigate to your project directory using your system's file explorer.

  2. Navigate to your project directory and locate the "Config" folder. Once found, open it.

  3. Create a new folder that uses the same name as Unreal's identifier for platforms, i.e., "Windows", "PS5", "iOS", "XSX

  4. Copy the DefaultEngine.ini from the root config folder into the new one. Rename the copied file to [Platform]Engine.ini, with [Platform] being the platform name, like WindowsEngine.ini

  5. Open this folder and paste the platform-specific INI code you need. For V3 of the DLC in Blueprints, only Windows and Mac are supported. You can copy the code from the "Setting Up the Config File" section.

  6. Ensure that the same code does not appear in both DefaultEngine.ini and [Platform]Engine.ini.

  7. It should look like this.

That's it for the config file. If you want to know how to have different config files per platform, stay for the next step. Otherwise, please read the before moving on to the Section

Important Notes
How to Use