UE4配置Steam只需简单三步

首先效果图

UE4配置Steam只需简单三步_第1张图片

1,开启Stueam的插件

UE4配置Steam只需简单三步_第2张图片

2,修改配置文件

DefaultEngine.ini

[URL]

[/Script/HardwareTargeting.HardwareTargetingSettings]
TargetedHardwareClass=Desktop
AppliedTargetedHardwareClass=Desktop
DefaultGraphicsPerformance=Maximum
AppliedDefaultGraphicsPerformance=Maximum

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

[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=20
bHasVoiceEnabled=true

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90

[Voice]
bEnabled=true
[Core.Log]
LogNet=verbose
LogOnline=verbose
LogVoice=verbose
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=”/Script/OnlineSubsystemSteam.SteamNetConnection”

DefaultGame.ini

[/Script/EngineSettings.GeneralProjectSettings]
ProjectID=E4F1217F4B36FC6F0198ECA750F66FEA

[/Script/Engine.GameSession]
bRequiresPushToTalk=false

UE4配置Steam只需简单三步_第3张图片
UE4配置Steam只需简单三步_第4张图片

3,独立窗口运行

UE4配置Steam只需简单三步_第5张图片

你可能感兴趣的:(ue4)