Unreal Engine Multiplayer Framework | What to program where? | Multiplayer Tutorial Series

Ойындар

👨‍🏫 My Patreon link:
/ kekdot
Download Project Files | Premium Tutorials | Courses
💦 Get our Game on Steam | Kekdot Center:
store.steampowered.com/app/14...
---
🧑🏻‍🚀Support us on our 💲Patreon for awesome benefits: / kekdot
In this video we talk about the Unreal Engine Multiplayer Framework. We discuss the most relevant multiplayer classes such as the GameMode, GameState, PlayerState, PlayerController, Pawn class (Character), and the relationship between the PlayerController and Widgets.
🛒 Our Unreal Engine Marketplace link:
www.unrealengine.com/marketpl...
We also take a look at which classes exist where:
- Server Only
- Server & Clients
- Server & Owning Clients
- Owning Clients Only
#UnrealEngine #Multiplayer #Framework
---
Welcome to Kekdot!
👨‍🏫 Our Patreon - Download Project Files | Premium Tutorials | Courses:
/ kekdot
🛒 Our Unreal Engine Marketplace Templates:
www.unrealengine.com/marketpl...
👾Join our Discord:
/ discord
📆 We upload videos on a weekly basis
📰 Follow us on:
Instragram: @kekdotyoutube
Twitter: @kekdot
Reddit: @kekdot

