What kind of rework to make solo game become multiplayer game ?
Hi the community !
Before i start, i would like to say sorry if my English isn't very good, i'm french, but i hope you'll understand the point ^^
Well, Recently i started working on Unreal Engine 4 (4.20). My objective is to make an RP Game like Gmod Dark RP, and actually, he looks pretty good i think ! But anyway...
I started making this game without anticipated the multiplayer side. I made this game entirely like a solo game for now and i watched some video who speak about the multiplayer point and i have to say than i'm very affraid to begin this part x)
My question is the following :
Is the multiplayer part meaning a lot of rework for a game thinked previously for a solo game ?
For example, i would like to know if my main Character BP have to be all rethinking for multiplayer ? If like, always for example, i have some variable set for animation transition when i'm doing some action, i'm affraid than one player make an action, and all player on the map get in the animation.
I have to make that, so i'm not affraid to learn how to adapt the point.
Thanks a lot !
UE4 makes networking very easy to implement (at least for fps/tps local lan games), so you shouldn't really need to rework your project much at all..
In simplest terms, to create a networked game (local lan at least), pretty much all you have to do is call the "Create Session" node on the client you want to be the host, and call the "Join Session" node on the client you want to join, and UE4 handles all the rest for you :)
UE4 also uses an "actor replication" approach, which means that any actor on the host is automatically replicated - shown and location/animation/variables automatically updated - on all connected clients (you can also set whether you want any/all of the actor/blueprint variables to also be replicated to clients or not)...
There's a good example to get you started..
In the UE4 launcher go to the "Learn" page and scroll down to "Gameplay Concepts", open and download the "Multiplayer Shootout" tutorial project.. If you look at the blueprints its pretty quick to see how it sets up and replicates a networked game (it also has a documentation link on the download page)..
It would probably also be worth looking at: https://docs.unrealengine.com/en-US/Gameplay/Networking/Actors
answered Aug 28 '18 at 01:14 PM
Thanks a lot for all your answers, really appreciate that !
I'll do my best :)
answered Aug 28 '18 at 01:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here