How to make Multiplayer Chat | Replication Tutorial | Kekdot | Unreal Engine 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024
  • เกม

ความคิดเห็น • 51

  • @Kekdot
    @Kekdot  ปีที่แล้ว

    Hey guys,
    Get the project files here if you're interested:
    👨‍🏫 My Patreon link:
    www.patreon.com/kekdot
    Download Project Files | Premium Tutorials | Courses

  • @biaxthepanda
    @biaxthepanda ปีที่แล้ว +23

    You should be uploading more replication and multiplayer videos bro. You have the most clearly understandable ones i've ever seen before.

    • @Kekdot
      @Kekdot  ปีที่แล้ว +7

      Uploading one every day now

    • @biaxthepanda
      @biaxthepanda ปีที่แล้ว +4

      @@Kekdot youre the best! You can be sure they'll help a lot

    • @lukebetterton
      @lukebetterton ปีที่แล้ว +2

      Holy shit, don't burn out!@@Kekdot

    • @Kekdot
      @Kekdot  ปีที่แล้ว

      Hahaha no worries I love making them, finally got some more time now to work on my TH-cam channel again@@lukebetterton

  • @Max-bi9nf
    @Max-bi9nf ปีที่แล้ว +3

    Without a doubt the best tutorials for UE Multiplayer! Keep it up man!

  • @LinuxPhantom
    @LinuxPhantom 8 หลายเดือนก่อน +1

    Works amazing, thank you!
    I only have one issue, I made it so I can collapse it in game by pressing "T", When I open and close the chat box it doesnt save chats.

  • @rem3072
    @rem3072 ปีที่แล้ว +1

    Great video as usual, thanks for sharing your knowledge.

  • @NortandoGames
    @NortandoGames ปีที่แล้ว

    Really nice stuff. Please finish this! I know you are still in the process of making these (last upload 3 days ago). But there seems to be a trend that the best and most information unreal tutorials get cut off at some point

  • @Hamad_S
    @Hamad_S 8 หลายเดือนก่อน

    Great tutorial, thank you very much.
    At 24:35, do we need to loop through each player? Will it work if we directly call the event using multicast replication since it will call the event on all the clients?
    I can't wait to get back home to try it out, so I wanted to confirm if it works.
    Thanks again!

    • @dakotayocom7764
      @dakotayocom7764 7 หลายเดือนก่อน

      What was the outcome of your experiment? did multicast work on the message sender?

    • @Hamad_S
      @Hamad_S 7 หลายเดือนก่อน +1

      @@dakotayocom7764 Apologies for any confusion in my previous comment 🤣.
      Let me clarify the concept. Consider a scenario with four players, each having their own PlayerController. Let's say you multicast from (PlayerController 1) to change its clothes color to red, this will affect only PlayerController1 across all clients since the event was called inside that specific controller. So multicasting insures that all clients see the changes that happened to PlayerController1.
      However, if you loop through all PlayerControllers, it will change the clothes color for all players in the game (PlayerController1, Player Controller2, etc..).
      Hope this clears things up!

  • @Test-xt3ys
    @Test-xt3ys ปีที่แล้ว +1

    awesome tutorial man, you got a subs! I tried "Auto Wrap Text" for the ChatMessage, but when the message is too long, it still doesn't work properly, do you have any idea about how to properly set this ? too bad you didn't mention that, great tutorial anyway

  • @migueldoprado27
    @migueldoprado27 5 หลายเดือนก่อน

    Thank youuuu!

  • @thehungrymonk17
    @thehungrymonk17 ปีที่แล้ว

    Thanks!

  • @StudioVacant
    @StudioVacant 7 หลายเดือนก่อน

    Love your videos man

  • @Mygamesworldiq
    @Mygamesworldiq 9 หลายเดือนก่อน

    Thank you my friend you have help me

  • @caseyridestv
    @caseyridestv 5 หลายเดือนก่อน

    Would love to see a Tut on Proximity Text Chat (Ex: /Say /Shout /Whisper /Guild /Party)

  • @vicen-te
    @vicen-te ปีที่แล้ว

    Is it better to define chat logic on the player controller or in game mode so that other player controllers can send messages?

  • @RubaDev
    @RubaDev ปีที่แล้ว +1

    Hey great tutorial you've helped me alot but im little bit stuck on two things so if you could help me figure it I would be very thankful!
    1. After I enter chat message I need to click on screen once again to continue moving my character since chat is inside of my gameplay level so basically i can look around but I can't move unless I click. Maybe its due to keyboard being focused to widget but I dont know how to clear the focus.
    2. How would I make text transfer in second line after being too long for only single line.. Tried wrapping it in Chat text message designer but didnt help.
    Thank you in advance you are the best.

    • @seba0456
      @seba0456 9 หลายเดือนก่อน +1

      1. Set input mode game only will fix that. You have to call that node after clearing text.

  • @dakotayocom7764
    @dakotayocom7764 7 หลายเดือนก่อน

    Took me a week to figure out that widgets cant do server logic because the server cannot posses a widget. But hey its working!!

  • @turritom
    @turritom ปีที่แล้ว

    Very cool ..thank you ..i have it allright in my project ..one question :) how about longer text ..is there a function that breaks the lines?

    • @Kekdot
      @Kekdot  ปีที่แล้ว +1

      Heya, Yeah to fix that simply select the chat message text and then scroll down a bit in the widget designer and look for the option called 'Wrap text'. You can then either auto wrap or set your own wrapping width.

    • @turritom
      @turritom ปีที่แล้ว +1

      @@Kekdot thanks got it :) i have also add a random color for each player :)

    • @Test-xt3ys
      @Test-xt3ys ปีที่แล้ว

      @@turritom what did you add as text wrap width value ? because whatever I put on, it wrap every 4 characters - thanks bro

    • @turritom
      @turritom ปีที่แล้ว +1

      @@Test-xt3ys 220,0 and not auto wrap text

    • @Test-xt3ys
      @Test-xt3ys ปีที่แล้ว

      @@turritom ok I put 220 and unchecked auto wrap text, but if you type so that it goes beyond the width of the chatpanel, it doesn't wrap, did u notice that bro?

  • @waw4428
    @waw4428 ปีที่แล้ว

    Kekdot three questions:
    1. Could you please check the functionality of the healthbar from you video in a server that players join after the server is created (ie. listen server is created, then players join). The widget doesn't work unless two players appear at the same time when the server is created, or is the widget is activated when the second player joins.
    2. Do you have any best practices when setting up in-game time/clock, syncing it among clients and having event occur based on that in-game time?
    3. Do you have any suggestions for making a dedicated server and it's UI?
    Anyway, thanks a lot for your videos, they are very well done and useful :D

    • @dakotayocom7764
      @dakotayocom7764 7 หลายเดือนก่อน

      Dedicated server is really easy once you get to know the ins and outs. basically slap together a silly Widget that lets you load level by name. instead of a name place an IP address. You can tinker with the function of keeping the IP's hidden by using server names if you want. but to an expert hacker you can always see the IP obviously.

  • @WebsTrolling
    @WebsTrolling ปีที่แล้ว

    Question works great but how would i make it so lets say 15 sec if no one type it goes off the screen till they press enter again? thanks!

    • @dakotayocom7764
      @dakotayocom7764 7 หลายเดือนก่อน

      hey, not a super pro here but I have a solution for you. You could run timer by even and on finish remove the widget. My better judgment though would say instead of a timer, run a loop that changes an integer variable and add a delay so it doesn't run every tick. I'd love to get some expert advice on this theory!

  • @marcooasan1668
    @marcooasan1668 9 หลายเดือนก่อน

    can you sdd t he open source emoticons on chat? also how can i support unicode or other languages chats

  • @SamuelHale-fk9ij
    @SamuelHale-fk9ij ปีที่แล้ว

    Hi KEKDOT, please could you do a video showing the correct way for a multiplayer player to die(where it goes in the framework), with an animation and sound etc. Then respawn back to a player start after a respawn timer countdown widget. Pretty please. :-) I have the 'death' running from a custom event on the BP of my player character at the moment and then calling the spawn player(from one of your previous videos) after a death animation and sound have played, the respawn works fine but I get weird results with the widget and shortly after the character has respawned. When either the server listen player or client player die, they respawn back in OK at the player start, but then the screen completely fades to black. Also my 'blood background image' widget seems to show on both client and server instead of on the correct player.

  • @antlermind
    @antlermind ปีที่แล้ว

    Running into a small problem. When running the game single player, the chat input box automatically clears the hint text, and returns to it after submitting your chat message, but when playing with multiple players as listen server, the chat input hint message stays visible, and the input is very hard to see. Any idea where I may have gone wrong?

  • @Spamkromite
    @Spamkromite 10 หลายเดือนก่อน

    Does the text wrap when it gets to the border of the box?
    Can we add a character limit to the text box? 🤔

  • @freedomofspeech2100
    @freedomofspeech2100 8 หลายเดือนก่อน

    please help me, I can't find the session after packaging my game

  • @nobIeseis
    @nobIeseis 7 หลายเดือนก่อน

    if i press enter in the player controller it doesnt focus :/ i have to click on it to send a message every time

  • @ANUBIS_game_dev
    @ANUBIS_game_dev ปีที่แล้ว

    Hi Thanks , Can you make mobile multiplayer and give me the basic?

    • @Kekdot
      @Kekdot  ปีที่แล้ว +1

      I’m not a mobile game developer

  • @PixelHR2024
    @PixelHR2024 8 หลายเดือนก่อน

    it didnt work even if i did every step :(

    • @dakotayocom7764
      @dakotayocom7764 7 หลายเดือนก่อน

      Don't be discouraged. This is the nature of game development. We all make small mistakes sometimes. I've rewatched videos 4 or 5 times before and not had success until I waited a day or two and came back to the problem. Furthermore these multiplayer implementation videos are very complex and I would say only a little bit harder than creating save files LOL.