Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Methods to handle 'instancing'/different player states based on events in multiplayer games

Hey there,

Hoping for a little help here.

I'm working on a concept for a game which will be multiplayer enabled. Therefore I want to build the multiplayer aspects into the game first before anything else however I'm unsure about how the network components are handled when two players occupy the same level but are in different states or are in different levels in different states?

Let's just say that both players enter the world and start a game event together(Same state) Player 1 then completes an event however Player 2 is not complete with the event. Player 1 has his game state updated and player 2 continues with no changes to the level. Player 3 enters the game and she has the same state as player 1, so replication works fine but how do I prevent player 2 from getting data from the other players(1&3)? In this case I would like to update level components and hide player 2 from players 1& 3

Is there some place that I can flag actors for multiple states and then simply update these values for certain clients only as indicated in the above example? (An actor appears to either be replicated or not?)

On a similar vein but if a level uses streaming can the above be achieved or would streaming become cumbersome? In other words assuming different states of a level streaming changes to different groups of players or would it be best to create unique level "tiles"?

Lastly I would love to know which components within the source code are relevant/important when going about designing the above.

I understand that this will probably require custom code, however what I really need to wrap my head around is how the engine will handle the above and how to approach these things. I certainly don't want to start coding blind :)

Thank you very much in advance for any help/comments/suggestions

Product Version: Not Selected
more ▼

asked Dec 08 '14 at 07:48 PM in Everything Else

avatar image

6 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question