Пікірлер: 135

  • @Kekdot
    @Kekdot7 ай бұрын

    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/

  • @metalguntalk2365
    @metalguntalk23659 ай бұрын

    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!

  • @moosehead13
    @moosehead135 күн бұрын

    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.

  • @HumpaLumpaBiriBam
    @HumpaLumpaBiriBam2 ай бұрын

    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

  • @MortMort
    @MortMort Жыл бұрын

    Finally someone out there Making amazing tutorials that is not just no effort 1 take recordings!

  • @Kekdot

    @Kekdot

    Жыл бұрын

    More coming soon!

  • @_SkyDancer
    @_SkyDancer Жыл бұрын

    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

  • @BROCKSGAMING
    @BROCKSGAMING Жыл бұрын

    This is the best channel for explaining in todays world, you would see no such good series as this one, awsome work

  • @MrDoglightning
    @MrDoglightningАй бұрын

    literally a master class right here

  • @TheOtherDerek
    @TheOtherDerek Жыл бұрын

    Damn... this is a masterclass on how to teach Unreal. I was sad to see the video end.

  • @the-nomad-show
    @the-nomad-show6 ай бұрын

    This is one of the best tutorial series I've seen on KZread. Not only for UE, but for any subject. Great quality!

  • @TheGabmeisterX
    @TheGabmeisterX Жыл бұрын

    Hands down the best explanation of the UE gameplay framework.

  • @TheMuhammad
    @TheMuhammad2 жыл бұрын

    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

  • @YoutubeAccountMan

    @YoutubeAccountMan

    Жыл бұрын

    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?

  • @anti4320

    @anti4320

    Жыл бұрын

    @@KZreadAccountMan The official "tutorial" streams are horrible.

  • @MaxyBlack
    @MaxyBlack2 жыл бұрын

    Amazing video. You are great at explaining everything for someone new to UE. Can't wait for the next video.

  • @meathelix
    @meathelix5 ай бұрын

    Phenomenal breakdown and description of all of the pieces and how they work together. Thank you for that.

  • @m.r5380
    @m.r53802 жыл бұрын

    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.

  • @HawkeyeHawkeye
    @HawkeyeHawkeye2 жыл бұрын

    Messing around with Unreal for sometime now, but this video is pure gold!

  • @brothabuzz
    @brothabuzz Жыл бұрын

    Wow... you explained this so well. And the visuals make it even better.

  • @TheFlyingEpergne
    @TheFlyingEpergne8 ай бұрын

    I always come back to this video, thank you so much for making it

  • @MrAdrianSW
    @MrAdrianSW2 жыл бұрын

    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!

  • @inksplosiongames
    @inksplosiongames Жыл бұрын

    I said "wow" multiple times throughout this video alone. You rock.

  • @doppeltes
    @doppeltes Жыл бұрын

    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! :)

  • @siegeb4486
    @siegeb44862 жыл бұрын

    Fantastic video! i bought the MBLS asset so this is really helpful for me as i try to understand how and why it works

  • @tomix604
    @tomix6042 жыл бұрын

    This is literally the best explanation, thank you.

  • @slayer2777
    @slayer27777 ай бұрын

    You are awesome at explaining these concepts, thank you!

  • @koshabi
    @koshabi9 ай бұрын

    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.

  • @GorkaGames
    @GorkaGames Жыл бұрын

    Very well explaned!! Replication and multiplayer authority in UE is always a hard thing to understand, but you explained it perfectly!

  • @Wauzy
    @Wauzy Жыл бұрын

    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.

  • @saiko14
    @saiko145 ай бұрын

    Thank you! So useful information!!

  • @pennaverdeful
    @pennaverdefulАй бұрын

    Amazing video, just what I needed thanks!

  • @afrayedknot1337
    @afrayedknot13372 жыл бұрын

    Quality video of good solid topic - great work mate!

  • @kuro2ck
    @kuro2ck2 жыл бұрын

    I've liked it before even watching as I know this will be some solid material!!

  • @unknown_producer
    @unknown_producer5 ай бұрын

    Thanks for the quality content!

  • @ZL1704
    @ZL1704 Жыл бұрын

    I could never understand this but your explanation made me realize! Great content (:

  • @AugustoDamasceno
    @AugustoDamasceno2 жыл бұрын

    AMAZING video man! Great Job!

  • @labrat-0171
    @labrat-01712 жыл бұрын

    Awesome stuff! Thanks team

  • @andaron
    @andaron Жыл бұрын

    Holly cow... I saw few great UE videos, but thats on completly other level, great way to EXPLAIN things so we, noobs, can understand

  • @lordkiller977
    @lordkiller977 Жыл бұрын

    Well, after watch this video I have decided to go with you to learn all this. Amazing concept explanation!

  • @Kekdot

    @Kekdot

    Жыл бұрын

    More coming!

  • @jfour6591
    @jfour6591 Жыл бұрын

    Fantastic!🎬👏

  • @jiggyspice6809
    @jiggyspice6809 Жыл бұрын

    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.

  • @Kodamaaaa
    @Kodamaaaa Жыл бұрын

    Very nicely explained video! I learned a lot 😃

  • @user-be8no7lx6c
    @user-be8no7lx6c Жыл бұрын

    It's very cool, thank you!

  • @safak2492
    @safak24922 жыл бұрын

    Excellent teaching Thanks!

  • @BaseRealityVR
    @BaseRealityVR8 ай бұрын

    Excellent Breakdown Here!

  • @markbay9275
    @markbay92758 ай бұрын

    Great video. Very useful info and well explained.

  • @stormolflak
    @stormolflak Жыл бұрын

    Very well explaiend, thank you!

  • @user-sy1cn8ns4y
    @user-sy1cn8ns4y Жыл бұрын

    Excellent Video !!

  • @zeeros1639
    @zeeros16393 ай бұрын

    Woo amazing, now i know why some stuff i did doesn't work for me. Thank you for this!!

  • @YouWillDoAsYouAreTold
    @YouWillDoAsYouAreTold Жыл бұрын

    amazing tutorial, thank you so much

  • @MichaelEmbers
    @MichaelEmbers Жыл бұрын

    Your knowledge is amazing

  • @ronioclarenzo6137
    @ronioclarenzo6137 Жыл бұрын

    Great tutorial! Thanks a lot!

  • @Tranehed
    @Tranehed Жыл бұрын

    Very very good! Thank you!

  • @leesmith5420
    @leesmith5420 Жыл бұрын

    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?

  • @MadMax-mw3og
    @MadMax-mw3og2 жыл бұрын

    This man, very nice

  • @philharland9591
    @philharland959110 ай бұрын

    Nice series thanks! :o)

  • @programthis3805
    @programthis3805 Жыл бұрын

    awesome video btw!

  • @bluelag00n82
    @bluelag00n82 Жыл бұрын

    Really cool

  • @herbertinstitute8651
    @herbertinstitute8651 Жыл бұрын

    That's a great video.

  • @bartekqrtd
    @bartekqrtd Жыл бұрын

    Great vid man!

  • @kameenavery9616
    @kameenavery9616 Жыл бұрын

    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.

  • @LightningdHeiwa
    @LightningdHeiwa Жыл бұрын

    Great Video pls More like this ! much love

  • @Kekdot

    @Kekdot

    Жыл бұрын

    More coming soon!

  • @freedomofspeech2100
    @freedomofspeech21003 ай бұрын

    headache... but now I know... thank you!

  • @Efe-jk2fg
    @Efe-jk2fg Жыл бұрын

    good explanation

  • @DJspacedonuts
    @DJspacedonuts Жыл бұрын

    Keep doing these

  • @forgiven88
    @forgiven888 ай бұрын

    thank you

  • @senpaisplash
    @senpaisplash Жыл бұрын

    rlly gud ❣

  • @psyco4452
    @psyco4452 Жыл бұрын

    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.))

  • @Eirenband
    @Eirenband5 ай бұрын

    awesome

  • @MichaelEmbers
    @MichaelEmbers Жыл бұрын

    Did you ever make the follow up video on what you recommend we code in each game framework?

  • @playdarkion
    @playdarkion Жыл бұрын

    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)

  • @wavelogic8471
    @wavelogic847111 ай бұрын

    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 😆

  • @shangraw9628
    @shangraw96284 ай бұрын

    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?

  • @ArcaneTurbulence
    @ArcaneTurbulence Жыл бұрын

    Could you post links to your earlier tutorials in your subtext, please...

  • @user-kp4rl8qb9y
    @user-kp4rl8qb9y Жыл бұрын

    done.

  • @DJDub4321
    @DJDub43212 ай бұрын

    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.

  • @vocthor1826
    @vocthor1826 Жыл бұрын

    Thank you a lot ! That's really helpful. But I do have a question : you don't talk of the GameInstance, what is it ?

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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.

  • @nowlog502

    @nowlog502

    Жыл бұрын

    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.

  • @jonathanwarner3195
    @jonathanwarner31952 жыл бұрын

    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.

  • @Kekdot

    @Kekdot

    2 жыл бұрын

    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)

  • @Kekdot

    @Kekdot

    2 жыл бұрын

    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.

  • @jonathanwarner3195

    @jonathanwarner3195

    2 жыл бұрын

    @@Kekdot Thanks! I've been trying to understand unreal networking for some time, your videos really helped a lot!

  • @Kekdot

    @Kekdot

    2 жыл бұрын

    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.

  • @arjunc5896
    @arjunc5896 Жыл бұрын

    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?

  • @user-go8rm5se2p
    @user-go8rm5se2p4 ай бұрын

    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.

  • @ciprianctin2491
    @ciprianctin2491 Жыл бұрын

    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

  • @ManuelBindi
    @ManuelBindi Жыл бұрын

    is this listener server or dedicated server?

  • @nemac23
    @nemac23 Жыл бұрын

    Not much mention of HUD class. Should widgets be created in Player Controller as you mention here or in HUD class?

  • @Kekdot

    @Kekdot

    Жыл бұрын

    I recommend that you use the HUD class to manage that. I have a recent video covering this topic

  • @freedomofspeech2100
    @freedomofspeech21002 ай бұрын

    Can someone please help me understand why my AI animation (walking etc) won't show on server while on client shows fine?

  • @thehungrymonk17
    @thehungrymonk17 Жыл бұрын

    🤟

  • @YoutubeAccountMan
    @YoutubeAccountMan Жыл бұрын

    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.

  • @TheTrifel

    @TheTrifel

    Жыл бұрын

    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

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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)

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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.

  • @TheTrifel

    @TheTrifel

    Жыл бұрын

    @@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 😆

  • @Kekdot

    @Kekdot

    Жыл бұрын

    @@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 😄

  • @FF-FAN9999
    @FF-FAN9999 Жыл бұрын

    Where would you store each players inventory (items carried)? And ammunition of the weapons for example?

  • @koshabi

    @koshabi

    9 ай бұрын

    Where health would be usually stored. So the players Pawn class.

  • @DarkSession6208

    @DarkSession6208

    29 күн бұрын

    @@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.

  • @Gensokian
    @Gensokian Жыл бұрын

    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?

  • @Kekdot

    @Kekdot

    Жыл бұрын

    Game instance is local only for each player (server or client). See the Unreal Engine docs for more info

  • @rainrandomnumber
    @rainrandomnumber Жыл бұрын

    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?

  • @programthis3805
    @programthis3805 Жыл бұрын

    where can i learn this other then this video? does epic live training have a video on this?

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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.

  • @programthis3805

    @programthis3805

    Жыл бұрын

    @@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

  • @salem6505
    @salem6505 Жыл бұрын

    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 😅

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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.

  • @salem6505

    @salem6505

    Жыл бұрын

    @@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 😅

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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 🙉

  • @salem6505

    @salem6505

    Жыл бұрын

    @@Kekdot i think i will cry from now 🤣 this is my skill , in general thank you bro for responding , good luck

  • @Roberto-qj1em
    @Roberto-qj1em Жыл бұрын

    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

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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

  • @Roberto-qj1em

    @Roberto-qj1em

    Жыл бұрын

    @@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

  • @Roberto-qj1em

    @Roberto-qj1em

    Жыл бұрын

    Or in case of a splitscreen multiplayer Game

  • @DuckyQuackington
    @DuckyQuackington Жыл бұрын

    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

  • @xxjesusfreak

    @xxjesusfreak

    Жыл бұрын

    Try putting the Enhanced movement from your BP_ThirdpersonCharacter to the BP_Player client script after your SR_SpawnPlayer in the Event BeginPlay

  • @stepylee

    @stepylee

    Жыл бұрын

    have the same problem, did you figure it out ?

  • @gvilas
    @gvilas Жыл бұрын

    What about the HUD class, why nobody talk about it?

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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/

  • @ElitUtik
    @ElitUtik Жыл бұрын

    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.

  • @vernanok1677

    @vernanok1677

    Жыл бұрын

    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.

  • @Kekdot

    @Kekdot

    Жыл бұрын

    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

  • @virtualalphastudios6149

    @virtualalphastudios6149

    Жыл бұрын

    @@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. ;)

  • @user-pt1qf3ur4k
    @user-pt1qf3ur4k Жыл бұрын

    then Who owns the controller of the server?

  • @koshabi

    @koshabi

    9 ай бұрын

    the server owns it. nothing is above the server

  • @VRRoach
    @VRRoach2 ай бұрын

    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.

  • @KutsalKurt
    @KutsalKurt Жыл бұрын

    This is so complicated :(

  • @MaksimY_
    @MaksimY_ Жыл бұрын

    My faith in multiplayer tutorials is restored 🥲

Келесі