UE4 Session网络搭建流程(LAN、Steam、Audio)[配置]

    配置表设置:
    DefalutEngine.ini
    [/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”

     

    1

     

    DefalutGame.ini

     

    1121

     

    打包之后

    2321

     

    需要拷贝dll文件放在程序默认启动的文件夹在这。
    可以从下面路径拷贝

    2323

    有帮助就分享一下吧!

    转载请注明:少狼 – 敬畏知识的顽皮狗 » UE4 Session网络搭建流程(LAN、Steam、Audio)[配置]

    喜欢 4

*

还没有人抢沙发呢~