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"

Blueprint Multiplayer Game Question?

Hi! I've been working on my game quite a bit so far, and there's something that's been on my mind for quite a bit.

My question is: If I make my game single-player oriented, is there a high-probability that I'll have to remake a lot of things in order to make it 'compatible' with multiplayer? I'm working on story mode for my game, and I'm going about things without thinking about the multiplayer on a detailed scale. Will this bite me in the end if I don't start doing the networking as of now? Or should it not be that big of a deal to tweak everything for multiplayer? (~ few days/weeks)

Thank you!

Product Version: Not Selected
more ▼

asked Mar 18 '15 at 03:47 AM in Blueprint Scripting

avatar image

331 46 64 74

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

2 answers: sort voted first

Yes it will bite you. If you have a multiplayer game, your Client will not be able to perform Gameplay related things without permission of the server.

So for example spawning, shooting, reloading, nearly everything needs to be replicated. You need RPCs for that, which run on the server. Clients will ask the server to do different things.

In my c++ project for example, my weapon class has double the amount of lines only because of all the replicated functions that i need to replicate reloading, animations, asking the server to perform the shot and damage etc.

If you want to make a multiplayer game, you will need to directly work on it.

If you are a beginner, i highly recommened to not create a multiplayer game as your first game.

But at last this is up to you (:

more ▼

answered Mar 18 '15 at 12:11 PM

avatar image

6.8k 333 185 470

avatar image jfaztk Mar 18 '15 at 12:14 PM

Ah, I see.. I thought as much. I guess I can do couch multiplayer, lol. Thanks :) But would I have to recreate everything or is it mostly just adding to it?

avatar image eXi Mar 18 '15 at 12:32 PM

Both. Hard to tell. Depens on your game :/

avatar image jfaztk Mar 18 '15 at 12:36 PM

Sorry for my child-like knowledge, but what part(s) would depend on it?

avatar image eXi Mar 18 '15 at 01:54 PM

Like it said, this is hard to tell in general. If you have a Shooter for example, you would need to rewrite alot, because shooting, respawnen etc is all down by the server and needs RPCs.

The general code and logic will be the same, but you need to add the server side things. Also you need to rethink thinks like "How do i replicate an animation?" since these are normaly client side and even the server can't call it on the clients. Then you must create a variable that is replicated and has a Replicate Notifier etc etc.

I can't tell you what of your code needs to be rewritten and where you would only need to add things. (Or Blueprints, doesn't matter).

Just start with the multiplayer directly or be prepared to rework a lot of your things.

avatar image jfaztk Mar 18 '15 at 03:22 PM

Aaahhh, I see. Thanks.

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

answered Mar 18 '15 at 11:49 AM

Omar Vector_dupe (suspended)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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