Unreal Engine 4 Tutorial - Online Multiplayer Part 10: Remote Unit Frames
Вставка
- Опубліковано 2 жов 2024
- In this series we will be explaining how to add online multiplayer to your games. First we are going to explain how it works, then we will go into creating lobbies etc.
In Part 10 we explain and show how to add health bars above other players' heads that replicate their health values across the game.
SUPPORT ME
Patreon I / ryanlaley
Buy Me a Coffee I buymeacoffee.com/RyanLaley
Donations I paypal.me/ryanlaley
PRIVATE 1-2-1 SESSIONS
Email me at support@ryanlaley.com for more information and rates, or visit www.ryanlaley.c...
JOIN THE COMMUNITY
Discord I / discord
FOLLOW ME
Twitter I / ryanlaley
Facebook I / ryanlaleygames
Instagram I / ryanlaleygames
I had to center vertical align the Progress Bar in order for it to come through as the 'desired' and not a 500x500 square
So I keep getting a "accessed none when trying to read property" for the health percent. Ive done print strings to check and the cast at begin play IS working, I dont know what the issue could be.
It only seems to happen when im trying to multicast the healthbar from an AI enemy, but not when the players healthbar is multicasted.
Did you solve this?
try deleting get user widget object at beginplay and re-add it to the cast to player minor, this worked for me and i figured its just some small ue5 bug
Currently trying this method out on UE 5.0.3 and for some reason I keep getting "accessed none trying to read property As Player Unit Frame" (As Player Unit Frame is my Unit Frame widget variable) when I play my project in Selected Viewport or New Editor Window, I looked into the games logs after running it as Standalone and found the same error in there. But when I'm running the project and play testing everything looks to be running fine. I'm not sure if it's because I have this widget setup on my parent character and it's being inherited by my children characters or if this is potentially a UE5 bug?
I think I found a solution, I no longer have the error messages. In order to fix this issue, if it is actually fixed, all I had to do was convert my Get As Player Unit Frame into a validated Get. Basically at 3:56 in the video after you drag in the Unit Frame variable right click on it and at the bottom of the pop up of options just click on Convert to Validated Get. Make sure to plug the Call Update Hud node into the newly validated Get and just follow the rest of the tutorial video. Hope this helps someone down the road.
What if I want to test this game online with my friends?
Please more multiplayer videos like this man!! 🙏🏻🙏🏻🙏🏻🔥
Very good ! thank you for keeping these tutorials going. I will join the patreon soon
i have this problem where after a while the game starts lagging more and more
the more players there are the faster it happenes
Very good video !
Quick and useful ty a lot, i'm trying to make a stanley parable like, and i can't find one of your tutorials that give tips about triggering sounds like choices (in your advanced dialogue tuto) . If you already did it could you name it for me ? ty a lot again man, you're great.
love the tutorials thanks for making! My only feedback would be the audio is very quiet at times. Even on max volume its hard to hear sometimes!
Hello guys X_X i have a one question!??? we can see this bar behind wall... how can i disable this ???? X_X
I thought series were ended 😀
how do you make a lobby and matchmaker? please
Started filming it this week. Will start coming out soon for Patrons and then everyone else about a month or two after
Can u make transformer in unreal engine??.. Like press key turn into car and robot.. With transforming animation?
If I had an animation to use then yes
@@RyanLaley will u help by giving us a tutorial? ♥
@@dababyyoda1383 Im not an animator, so if someone gives me the model and animations then sure
nicee thanks .. is there's anyway to use a free server without pay and publish my game 😥