from all youtube tutorials trying to explain game modes classes. This is THE ONLY ONE TO WATCH! Because it explain, demonstrate practical use, not just theoretical / ideological approach. thank you @Kekdot
Note: If you're planning on using the Gameplay Ability System, you'll hit a few walls if you follow this exact design. Pretty much all of the stuff you might put in to the Pawn would now go into the Player state as an Attribute managed by an Ability System Component. Not to mention Enhanced Inputs and all that. But great overview man!
After giving up on learning UE multiplayer for years due to how hard it is Finally Finally found your channel with best detailed step by step tutorials Thank you for putting the effort into making such high quality stuff
How hard it is? It's by far the easiest engine with the most support for years. How did you miss the literally thousands of hours of official tutorial materials?
Really appreciate your approach to tutorial videos. It has become so hard to find quality tutorials that show good game design practices. Keep up the good work. For anyone just getting started in UE these tutorials will give you such a strong foundation that they are a must watch.
Wow. Found your videos the day before and you released today a video that solved the issues I was having right now - figuring out where to code what. Great, guaranteed like.
thanks a lot for these description how state/pawn/controller/mode belong to each other and servers/clients and owning clients. the doc I was searching for! :)
Finally I found a video where the connections are explained so well, so that the automatic subtitles with translation does not give garbage. Sometimes too fast, but what is the pause for. ;) Very good work, thanks for that.
Fantastic video, i just started learning unreal engine and I am trying to gather useful and up to date information about replicating and it is such a mess trying to find good information about this. Please do continue making tutorials about replication, I've watched most of the videos that exist on youtube about this and trust me there are thousands of people like me out there lost at sea trying to find quality videos that explain this which aren't horribly out of date. Thank you for this tutorial series it is very well made and easy to understand.
I am learning so much from this series! In a game where a player can possess different pawns (cars, skateboards, helicopters), where would you recommend doing the widget logic as they all might have different HUDs? Would you still do it on the player controller and have scenarios depending on which pawn it is possessing? Or would you have each pawn own their own widget logic?
Fantastic stuff. Cant wait for the next vid to solidify some of the concepts here. So far I have only been working with single player stuff, and the leap to Multiplayer is quite daunting. Thanks so much for these amazing vids!
finally something up-to-date. holy crap my headache just half disapear ( still not completly gotta delete all my useless outdated tutorial followup functions xD aka infos multicasting stuff ( i mean by that i send and receive 3 times the infos instead of simplify stuff.))
This was a very informative explanation on how to put what code where it needs to be. You have got anthoer sub from me. I look forward to your other content.
Game Instance is just a general class which is considered the King Blueprint since it's the first blueprint that starts up when your game starts and always persists. I don't talk about that one just like I don't mention a function library yet, and interfaces etc etc because they are just general blueprints that I will explain over time and are not specific to multiplayer.
Hello @@Kekdot, i have been watching some other multiplayer tuts and quite few of them were implementing networking nodes in gameinstance. Do you think its completely unnecessary? It seems to be a good place to do it at first glance. Also i want to thank you for amazing answers regarding "what to program where" cant wait to see more of those, those are priceless.
Amazing video with a lot of great info. Some small nitpicks: officially not all blueprints start with BP_. Like GameMode is just GM, not BP_GM. UI stuff is better handled in the HUD class, not the PlayerController.
Question regarding that as I have no issues in single player , but a shit ton of issues using hud as my widget control in multi And most of the issues come from null refrences or fail casts for third person character and setting my hud variable for use in passing things around Sort of seems like the hud only has one refrence on the server so if you do things that can update say exp for a player , it works fine calling the main function in the hud for single player but in multi even if I try to multi cast or run on owning a lot of times I get failed casts or null refrences for my hud variable Kind of like it is fighting to find the proper character refrence but can't Really makes things hard to follow sometimes and makes you really have to know amd understand how your game and players will need to or need to not share variables or functions I'm curious to know is the hud set like a player controller with the same rules of existence on the player and the server or is it just one hud reference that runs in the game mode for the entire server under the player controller? No tutorials really ever get into this part , and if anyone here actually ever wants to publish a game I'd suspect a lot of rejection if it's not having things done in proper places with the proper industry standards applied A lot of things even in documentation can be rather vague in description in comparison to real world application and use
You can name your BP’s anything you like of course it’s just a matter of how you prefer to structure your naming conventions. (There is no ‘official’, but the UE marketplace team requires us to name each BP with BP_ at the beginning)
Best way to solve your issues that I can advice is to print string your issues so that you can see where your problems appear. That’s just a general tip, and that’s how I’ve gained most of my UE knowledge besides reading the documentation. So to explain the HUD class: The HUD class is simply a class that only exists on the Owning client. If your game uses the listen server model (client-server), then the Host of the game (server) is also an owning client so he/she ofc also has a HUD class but it’s specific to him/her. So since UI Stuff (HUD) only lives on your local computer, you can only communicate to it from the server by calling Run on Owning Client events. The HUD class is simply a place in which you can setup your UI creation logic and management, however not using it will of course not result in ‘a lot of rejection’ as you say. If your game works it works, and will get accepted on Steam. The HUD class is not required for that. However, it is a nice place in which you can park/centralize your logic so using it can be indeed profitable.
@@Kekdot I try a lot of print strings , or breakpoints as well they really help a lot , I kinda of figured it should live per character and be specific, it's always hard to figure out how to lay things out amd how they interconnect or don't, thanks very much for the breakdown and the tutorials they help a lot A lot of tutorials kinda of wing things out without really getting into the how or why things should be where they are it helps a lot man Not many people are giving solid breakdowns of multiplayer that's updated My biggest issues surround updating or refreshing the ui Example I have a encumbrance value in pickups , and a main hud , and then a inventory ui that display character details like current encumbrance, in multiplayer I get a lot of failed ref for my bphud casts It will update with no issue on pick up but when I drop an item I actually have to close the inventory and reopen it for the refresh to work even though single player is no issue and print strings fire This is where I think I have a variable that lives in the wrong home So slowly tediously print stringing and breakpointing my way thru 😆
@@TheTrifel Yeah in the beginning it is confusing how UI should be handled totally agree. This week I have a new tutorial coming for this series and it zooms in on proper handling of the UI in multiplayer. So updating and fetching info, and making sure you do not have any invalid references. It will help you so stay tuned and I'll explain it as clearly as I can 😄
Awesome job. I couldn't find any input hierarchy online, is there any list that shows the order of what object consumes the input first? (i couldn't find anything in the docs maybe theres a third party site providing this critical info ? :P)
So how do you correctly reference a client's player state? For example, I have an actor (flag capture plate) that triggers an event when a character overlaps it. The overlap event gets the character's team, which I've stored in the player state, and increases the team's score in the game state. However, no matter what RPC I use in what BP, it always gets the host player's team rather than the client that is actually triggering the event.
@@koshabi Not really, it depends on if the player should keep his existing weapons upon respawn, if you want it this way you store it in the playerstate.
Great video! You laid out the information in a clear and detailed manner! I do have one question though: When you want to grab information from your game mode as the owning client (15:00), wouldn't you be able to use a blueprint interface rather than casting? I've heard that using interfaces is better than casting for performance reasons.
Well as explained, the owning client can’t grab information directly from the Game Mode, he first would have to go through a Run on Server RPC event. Casting is the ‘cheapest’ way of Actor communication. Interfaces are actually more performant heavy (See Unreal Engine Documentation) The order of most performant/cheapest to highest is: 1. Casting (cheapest) 2. Interface (heavier on performance) 3. Event dispatchers (heaviest)
What you can do to even optimize the cast further is to store a 1 time reference to your GameMode on Beginplat for example. This way you won’t have to store the cast multiple times.
Please check your map path. The server travel function in the Base GameMode is reliant on your map path. (For example: /Game/MBLS/Maps/Gameplay_Level/YourLevelName is the default path used in the MBLS example. If your map is in a different location this causes an issue. Further more check if your gameplay player controller calls ‘Remove All Widgets) on beginplay which removes the loading screen. At last check if you included your maps in you packaged maps list in the project setting under packaging.
Great video! i feel I've learnt a lot from this being a beginner to ue5 and not knowing much about replication. :) i do have one question tho, if i have a input action driving a player animation within my controller bp how could i replicate this to other clients. I am able to see it replicate from client to server but not server to clients, guessing it would be within PlayerState? but not sure how to set it up. Ive tried creating a custom event setting it to multicast then calling that event within my controller bp but nothing im assuming i am missing a big step lol?
15:35 how does the server know which player to spawn? You did not tell us the most important part.... you can run an event on the server but how does it know who run it?
10:24 I cant understand how it is possible to move the player. mine where player controller class is selected as BP_PC_Framework doesn't wanna move firstperson character, but in video it works.
Sorry for asking , is this playlist explained everything to how I connect my project ( or my game ) to your blueprint ? Because i will buy your blueprint but i’m new developer so i’m nope 😅
Hi there, this is simply a multiplayer tutorial playlist. Some products that I sell have tutorials on how to use them on their store page. I do not have specific project migration/integration tutorials as that highly depends on the project you are trying to implement it with.
Really depends on your level of skill 😉 Hard for me to judge, for some it’s easy but it depends on how good you are with content migration and overall Unreal logic. It’s a bit hard to do 🙉
No, no other vids on this I believe from Epic Games. But if you carefully read their docs then this will be your conclusion. I recommend that to everyone, carefully read the entire docs couple of times when starting with Unreal Engine.
A player controller is created even if theres no pawn no control? For example in a Game like ark survival in which theres a widget to create a character and then spaens actual actor
Yep the player has a player controller by default. The player controller handles your input. What you press on your keyboard. See the unreal engine documentation for more information
@@Kekdot thx im currently waching some of your vids they are very helpful. I have a doubt, in a Game that uses EOS subsystem that allows you to have to active sessions of same Game and same account (cant hapen in Steam) how do server knows what client is the right one, i mean how the client identificate that particular session on a server
Say, what about the game instance? Is that server only? or can a client push their own... for example team variable to the the gameinstance and store it across level transitions?
Hi, In case of a dedicated server, How will you pass variables from a client to the dedicated server's default map gamemode at the time of connecting. I have a menu from which players are connected to the server map(dedicated). AT the point of connection, I want to pass the user selection from menu such as the type of game and level to the server. How will you do that?
Hi. A noob question: for a multiplayer game hosted on a website, I need to work with unreal engine 5.1 from github or can I use the UE from the launcher? I need to pack the UE server and the UE client. Thanks
You can use the HUD class to have a central place to manage your UI from. It's not required, and also not for this multiplayer tutorial series, however, if your project does become of serious size then it is usefull to install your functions there such as: - Toggling your pause menu - And other common UI that needs to be created Checkout more here: docs.unrealengine.com/4.27/en-US/Resources/ContentExamples/Blueprints_HUD/1_1/
For some reason when I change the game mode from the BP_ThirdPersonGamemode, all movement is frozen. The client doesnt freeze, as if I change the pawn to "Default", it lets me still rotate around, and I can see the default clouds moving, but I cannot move the character whatsoever
I’ve studied the engine itself, and read the entire documentation multiple times, and got over 10 years of experience with the engine and working on lots and lots of projects.
Hello my friend. How do we know that all the characters are dead? For example, we are making a coop horror game and all the characters are dying and I will give you a lost warning, how can I do this.
Based on his demonstration, it seems you would store a player count on the player/game state. The player controller would populate its UI based on the player/game state, then you would preform character logic on that. The warning would be widget based in the controller triggering once the player/game state reads less then ur desired threshold it sounds like.
You would store a simple ‘IsDead?’ Variable on the players PlayerState. Then when the character dies you turn that variable on. Make it a RepNotify variable. Then in the function attached to the variable you would simply trigger a function the the GameState that would loop through all PlayerStates to check if all ‘IsDead?‘ variables are true or not. You can check if all are true or not if you can find as many ‘isDead?’ Variables on true, as there are players connected to the match. With get Num of players you can find out how many players are connected to the session. Hope that helps
@@Kekdot would be easier to use a int to store the amount of players and if one dies +1 and if 1 resurrects -1 and if int = players in lobby create widget, very simple and not performant heavy. ;)
hey I am helping develop an Attack On Titan VR fan made game and we need someone to help make a client based multi-player system. Local multi-player would make an already amazing experience even better. Too this end I would be willing to pay someone directly out of mine own pocket and have been scouring to find someone both qualified and interested in a side project.
Hey guys,
👨🏫 My Patreon link:
www.patreon.com/kekdot
Download Project Files | Premium Tutorials | Courses
💦 Get our Game on Steam | Kekdot Center:
store.steampowered.com/app/1487180/Kekdot_Center/
from all youtube tutorials trying to explain game modes classes. This is THE ONLY ONE TO WATCH!
Because it explain, demonstrate practical use, not just theoretical / ideological approach. thank you @Kekdot
literally a master class right here
Note: If you're planning on using the Gameplay Ability System, you'll hit a few walls if you follow this exact design. Pretty much all of the stuff you might put in to the Pawn would now go into the Player state as an Attribute managed by an Ability System Component. Not to mention Enhanced Inputs and all that. But great overview man!
Are you just referring to the fact he doenst use Enhanced Inputs? Is there something I should know about them with GAS?
Damn... this is a masterclass on how to teach Unreal. I was sad to see the video end.
Hands down the best explanation of the UE gameplay framework.
This is the best channel for explaining in todays world, you would see no such good series as this one, awsome work
After giving up on learning UE multiplayer for years due to how hard it is
Finally Finally found your channel with best detailed step by step tutorials
Thank you for putting the effort into making such high quality stuff
How hard it is? It's by far the easiest engine with the most support for years. How did you miss the literally thousands of hours of official tutorial materials?
@@RUclipsAccountMan The official "tutorial" streams are horrible.
Like wtf? This video explained me more than half of the 50h of UE Networking course :D Can't believe I found this at 4:00 AM
This is one of the best tutorial series I've seen on RUclips. Not only for UE, but for any subject. Great quality!
I cannot believe that the RUclips algorithm Gods only now blessed me with this channel and video! Holy smokes! Love the videos keep em coming!
Finally someone out there Making amazing tutorials that is not just no effort 1 take recordings!
More coming soon!
Messing around with Unreal for sometime now, but this video is pure gold!
Phenomenal breakdown and description of all of the pieces and how they work together. Thank you for that.
Amazing video. You are great at explaining everything for someone new to UE. Can't wait for the next video.
Definitely the best unreal tutorial out there.
Really appreciate your approach to tutorial videos. It has become so hard to find quality tutorials that show good game design practices. Keep up the good work. For anyone just getting started in UE these tutorials will give you such a strong foundation that they are a must watch.
u are simply the goat. cant say more. amazing teacher.
best of luck with your current game :)
Wow. Found your videos the day before and you released today a video that solved the issues I was having right now - figuring out where to code what. Great, guaranteed like.
I said "wow" multiple times throughout this video alone. You rock.
thanks a lot for these description how state/pawn/controller/mode belong to each other and servers/clients and owning clients. the doc I was searching for! :)
Wow... you explained this so well. And the visuals make it even better.
Holly cow... I saw few great UE videos, but thats on completly other level, great way to EXPLAIN things so we, noobs, can understand
Well, after watch this video I have decided to go with you to learn all this.
Amazing concept explanation!
More coming!
I always come back to this video, thank you so much for making it
Finally I found a video where the connections are explained so well, so that the automatic subtitles with translation does not give garbage.
Sometimes too fast, but what is the pause for. ;)
Very good work, thanks for that.
Fantastic video, i just started learning unreal engine and I am trying to gather useful and up to date information about replicating and it is such a mess trying to find good information about this. Please do continue making tutorials about replication, I've watched most of the videos that exist on youtube about this and trust me there are thousands of people like me out there lost at sea trying to find quality videos that explain this which aren't horribly out of date.
Thank you for this tutorial series it is very well made and easy to understand.
Fantastic video! i bought the MBLS asset so this is really helpful for me as i try to understand how and why it works
Very well explaned!! Replication and multiplayer authority in UE is always a hard thing to understand, but you explained it perfectly!
I've liked it before even watching as I know this will be some solid material!!
This is literally the best explanation, thank you.
I am learning so much from this series! In a game where a player can possess different pawns (cars, skateboards, helicopters), where would you recommend doing the widget logic as they all might have different HUDs? Would you still do it on the player controller and have scenarios depending on which pawn it is possessing? Or would you have each pawn own their own widget logic?
Amazing video! helping me out a lot for my game design studies at uni. keep up the great work! its hard to find videos where people go indepth fully.
I could never understand this but your explanation made me realize! Great content (:
Quality video of good solid topic - great work mate!
You are awesome at explaining these concepts, thank you!
Woo amazing, now i know why some stuff i did doesn't work for me. Thank you for this!!
Awesome stuff! Thanks team
Excellent Video !!
Fantastic!🎬👏
Great video. Very useful info and well explained.
Very nicely explained video! I learned a lot 😃
Fantastic stuff. Cant wait for the next vid to solidify some of the concepts here. So far I have only been working with single player stuff, and the leap to Multiplayer is quite daunting. Thanks so much for these amazing vids!
Excellent Breakdown Here!
Excellent teaching Thanks!
AMAZING video man! Great Job!
Wow a tutorial that actually explain how crap works and not just a "now you gonna go here and click here, then click here" tutorial 😆
finally something up-to-date. holy crap my headache just half disapear ( still not completly gotta delete all my useless outdated tutorial followup functions xD aka infos multicasting stuff ( i mean by that i send and receive 3 times the infos instead of simplify stuff.))
Amazing video, just what I needed thanks!
headache... but now I know... thank you!
Your knowledge is amazing
Great Video pls More like this ! much love
More coming soon!
It's very cool, thank you!
Thank you! So useful information!!
This was a very informative explanation on how to put what code where it needs to be. You have got anthoer sub from me. I look forward to your other content.
Great vid man!
Very well explaiend, thank you!
Did you ever make the follow up video on what you recommend we code in each game framework?
That's a great video.
This man, very nice
Very very good! Thank you!
Thank you a lot ! That's really helpful.
But I do have a question : you don't talk of the GameInstance, what is it ?
Game Instance is just a general class which is considered the King Blueprint since it's the first blueprint that starts up when your game starts and always persists.
I don't talk about that one just like I don't mention a function library yet, and interfaces etc etc because they are just general blueprints that I will explain over time and are not specific to multiplayer.
Hello @@Kekdot, i have been watching some other multiplayer tuts and quite few of them were implementing networking nodes in gameinstance. Do you think its completely unnecessary? It seems to be a good place to do it at first glance.
Also i want to thank you for amazing answers regarding "what to program where" cant wait to see more of those, those are priceless.
Great tutorial! Thanks a lot!
amazing tutorial, thank you so much
awesome video btw!
Thanks for the quality content!
Keep doing these
Nice series thanks! :o)
good explanation
Could you post links to your earlier tutorials in your subtext, please...
Amazing video with a lot of great info. Some small nitpicks:
officially not all blueprints start with BP_. Like GameMode is just GM, not BP_GM.
UI stuff is better handled in the HUD class, not the PlayerController.
Question regarding that as I have no issues in single player , but a shit ton of issues using hud as my widget control in multi
And most of the issues come from null refrences or fail casts for third person character and setting my hud variable for use in passing things around
Sort of seems like the hud only has one refrence on the server so if you do things that can update say exp for a player , it works fine calling the main function in the hud for single player but in multi even if I try to multi cast or run on owning a lot of times I get failed casts or null refrences for my hud variable
Kind of like it is fighting to find the proper character refrence but can't
Really makes things hard to follow sometimes and makes you really have to know amd understand how your game and players will need to or need to not share variables or functions
I'm curious to know is the hud set like a player controller with the same rules of existence on the player and the server or is it just one hud reference that runs in the game mode for the entire server under the player controller?
No tutorials really ever get into this part , and if anyone here actually ever wants to publish a game I'd suspect a lot of rejection if it's not having things done in proper places with the proper industry standards applied
A lot of things even in documentation can be rather vague in description in comparison to real world application and use
You can name your BP’s anything you like of course it’s just a matter of how you prefer to structure your naming conventions. (There is no ‘official’, but the UE marketplace team requires us to name each BP with BP_ at the beginning)
Best way to solve your issues that I can advice is to print string your issues so that you can see where your problems appear. That’s just a general tip, and that’s how I’ve gained most of my UE knowledge besides reading the documentation.
So to explain the HUD class: The HUD class is simply a class that only exists on the Owning client. If your game uses the listen server model (client-server), then the Host of the game (server) is also an owning client so he/she ofc also has a HUD class but it’s specific to him/her.
So since UI Stuff (HUD) only lives on your local computer, you can only communicate to it from the server by calling Run on Owning Client events.
The HUD class is simply a place in which you can setup your UI creation logic and management, however not using it will of course not result in ‘a lot of rejection’ as you say. If your game works it works, and will get accepted on Steam. The HUD class is not required for that.
However, it is a nice place in which you can park/centralize your logic so using it can be indeed profitable.
@@Kekdot I try a lot of print strings , or breakpoints as well they really help a lot , I kinda of figured it should live per character and be specific, it's always hard to figure out how to lay things out amd how they interconnect or don't, thanks very much for the breakdown and the tutorials they help a lot
A lot of tutorials kinda of wing things out without really getting into the how or why things should be where they are it helps a lot man
Not many people are giving solid breakdowns of multiplayer that's updated
My biggest issues surround updating or refreshing the ui
Example I have a encumbrance value in pickups , and a main hud , and then a inventory ui that display character details like current encumbrance, in multiplayer I get a lot of failed ref for my bphud casts
It will update with no issue on pick up but when I drop an item I actually have to close the inventory and reopen it for the refresh to work even though single player is no issue and print strings fire
This is where I think I have a variable that lives in the wrong home
So slowly tediously print stringing and breakpointing my way thru 😆
@@TheTrifel Yeah in the beginning it is confusing how UI should be handled totally agree.
This week I have a new tutorial coming for this series and it zooms in on proper handling of the UI in multiplayer. So updating and fetching info, and making sure you do not have any invalid references. It will help you so stay tuned and I'll explain it as clearly as I can 😄
Awesome job.
I couldn't find any input hierarchy online, is there any list that shows the order of what object consumes the input first? (i couldn't find anything in the docs maybe theres a third party site providing this critical info ? :P)
Not much mention of HUD class. Should widgets be created in Player Controller as you mention here or in HUD class?
I recommend that you use the HUD class to manage that. I have a recent video covering this topic
Really cool
So how do you correctly reference a client's player state? For example, I have an actor (flag capture plate) that triggers an event when a character overlaps it. The overlap event gets the character's team, which I've stored in the player state, and increases the team's score in the game state. However, no matter what RPC I use in what BP, it always gets the host player's team rather than the client that is actually triggering the event.
Where would you store each players inventory (items carried)? And ammunition of the weapons for example?
Where health would be usually stored. So the players Pawn class.
@@koshabi Not really, it depends on if the player should keep his existing weapons upon respawn, if you want it this way you store it in the playerstate.
Great video! You laid out the information in a clear and detailed manner! I do have one question though: When you want to grab information from your game mode as the owning client (15:00), wouldn't you be able to use a blueprint interface rather than casting? I've heard that using interfaces is better than casting for performance reasons.
Well as explained, the owning client can’t grab information directly from the Game Mode, he first would have to go through a Run on Server RPC event.
Casting is the ‘cheapest’ way of Actor communication. Interfaces are actually more performant heavy (See Unreal Engine Documentation)
The order of most performant/cheapest to highest is:
1. Casting (cheapest)
2. Interface (heavier on performance)
3. Event dispatchers (heaviest)
What you can do to even optimize the cast further is to store a 1 time reference to your GameMode on Beginplat for example.
This way you won’t have to store the cast multiple times.
@@Kekdot Thanks! I've been trying to understand unreal networking for some time, your videos really helped a lot!
Please check your map path.
The server travel function in the Base GameMode is reliant on your map path. (For example: /Game/MBLS/Maps/Gameplay_Level/YourLevelName is the default path used in the MBLS example.
If your map is in a different location this causes an issue.
Further more check if your gameplay player controller calls ‘Remove All Widgets) on beginplay which removes the loading screen.
At last check if you included your maps in you packaged maps list in the project setting under packaging.
Great video! i feel I've learnt a lot from this being a beginner to ue5 and not knowing much about replication. :) i do have one question tho, if i have a input action driving a player animation within my controller bp how could i replicate this to other clients. I am able to see it replicate from client to server but not server to clients, guessing it would be within PlayerState? but not sure how to set it up. Ive tried creating a custom event setting it to multicast then calling that event within my controller bp but nothing im assuming i am missing a big step lol?
thank you
awesome
15:35 how does the server know which player to spawn? You did not tell us the most important part.... you can run an event on the server but how does it know who run it?
10:24 I cant understand how it is possible to move the player. mine where player controller class is selected as BP_PC_Framework doesn't wanna move firstperson character, but in video it works.
done.
Sorry for asking , is this playlist explained everything to how I connect my project ( or my game ) to your blueprint ? Because i will buy your blueprint but i’m new developer so i’m nope 😅
Hi there, this is simply a multiplayer tutorial playlist.
Some products that I sell have tutorials on how to use them on their store page. I do not have specific project migration/integration tutorials as that highly depends on the project you are trying to implement it with.
@@Kekdot i see , ok bro i will buy beginner multiplayer lobby. But it’s easy to connect my game to the blueprint ? Or i will cry 😅
Really depends on your level of skill 😉 Hard for me to judge, for some it’s easy but it depends on how good you are with content migration and overall Unreal logic.
It’s a bit hard to do 🙉
@@Kekdot i think i will cry from now 🤣 this is my skill , in general thank you bro for responding , good luck
rlly gud
❣
where can i learn this other then this video? does epic live training have a video on this?
No, no other vids on this I believe from Epic Games. But if you carefully read their docs then this will be your conclusion. I recommend that to everyone, carefully read the entire docs couple of times when starting with Unreal Engine.
@@Kekdot yeah what you explained in the video is really perfect..i just would like to watch an epic live training that discusses this as well
A player controller is created even if theres no pawn no control? For example in a Game like ark survival in which theres a widget to create a character and then spaens actual actor
Yep the player has a player controller by default. The player controller handles your input. What you press on your keyboard.
See the unreal engine documentation for more information
@@Kekdot thx im currently waching some of your vids they are very helpful. I have a doubt, in a Game that uses EOS subsystem that allows you to have to active sessions of same Game and same account (cant hapen in Steam) how do server knows what client is the right one, i mean how the client identificate that particular session on a server
Or in case of a splitscreen multiplayer Game
Say, what about the game instance? Is that server only? or can a client push their own... for example team variable to the the gameinstance and store it across level transitions?
Game instance is local only for each player (server or client). See the Unreal Engine docs for more info
Hi, In case of a dedicated server, How will you pass variables from a client to the dedicated server's default map gamemode at the time of connecting. I have a menu from which players are connected to the server map(dedicated). AT the point of connection, I want to pass the user selection from menu such as the type of game and level to the server. How will you do that?
Can someone please help me understand why my AI animation (walking etc) won't show on server while on client shows fine?
then Who owns the controller of the server?
the server owns it. nothing is above the server
Hi.
A noob question: for a multiplayer game hosted on a website, I need to work with unreal engine 5.1 from github or can I use the UE from the launcher? I need to pack the UE server and the UE client.
Thanks
is this listener server or dedicated server?
What about the HUD class, why nobody talk about it?
You can use the HUD class to have a central place to manage your UI from.
It's not required, and also not for this multiplayer tutorial series, however, if your project does become of serious size then it is usefull to install your functions there such as:
- Toggling your pause menu
- And other common UI that needs to be created
Checkout more here:
docs.unrealengine.com/4.27/en-US/Resources/ContentExamples/Blueprints_HUD/1_1/
For some reason when I change the game mode from the BP_ThirdPersonGamemode, all movement is frozen. The client doesnt freeze, as if I change the pawn to "Default", it lets me still rotate around, and I can see the default clouds moving, but I cannot move the character whatsoever
Try putting the Enhanced movement from your BP_ThirdpersonCharacter to the BP_Player client script after your SR_SpawnPlayer in the Event BeginPlay
have the same problem, did you figure it out ?
how to do you know about this? i mean from what book do your learn this
I’ve studied the engine itself, and read the entire documentation multiple times, and got over 10 years of experience with the engine and working on lots and lots of projects.
Hello my friend. How do we know that all the characters are dead? For example, we are making a coop horror game and all the characters are dying and I will give you a lost warning, how can I do this.
Based on his demonstration, it seems you would store a player count on the player/game state. The player controller would populate its UI based on the player/game state, then you would preform character logic on that. The warning would be widget based in the controller triggering once the player/game state reads less then ur desired threshold it sounds like.
You would store a simple ‘IsDead?’ Variable on the players PlayerState.
Then when the character dies you turn that variable on. Make it a RepNotify variable. Then in the function attached to the variable you would simply trigger a function the the GameState that would loop through all PlayerStates to check if all ‘IsDead?‘ variables are true or not.
You can check if all are true or not if you can find as many ‘isDead?’ Variables on true, as there are players connected to the match.
With get Num of players you can find out how many players are connected to the session.
Hope that helps
@@Kekdot would be easier to use a int to store the amount of players and if one dies +1 and if 1 resurrects -1 and if int = players in lobby create widget, very simple and not performant heavy. ;)
🤟
hey I am helping develop an Attack On Titan VR fan made game and we need someone to help make a client based multi-player system. Local multi-player would make an already amazing experience even better. Too this end I would be willing to pay someone directly out of mine own pocket and have been scouring to find someone both qualified and interested in a side project.
This is so complicated :(