Hey guys,
I’ve downloaded the Steam files, copied the DLLS to C:\Program Files\Unreal Engine\4.2\Engine\Binaries\ThirdParty\Steamworks\Steamv130\Win32 and C:\Program Files\Unreal Engine\4.2\Engine\Binaries\ThirdParty\Steamworks\Steamv130\Win64
I’ve added this to the game’s build.cs:
PublicDependencyModuleNames.AddRange(new string[] {
"OnlineSubsystem",
"OnlineSubsystemUtils"
});
DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
I’ve added this to the game’s target.cs:
bUsesSteam = true;
I’ve added this to the DefaultEngine.ini for my game:
[/Script/Engine.Engine]
+ActiveGameNameRedirects=(OldGameName="TP_FirstPerson",NewGameName="/Script/NetworkTest")
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPerson",NewGameName="/Script/NetworkTest")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonProjectile",NewClassName="NetworkTestProjectile")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonHUD",NewClassName="NetworkTestHUD")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonGameMode",NewClassName="NetworkTestGameMode")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonCharacter",NewClassName="NetworkTestCharacter")
[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=20
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="/Script/OnlineSubsystemSteam.SteamNetConnection"
But every time, I get this error: LogOnline:Warning: STEAM: Steam DLLs not present or failed to load!
I’m using totally retail Unreal (no source at all, just downloaded and started). Any ideas?