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

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 141

  • @Kekdot
    @Kekdot  Год назад

    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/

  • @HumpaLumpaBiriBam
    @HumpaLumpaBiriBam 7 месяцев назад +5

    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

  • @MrDoglightning
    @MrDoglightning 6 месяцев назад +7

    literally a master class right here

  • @metalguntalk2365
    @metalguntalk2365 Год назад +29

    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!

    • @Test-n7y2l
      @Test-n7y2l 4 месяца назад

      Are you just referring to the fact he doenst use Enhanced Inputs? Is there something I should know about them with GAS?

  • @TheOtherDerek
    @TheOtherDerek Год назад +8

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

  • @TheGabmeisterX
    @TheGabmeisterX Год назад +13

    Hands down the best explanation of the UE gameplay framework.

  • @BROCKSGAMING
    @BROCKSGAMING Год назад +25

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

  • @TheMuhammad
    @TheMuhammad 2 года назад +31

    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 2 года назад +2

      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 2 года назад +13

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

  • @_SkyDancer
    @_SkyDancer Год назад +3

    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

  • @the-nomad-show
    @the-nomad-show 11 месяцев назад +3

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

  • @RomanTimm
    @RomanTimm 3 месяца назад +1

    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!

  • @MortMort
    @MortMort 2 года назад +12

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

    • @Kekdot
      @Kekdot  2 года назад

      More coming soon!

  • @HawkeyeHawkeye
    @HawkeyeHawkeye 2 года назад +2

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

  • @meathelix
    @meathelix 10 месяцев назад +1

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

  • @MaxyBlack
    @MaxyBlack 2 года назад +17

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

  • @joeferreira3340
    @joeferreira3340 5 дней назад

    Definitely the best unreal tutorial out there.

  • @moosehead13
    @moosehead13 5 месяцев назад

    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.

  • @coreartzz
    @coreartzz Месяц назад +1

    u are simply the goat. cant say more. amazing teacher.
    best of luck with your current game :)

  • @m.r5380
    @m.r5380 2 года назад +3

    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.

  • @inksplosiongames
    @inksplosiongames Год назад

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

  • @doppeltes
    @doppeltes Год назад +2

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

  • @brothabuzz
    @brothabuzz Год назад +2

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

  • @andaron
    @andaron Год назад +2

    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 2 года назад +5

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

    • @Kekdot
      @Kekdot  2 года назад +1

      More coming!

  • @TheFlyingEpergne
    @TheFlyingEpergne Год назад +2

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

  • @Wauzy
    @Wauzy Год назад +1

    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.

  • @jiggyspice6809
    @jiggyspice6809 Год назад +1

    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.

  • @siegeb4486
    @siegeb4486 2 года назад +2

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

  • @GorkaGames
    @GorkaGames 2 года назад +3

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

  • @kuro2ck
    @kuro2ck 2 года назад +2

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

  • @tomix604
    @tomix604 2 года назад +1

    This is literally the best explanation, thank you.

  • @leesmith5420
    @leesmith5420 2 года назад +4

    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?

  • @koshabi
    @koshabi Год назад

    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.

  • @ZL1704
    @ZL1704 2 года назад +1

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

  • @afrayedknot1337
    @afrayedknot1337 2 года назад +1

    Quality video of good solid topic - great work mate!

  • @Martyr104
    @Martyr104 Год назад

    You are awesome at explaining these concepts, thank you!

  • @zeeros1639
    @zeeros1639 8 месяцев назад

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

  • @labrat-0171
    @labrat-0171 2 года назад +2

    Awesome stuff! Thanks team

  • @AyushAnbhore
    @AyushAnbhore Год назад +2

    Excellent Video !!

  • @jfour6591
    @jfour6591 2 года назад +1

    Fantastic!🎬👏

  • @markbay9275
    @markbay9275 Год назад +1

    Great video. Very useful info and well explained.

  • @Kodamaaaa
    @Kodamaaaa 2 года назад +1

    Very nicely explained video! I learned a lot 😃

  • @MrAdrianSW
    @MrAdrianSW 2 года назад

    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!

  • @BaseRealityVR
    @BaseRealityVR Год назад

    Excellent Breakdown Here!

  • @safak2492
    @safak2492 2 года назад +1

    Excellent teaching Thanks!

  • @AugustoDamasceno
    @AugustoDamasceno 2 года назад +1

    AMAZING video man! Great Job!

  • @wavelogic8471
    @wavelogic8471 Год назад

    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 😆

  • @psyco4452
    @psyco4452 2 года назад

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

  • @pennaverdeful
    @pennaverdeful 6 месяцев назад

    Amazing video, just what I needed thanks!

  • @freedomofspeech2100
    @freedomofspeech2100 8 месяцев назад

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

  • @MichaelEmbers
    @MichaelEmbers 2 года назад

    Your knowledge is amazing

  • @LightningdHeiwa
    @LightningdHeiwa 2 года назад +1

    Great Video pls More like this ! much love

    • @Kekdot
      @Kekdot  2 года назад

      More coming soon!

  • @ЮрийСитов-э8п
    @ЮрийСитов-э8п Год назад

    It's very cool, thank you!

  • @saiko14
    @saiko14 10 месяцев назад

    Thank you! So useful information!!

  • @kameenavery9616
    @kameenavery9616 2 года назад

    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.

  • @bartekqrtd
    @bartekqrtd Год назад

    Great vid man!

  • @stormolflak
    @stormolflak 2 года назад

    Very well explaiend, thank you!

  • @MichaelEmbers
    @MichaelEmbers 2 года назад

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

  • @herbertinstitute8651
    @herbertinstitute8651 2 года назад +1

    That's a great video.

  • @MadMax-mw3og
    @MadMax-mw3og 2 года назад +1

    This man, very nice

  • @Tranehed
    @Tranehed Год назад

    Very very good! Thank you!

  • @vocthor1826
    @vocthor1826 2 года назад +1

    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  2 года назад

      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 2 года назад

      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.

  • @ronioclarenzo6137
    @ronioclarenzo6137 Год назад

    Great tutorial! Thanks a lot!

  • @YouWillDoAsYouAreTold
    @YouWillDoAsYouAreTold 2 года назад

    amazing tutorial, thank you so much

  • @programthis3805
    @programthis3805 Год назад

    awesome video btw!

  • @unknown_producer
    @unknown_producer 10 месяцев назад

    Thanks for the quality content!

  • @DJspacedonuts
    @DJspacedonuts 2 года назад

    Keep doing these

  • @philharland9591
    @philharland9591 Год назад

    Nice series thanks! :o)

  • @Efe-jk2fg
    @Efe-jk2fg 2 года назад

    good explanation

  • @ArcaneTurbulence
    @ArcaneTurbulence 2 года назад

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

  • @YoutubeAccountMan
    @YoutubeAccountMan 2 года назад

    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 2 года назад

      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  2 года назад

      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  2 года назад

      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 2 года назад

      @@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  2 года назад +1

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

  • @playdarkion
    @playdarkion 2 года назад

    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)

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

  • @bluelag00n82
    @bluelag00n82 Год назад

    Really cool

  • @DJDub4321
    @DJDub4321 7 месяцев назад

    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.

  • @FF-FAN9999
    @FF-FAN9999 Год назад

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

    • @koshabi
      @koshabi Год назад

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

    • @DarkSession6208
      @DarkSession6208 6 месяцев назад

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

  • @jonathanwarner3195
    @jonathanwarner3195 2 года назад

    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 года назад +1

      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 года назад +1

      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.

  • @shangraw9628
    @shangraw9628 9 месяцев назад

    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?

  • @forgiven88
    @forgiven88 Год назад

    thank you

  • @Eirenband
    @Eirenband 10 месяцев назад

    awesome

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

  • @프로그래밍-o9m
    @프로그래밍-o9m 9 месяцев назад

    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.

  • @AnmolGarg-i7f
    @AnmolGarg-i7f Год назад +1

    done.

  • @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  Год назад +1

      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  Год назад +1

      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

  • @senpaisplash
    @senpaisplash 2 года назад

    rlly gud

  • @programthis3805
    @programthis3805 Год назад

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

    • @Kekdot
      @Kekdot  Год назад +1

      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

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

  • @Gensokian
    @Gensokian 2 года назад

    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  2 года назад

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

  • @arjunc5896
    @arjunc5896 2 года назад

    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?

  • @freedomofspeech2100
    @freedomofspeech2100 7 месяцев назад

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

  • @보리타작-x9s
    @보리타작-x9s Год назад

    then Who owns the controller of the server?

    • @koshabi
      @koshabi Год назад

      the server owns it. nothing is above the server

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

  • @gvilas
    @gvilas 2 года назад

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

    • @Kekdot
      @Kekdot  2 года назад +1

      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/

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

  • @Kb-un4rk
    @Kb-un4rk Месяц назад

    how to do you know about this? i mean from what book do your learn this

    • @Kekdot
      @Kekdot  Месяц назад

      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.

  • @ElitUtik
    @ElitUtik 2 года назад

    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 2 года назад

      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  2 года назад +1

      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 2 года назад

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

  • @thehungrymonk17
    @thehungrymonk17 Год назад

    🤟

  • @VRRoach
    @VRRoach 7 месяцев назад

    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.

  • @buennyo
    @buennyo 2 года назад

    This is so complicated :(