Multiplayer Replicated Door | Replicated Door And Timeline - Unreal Engine Tutorial

preview_player
Показать описание
Hey guys, in today's video, I'm going to be showing you how to create a door which can be opened and closed by all clients and players in a multiplayer game. This will replicate the door, and it's timeline.

#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:15 - Overview
00:50 - Interaction
04:38 - Creating The Door
10:26 - Finishing The Interact Code
11:38 - Opening And Closing The Door
15:23 - Final Overview
15:38 - Outro
___________________________________________________________________________

___________________________________________________________________________

___________________________________________________________________________

Thank you :)
___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
Рекомендации по теме
Комментарии
Автор

A second part will be released soon to fix a minor bug. If client 1 opens the door, and client 2 goes to close it. The door will snap closed then open again. This is a simple fix, we just need a replicated Boolean so each client knows if the door is already open or not.

MattAspland
Автор

Great treatment of a sometimes confusing topic!

stevenwynn
Автор

The video is very well explained as usual, thanks for putting this content out.

Now I hope you don't mind, but I do have some comments on this one:

1) You mentioned the usage of interfaces to avoid casting into heavier objects, but then you ended up casting your array entry into the Door Blueprint anyway, which ended up defeating that benefit of using the interface.

2) The behavior of how a door is open (the usage of the angle and so on) should be encapsulated within the door itself, and not spilled into the character that is interacting with it. Maybe you wanted to showcase the Event Dispatcher, but if the Server/Multicasts RPCs where kept within the Door Blueprint, not only the logic to open the door would be properly encapsulated, but you would also solve issue #1 above, and wouldn't need to cast into the Door Blueprint.

Once again, thanks for the content and I wish you the best!

NinjaBearStudio
Автор

i know this video is 2 years old but when cunnecting the Run on server to the dispatcher it wont let me i get the following

Delegate is not compotible with delegate (by ref)

Any idea ?

FlockersDesign
Автор

Did you ever release the second part with the boolean bug fix?

ryanbendall
Автор

You are a legend man, this worked perfectly.

Fettman
Автор

Hey Matt. Great work. I was just wondering if you still had plans for the second video. I'm not sure where we would use the replicated boolean to make this work correctly.

eddysouth
Автор

Very useful content. Thanks for the tutorials.

belvss
Автор

12:01 connceting the custom event to the bind event, I get this message when I try to connect it "Delegate is not compatible with Delegate (by ref)"

dawid_zz
Автор

Sir I needed this tutorial for many days thank you very much thank you

jackgamer
Автор

actually it is much simpler :

on the bp_door collision box overlap event check if it's a character

then call a custom event on the server wich will call a multicast event

and in it put the rotation logic .


this work just fine in ue5 at least

amigoface
Автор

I'm getting stuck at 12:45... it says delegate is not compatible with delegate (by ref). Any idea why?

speedwaylabsdev
Автор

Can you use a single event dispatcher to move two different objects from the same bp?

bsg
Автор

It's sad when you follow the whole tutorial for it to not work at the end. The custom event: 'Open Door On Server' cannot connect to 'Bind Event to Open Door'. I am using version 5.5

ForTheForsaken
Автор

Thanks bro!!! I wanna make a multiplayer but i don understand server things 🤣 can we make peer2peer(one player making a server role and other player join him) game? i dont want to buy server :(

g-dojjo
Автор

hi matt, this is actually helping me a lot. but my nodes seems a bit off. i need to press interact action twice in order to run the event to open the door. and i can't cast to the door because the object can't be accessed. any ideas? (im in 4.27)

arankasih
Автор

Hey when I go to implement function, I get implement event instead, it looks the same as yours after clicking it, so just curious if it's the same thing, re named from an update or something, Or if I forgot a step.

Fettman
Автор

When i make a door, the character can cross from it when its closed. How i can fix this?

yeblogger
Автор

I know its not the right place to ask for it but i would really like to see and learn how can someone make a waterfall in ue4... Except that I Love your Content I have said it and I'm gonna keep saying it !!

pixelators
Автор

Is it different in UE5? It doesn't seem to work for me

nmddiez