How can I create level instances? One server with multiple levels loaded.
Seems like UE runs one level at a time. If I want to reproduce games' architectures like DOTA or LoL, where there is a lobby, and then players can start games running on a server, and they being clients. I assume there is a server that can start instances of a game on demand.
How should I face this on UE4?
I think this is a very complex issue.
There might be a way to fake this by grouping players together, and basically running multiple games on a single map, but only replicating game/player state between players that are in the same 'group', but you are still going to be pretty limited to a handful of games, with a few players per 'server'.
I think the 'correct' way, but far more involved, would be to completely replace the networking/replication system on the client, so that rather than connecting to an actual UE4 server, it would connect to some other server software, which you would have to write from scratch (could feasibly implement that in Node.js or Go, or whatever language/library of your choice). That would potentially be much easier to deploy in a large scale on something like Amazon EC2.
Maybe someone else can think of a more elegant/simple solution, but those are the only options that spring to mind for me.
This sounds very much like matchmaking. If so, this is a fairly complex topic, but here are a few things to think about:
In your example where you'd like players to wait in a lobby, and then play games, etc:
This is an extremely simplified view of one way this can be done, and if I've completely missed the mark on what you were trying to achieve, I apologize!
But I do hope this gives a few ideas on this very complex topic!
answered Mar 21 '14 at 10:21 PM
I want to say that this type of feature is already in the engine with the master server/browser approach.
answered Mar 21 '14 at 09:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here