Multiple maps loaded at once
Quick question: Would it be possible to implement a loading and travelling system similar to Skyrim or Fallout; where characters load between interior and exterior cells? I could imagine this being very simple in a single player game where you would just load the map for wherever you're headed and saving the name of where you came from, and doing the reverse when leaving. However, my question is, would it be possible to do this in multiplayer? So for example, my character might be in the exterior of the world, but my co-op friend may be in an interior level somewhere else.
For clarification: Would be possible to load a few levels at once, with a different player in each?
Things I've tried:
I wouldn't mind coding my own phasing system, but would it be possible/would it be advisable stable? And if so, where would you suggest I start?
asked Feb 20 '16 at 08:34 AM in Everything Else
It needs a fair bit of implementation.
I think the best bet is level streaming with a tiled landscape that has your interiors as sublevels. So that all the levels are set to non distance streaming, streaming is initiated by player overlap and the server keeps a list of which players streams which levels. The server handles the visibility of actors in other levels through the list by replicating only those in the player's level. You can of course do all the graphical stuff locally and only replicate collision and other important events only on the dedicated server, which will allow you to handle a lot of stuff. This is basically the same as your number two, but a bit more finesse.
answered Feb 20 '16 at 11:58 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here