Unreal Engine 5 | Blueprint For Intermediate Users (2023)
ฝัง
- เผยแพร่เมื่อ 1 มิ.ย. 2024
- Check out my Premium Courses:
smartpoly.teachable.com
DOWNLOAD THE PROJECT FILES HERE:
drive.google.com/file/d/13M_w...
Want To Learn Game Development?
Check out My Multiplayer Survival Game Course:
smartpoly.teachable.com/p/ue5...
BLUEPRINT FOR BEGINNERS:
• Unreal Engine 5 | Blue...
NEW TO UNREAL ENGINE 5? WATCH THIS FIRST:
• Unreal Engine 5 Beginn...
Hello guys and welcome to my Unreal Engine 5, Blueprint for Intermediate Users video. In this video, I will explain some intermediate blueprint topics, such as enumerations, structures, arrays and functions. We will use all of the things we learn in the start of this video, to create a simple inventory system. This is the second video in my Blueprint Video Series, the third and final video will be called Blueprint for Advanced Users.
TIMESTAMPS:
00:00 - Introduction
2:40 - Project Setup
3:00 - Enumerations
10:00 - Add Comments To Blueprint
11:00 - Structures
22:13 - Arrays
35:00 - Functions Explained
43:00 - Setting Up Our Inventory System
47:37 - Creating The Master Class
50:00 - Blueprint Inheritance Explained
56:00 - Importing The Project Files
1:00:55 - Setting Up Our Item Blueprints
1:07:17 - Setting Up Item Pickup Logic
1:13:40 - Adding The Item Inventory Array
1:17:00 - Adding A Hotbar Widget
1:23:00 - Show Item Icon on Our Widget
1:29:00 - Adding Item Selection
1:39:00 - Adding Item Swapping
1:51:00 - Adding Use Item Function
1:53:40 - Consume Item Function
2:05:40 - Equip Item Function
2:14:00 - Read Item Function
2:22:20 - Summary and Outro
LINKS:
---------------------------------------------------------------------------
My Courses: smartpoly.teachable.com
Survival Game Course: smartpoly.teachable.com/p/ue5...
Channel Membership: / @smartpoly
Support Me on PATREON: / smartpoly
Buy My Complete Projects: smartpoly.gumroad.com
Donate: www.buymeacoffee.com/smartpoly
---------------------------------------------------------------------------
MY PC SPECS & AFFILIATE LINKS
---------------------------------------------------------------------------
Mouse: amzn.to/46WMdjN
Keyboard: amzn.to/3M11SpV
Laptop: amzn.to/3M7kjJQ
CPU: amzn.to/3tKTK6E
RAM: amzn.to/45yvWjW
GPU: amzn.to/3rUGMmm
SSD 2TB: amzn.to/46QcGPS
SSD 4TB: amzn.to/46T10f9
Primary Monitor 4K: amzn.to/3RZxqk5
Secondary Monitor 1080p: amzn.to/3M6X16V
Microphone: amzn.to/3S0aLnx
Audio: amzn.to/3S5z5Vm
Headset: amzn.to/45BeWJP
Want to Learn More? Check out my Premium Courses:
smartpoly.teachable.com
You should include these in the premium courses. I loved this and feel like I'll have a much easier time understanding the course material once the advanced version drops. Regardless thanks for all your work!
Are there any plans to add more content to the survival course?
Hi. 1:27:11 for some reason I have no Update image in the Widget reference*. This function simply does not exist, even if you manually log in to *Call Functions*. Except *Add Custom event there is nothing else....Could you tell me what it could be? Thank you.
@@notemarket2742 1:24:00 he sets it up, it's a custom event
Love these vids!! Any timeline on the release of Advanced video?
I just recently switched to Unreal from Unity and these courses are freaking amazing. Best teacher on Blueprints I've found so far.
Take the survival course, it teaches you best practices for pretty much any fps/tps game out there
1:37:16 I think you can just set all 3 of them to default, then set the correct one to yellow. You won't be able to see it because it all happens in one frame.
EDIT: I found the solution, I didn't connect an execution pin when creating the Widget reference, in the custom event "CreateMainHUD, just after "Add to Viewport".
Gonna leave this comment in case someone else got the same error! Loving this tutorials, I plan to follow them
Mate thanks for the comment, I wasted 1 hour of my life try to debug this problem too
I also ran into this issue and went all the way back checking my blueprints... it snuck right past! Thanks for posting your problem solving!
You are a life saver man thank you so much... its so hard to find problem related comments in these videos
Thank you! Has been stock on this for a while
ran into exact same problem ... Knew I wouldn't be the only one
You have been by far the best teacher when it comes to blueprints I've watched so far, and I've gone through several udemy courses and you've done a way better job at showing/explaining things. I'm excited for the advanced video to come out!
These tutorials have been amazing, I cant wait for the advanced one to drop!
I live in Turkey and I am having trouble finding resources about the unreal engine in Turkish. Thanks to the Turkish subtitles on your channel, I can watch your unreal engine trainings in my own language without paying. Thank you very much for your efforts. I'll stay tuned for the next training video.
1:37:00 - I believe if you put the 'set brush color' of all borders between the 'Select Item' event and the 'Switch on Int', you will get the same result making it easier and scaleable.
This works! Saved me 2 minutes. :D
First 40 min were painful, but when you get to create pickable items and understand what's going on and why we're using these nodes, it's the greatest feeling ever
this series is beyond well put together. blueprint was such a beast before but now im starting to understand piece by piece. thank you for this series and i cant wait for the widget video
These tutorials are some of the best I've watched, I've watched many. Thank you for going back through the blueprints each time and explaining the functionality, much appreciated.
Began learning unreal a few days ago and these tutorials have been extremely helpful. Can't wait for the third part!
Thank you again, I'm learning the basics of the engine and blueprints, before I delve into the C++. I never expected blueprints in Unreal to be this well made and powerful.
Thank you so much for taking the time to make these! You are so thorough and I love how you don't just show how to do something, but explain the logic through the nodes and why things work the way they do. As a complete noob to unreal, all of your tutorials have been so helpful in giving me a starting point.
Thank you for all your videos! It is rare to find people who are teachers and who express themselves well! It's a pleasure to watch your videos and your survival game course we purchased.
I'm also looking forward to your complete video guide on creating user interfaces on Unreal Engine 5, which you quickly mentioned in Blueprint for Beginners #1!
Man, you are a legend, you are doing a really noble thing here, sharing your knowledge and skills with us for free. I’ve learned so much since I started following you. Keep on releasing your videos, they are amazing. Looking forward to advanced bp content
Best tutorials hands down. Extremely to-the-point and informative. You deserve more subs and views. Can't wait for the advanced tutorial!
You are a legend in the making. This is so needed. Keep up the great work!
You are truly helping out, I thank you a lot. I just recently realized the power of UE, and you are paving the way for so many people.
Thanks!
These are very useful. Thank you. I'm glad you're here.
Dude you are amazing!
I love the to-the point teaching, and that you have cropped out any errors while talking.
your content is graspable and highly applicable.
I have just started my Unreal engine 5 journey, and I will definitely become a costumer of yours, on your bigger packages. Great work!
Thank you so much for this tutorial. I find myself actually learning and not trying to keep pace with what you're saying or being confused because it's not being explained very well as I feel with other tutorials. You do a phenomenal job with teaching!
Super amazing tutorial!! I started the first video in the series knowing literally nothing, and now I've begun predicting how to do things and comparing it to your instructions. You're a great teacher! These videos have been so helpful, thanks very much for making them
These videos have been amazing so far. Very easy to follow and very informative. I was struggling to understand arrays and lists and this made it so easy. Thank you.
Thank you for putting these videos together! Looking forward to the Advanced video and any more you put out.
You are amazing. this tutorial series is very clear to understand and has a lot of unique knowledge that I did not see in any tutorial before.
Thank you from the bottom of my heart. ❤❤
These are the best blueprint tutorials I've ever watched, It is a pleasure to know your channel. Thank you
Excellent timing, just finished the other video this week!
Excelent!!! I am seriously considering buying your course. Thank you!
I want to thank you so much for taking the time to produce this well thought out and detailed tutorial series. You've helped me so much to finally get into Unreal and you really have a talent for teaching. I look forward to the third video and your beginners course on How To Make 5 Games. Any indication when the course will be ready? I really want to buy it.
This was one of the best tutorials I've ever followed (all softwares/skills included)!
One small thing I would suggest for your next tutorials would be to give the viewer a few exercises to figure out some of the implementations by themselves, which is kinda what I did by giving myself a few extra-curricular tasks to improve upon your design. For my fellow viewers here are a few suggestions of things I implemented by myself to apply the knowledge learned here:
- Make the first inventory slot highlighted by default, before any mouse scroll (super easy)
- Create a drop item function that you can call with a keyboard input, and also call inside the AddItem function
- add an "IsEquipped?" variable to our item structure, to check if you should actually drop it or not (useful if you had more than one weapon in inventory)
- create a scale variable in item structure, to adjust how big an equipped item will be in the player's hand
Nice ideas, to add onto that there is also an issue in the end with the book. When you open the book and then go and pickup the hatchet, you won't be able to close the book anymore. So another good exercise is to fix that issue.
I done the same after the video, another thing people can try to do on their own is to try and change the scroll system to allow you to start from slot 1 again when you scroll past the last slot :)
the thing i love about your vids is i dont know if anyone else understands what I'm about to say but do you how if you look at blender vids on geometry nodes or scratch vids they say what the code does but not what it can be used for. i understood the first vid in this series so well that i was all ready thinking about what i can do with it and how to do it. and the way he's explaining it is so good that that help me to understand it. to get my point (if you dont) you can go see blender geometry nodes vids for ur self. and i just want to say that this has helped so much. i cant actually explain how and what the differences are between smart polys way of explaining it are and everyone elses but if you get what i mean you get what i mean
These tutorials are just too good. Thanks you so much
Hi bro, your blueprint tutorial is the best I have ever seen, looking forward to your blueprint advanced videos
Thank you so much for this amazing free course! I appriciated that you took a little bit more time to explain role of each node. I'll wait for the third video!
Most useful Blueprint Tutorials on TH-cam for sure! Keep it up! Cannot wait to watch your third Blueprint video!
Thanks so much can't wait for part 3 :)
These guides are HUGE! thanks
This video intermediate was very helpful. Especially talking about Enumeration, Structure and Array. Also, the different functions are equally useful. On this tour, everything worked correctly for me. Good job. 💪💪😎😎
Really appreaciate this video, great teaching pace and topic. Any insight on when part 3 will drop on TH-cam? Thanks again!
Thank you for these free courses, your explanation was perfect in beginner video. Time to try this course ♥
Looking forward to the advanced video, I would like to suggest u to cover the "set by reference var" concept and async loading soft references if possible.
There's a bug at 'Consume Item Function'.
After removing the consumable, the left click still triggers the consumable path. Infact, if you don't pick anything up at all, it triggers the same path.
You can also test by adding a print string node to the consumable path and you will always see it trigger when clicking left mouse button, even when you have not picked anything up.
To fix this:
1. Add a 'none' option to your Enum and move it to the top.
2. Change the default setting 'Item Type' in your Inventory Array to be 'none'.
3. When removing the item from the array after consuming, you mayu need to explicitly set 'Item Type' to none. Split the pins in 'Set Array Elem' and set it to None.
Thanks dude B) been losing my mind over this
Awesome videos, excited for the advanced to drop!
I would pay for this tutorial, and indeed I did, youre so good at teaching that I decided to buy your course! Thank you a lot man, you saved my dream and kept me desiring learning it!
This is an incredible blueprint tutorial. I should show it to programmers in my team next time they say that it takes 4 weeks for inventory system prototype...
I love these Blueprint Videos!!! I have learned so much from them and can't thank you enough. When will you be releasing the Advanced blueprint video?
Thank you for uploading Blueprint videos. I just want to start learning UE5 and finding a teacher. Your video come on the perfectly right time!!
Enums and Structs work pretty well together. In my project I have complex enumerations, and using structs helps with storing that data. Though I had to break up my code into separate functions to keep it clean. For example, I have 1 enum that determines what other enum(s) to use. So you do that by nesting the first enum into other nested enums using the switch node. Edit: Where the struct comes in is storing the 2 (or more) valid enumerated variables. You could do without using a struct, but that would mean you'd be using more variables.
Really great @smartpoly. One suggestion that woulda helped me a lot is if you had your key press overlay for your keypresses! There was several times where i wish i coulda seen the keypress right off instead of having to look them up.
Thank you man, these videos are really good. :)
Thanks for this tutorial, a lot of nice tricks and useful practices.
More content I'll need to get through lol. I bought the survival course from Smart Poly and it's awesome still working my way through it
awesome, thank you for this video ❤
If your items don't seem to be swapping correctly (specifically if you swap an item once, then try to swap it back) it's because you have to move your character outside of the collider and then back in to reenable input. He's actually doing this at 1:49:49 but I don't think he mentions it :)
Subscribed! Waiting on a paycheck to buy into your courses!
Very nice. Well organize, useful , No Mistake, perfect lecture Love it. I'd Love to watch your Premium Lecture too.
Amazing Content! Thank you
Amazing tutorial....can't wait for the next one
Wow, thanks man a lot for such content!
Ty m8, exactly what i needed!
Great stuff. Thanks.
Hey man, this video was very helpful, thank you. I wanted to ask you if the advanced blueprint tutorial is still coming, thanks and keep it up
Great tutorial! I am really looking forward to the third part! When will the third part be released?
Pretty useful this Blueprint videos :)
Amazing,Marvellous and Fantastic,love from China
Excellent video🎉!
Great stuff. Thanks!
Love the videos, regarding the survival game course, do you get to keep the videos for infinite future use?
For anyone watching in the future, I found an easier way to reset the image. Although I haven't done extensive testing with it, so there might be a downside I'm not accounting for. But instead of calling its own event like SmartPoly does at 1:59:00, you can just call the update image event and set that to a blank image. So far this has been working, and saved me a bit of time. Happy developing!
I would love to see an abstract on how to view BP. So how do you go about setting up a system and what thought processes went into that.
where is the advanced tutorial?
btw.. it's a great tutorial.. has been addicted to this playlist..
I know it's not a part of the tutorial, the MetallicSmoothness maps should have the (R) routed to Metallic and the (A) with a 'One Minus' node to convert to Roughness!
Loving your videos and they are helping make learning Blueprints an enjoyable experience! Thank you, Smart Poly! :)
Any idea on when the multiplayer fps course releases? cant wait. will be buying it the second it comes out :D
waiting on the advanced tutorial great series.
I've already purchased your full course on teachable, and it is amazing, i can highly recommend to everyone!
But since it's so detailed and quite specific to that survival game, it's a bit hard to filter out and implement the knowledge to my own needs (because i don't want to just copy your game, but learn how to do one on my own).
How wrong i would be to assume that this video is roughly the summed up version of your long lecture? In terms of game structure, scalability, general directions for a game's dev, etc. Of course i will keep using your course, especially when details are needed, but how big of a mistake i would make if i started building my game according to this video, at least in terms of a general frame?
Thank you very much!
Thanks a lot ,keep going
Amazing tutorials. When is advanced coming out?
we need the blueprint for advanced! thanks for your efforts
GREAT VIDEO. WAITING FOR PART 3.
cant wait for the advanced video
Thank you!! Thank you!! Thank you!!
Thank you for teaching us. When will the First Person shooters course be released?
Hello! ,where is the third video? we need it so hard, thx for these useful videos, really helped.
Hello, thank you for the tutorial. Where is the Blueprint Advanced part?
I want to mention that you don't really need extra components to split things like vectors into its floats, you can just right-click any node that has a combination of pins while it is not connected to anything and select split pin structure that will have the same result with less unnecessary extra tabs like our Break S_TestStructure
Love it
Thank you so much!!!!
Question. at 1:37:10 , couldnt we make the border color logic into a Function and call that on each interger switch? instead of copy pasting all the target nodes for each border and having to have 3 golor set nodes etc.. couldnt it all be in a single function and have that copy pasted 3 times?
or we could change up the logic to, instead of setting all other borders to the default color, couldnt we undo the color change for that specific inventory slot??
cuz if we later decide to add more inventory slots, we would have to go back and add a bunch of nodes to change the color for it.. but we could just have it check what slot we are using, change it to yellow, and if we arent using it, go back to the default color.
I feel taht would save us from all the bulk code
Question: Why do we keep pulling in the variable Gets in the Event Graphs when the values have not changes?
For example: When building out the Mouse Wheel logic for the inventory system , We check the Selected Index == Max Inventory at 1:34:00-ish and then after the Branch we pull in the Selected Index again instead of creating a pipe from the first Selected Index node used for that == check.
I'm gathering that the nodes are reading the value and not the reference, so the value returned from Selected Index won't update if changed by something such as the increment, so pulling the value from the original again could be out of date, correct?
But if the value doesn't change between calls to the variable, it would still be accurate, correct?
Is this a best practices thing to avoid having the value change unexpectedly, and ensure it is the "freshest" value by Getting it directly again?
Thanks
When is #3 coming?? Great videos!
You're amazing.
Hey Poly ,I really apreciete you thats for you know
Danke!
when trying to dock the content browser in the layout it didnt do what it did with you it became a new window. and when i was adding the mesh for the book of the cube1 I didn't have cube one. and when you changed the book size for you it was just the book but for me it was the book and collision sphere. and when i spawned the cube in the viewport it wasn't at the centre of the collision box
So i have a couple of small bugs at this point. One the healing aura I made in the previous tutorial over heals the character. The full explanation of this: I made the damage from the damage zone 5 while the healing aura is 10. If you have 90 hp when you step on the healing aura it heals you to 100 and then says your health is full and stops healing you. If you step on the healing aura with 95 hp though it heals you to 105 hp. Since this isn't equal to 100 it keeps healing you. I see that clamps would be used to better control this as the potions I made in this tutorial did not have this issue. My only question is why we didn't make healing its own function or something and then have the items call it back so we don't have to put clamps and stuff in each healing event? I imagine this is how you would do it for real to save time and stuff, but you did it this way because it was better suited to the tutorial.
The second thing I have trouble with is the book. Your book reads the text you made in the widget while mine is reading the BP_book's text. How do you control this? Also how do you better stylize the text?
Question is there a newer or updated version of making dedicated servers I could never get it to work from 4.19-4.26 which was my last 4.0 version
Hi can you make a video about open world logic and how event are trigger after player get in certain area, I don't think using world partition is necessary as single player should be easy tutorial
So at around 1:22:36 We create the `CreateMainHUD` custom event then we call it from the event begin play. Why don't we create the CreateMainHUD logic as a function instead of having the logic in the main EventGraph window? Is it not possible?