Unreal Engine 4 - Inventory System Tutorial (Free Download)
Vložit
- čas přidán 1. 12. 2020
- In this video I teach you how to create your very own inventory system. I also give you the choice to download it for free
★ Come join the Team Beard Discord: / discord ★
⚜️Check out my Marketplace Asset ⚜️
🗡️ Mele 🗡️ www.unrealengine.com/marketpl...
🏹 Ranged - www.unrealengine.com/marketpl...
✨ Magic - www.unrealengine.com/marketpl...
⚔️ Package ⚔️ - www.unrealengine.com/marketpl...
🔪 Basic - www.unrealengine.com/marketpl...
★ Ways to Support The Channel ★
Patreon: www.patreon.com/JonBeardsell?...
Buy Me A Coffee: www.buymeacoffee.com/JonBeard...
All support will go towards helping me produce CZcams content and tutorials full time.
★ DOWNLOAD FILES ★
BEFORE YOU DOWNLOAD PLEASE WATCH FROM 1:06 - 2:15 SO YOU KNOW WHICH FILE YOUR DOWNLOADING
Inventory System Tutorial - mega.nz/file/F5Ynmayb#FQXuS7T...
Inventory System Updated - mega.nz/file/MlomXC4D#T_HI_n1...
Photoshop Files - mega.nz/file/NxwUVSZD#5qcSB6R...
Font For Photoshop (Inventory Title) Download - www.dafont.com/lemon-milk.font
Free Potion PNG Graphics - icon-library.com/icon/potion-...
★ Basics ★ ✓
★ Materials ★ ✓
★ Level Design & Collision ★ ✓
★ Particle Systems ★ ✓
★ Lighting ★ ✓
★ Opening Doors Via BP ★ ✓
★ Bombs, Consumables & Material Blueprints ★ ✓
★ Launch Pads, Moving Platforms & Trap Blueprints ★ ✓
★ Health & Mana Bar ★ ✓
★ Consumables ★ ✓
★ Destructible meshes & Spawning Blueprints ★ ✓
★ Creating a Low Poly Character Via Blender ★ ✓
★ Rigging & Animating A Character Via Blender ★ ✓
★ Character BlendSpace And Animation Blueprint ★ ✓
★ Character Selection Screen ★ ✓
★ Looting Chests ★ ✓
★ Picking Up Items & Inventory System ★ ✓
★ Picking Up & Drawing Your Weapon ★
★ Character Attack ★
★ NPC chat ★
★ Creating a Low Poly Boss Via Blender ★
★ Rigging & Animating A Boss ★
★ Blueprinting A Boss ★
★ Dying & Respawning ★
★ Checkpoints ★
★ Save/Load Game ★
★ Sound Effects★
★ Menu Screens & UI ★
★ Cutscenes ★
★ Packaging game ★
Thanks For Watching! Please Like & Subscribe if this tutorial series is helping you, it really helps me in producing content!!
That's the 6th inventory tutorial I watch and the first one I actually managed to follow. You did the same as all the others but 1000x easier and more straightforward. Thank you!
same they all add way to much extra stuff which i might not even be looking for
This was a huge help to be able to not worry about inventory for another gameplay idea I have. Painted and photoshopped my inventory screen. Used a flipbook for the header to give it a fun animation. Also used a Get Widgets of Class to auto build the slot array. Made it easier to expand the existing inventory.
You really did a stellar job with this tutorial, you give really good explanations about what each set of nodes do after setting them up. Hope your channel keeps growing man
Thanks so much Bonbon working really hard to put out the good stuff :D Thank you again amigo!
@no thanks I think you're a bit confused my friend. In this tutorial we cover how to make an inventory system and pass that data over to a new level, no where does it say how to save that information into a save game file. I've got another tutorial on saving data if people are interested in saving data, hope this helps clear up any confusion :)
Friend, you explain very well, I found the tutorial difficulty 5 from 0 to 10, I already have some programming time and I'm looking forward to adding inventory to my game, thank you very much for the video and for those who were able to collaborate for this video to be released, continue with the content, success and big hug! XD
Awesome tutorial, I followed the unreal block based game course on unreal, adding a inventory system is an awesome next step thank you
wow, for a beginner like me this was really hard work lol, but you explain a lot about what things actually do and why you place them, which not very many other actually take the time to do. thank you. ive just about kept up so far, so on to part 2
its funny right around the time this came out i was trying to make an inventory for my game "nothing fancy first one" but I come back after a few months and boom this amazing video!
Haha thank you so much Phoenix good luck with it :)
you rocks man ! you explain it thoroughly and newbie-friendly.everything about inventory now makes sense and crystal clear to me.much thanks
Ayy I love to hear that Danny keep up the good work sir! Thanks for watching and supporting the channel :)
was struggling with this part of my game project, this tutorial is very easy to follow :)
Ryan’s series are super useful, but this is an improvement. You are a godsend :)
Thank you so much Kahoolo glad I could help :)
great video man! i started of watching that other video you showed at the beginning but he wasn't really explaining anything he was doing so good work definitely a needed video thanks man!
Anytime brother thanks for supporting the channel :)
Quality content ! thank you so much for this
please keep those ignored mechanisms videos flowing its so difficult for newbies like us :)
Haha thank you! I try to keep it as easy and simple as possible for ya :D
WOW, amazing tutorial - hope your channel goes big!!!
Thank you so much!
Wow you are very good at explaining the idea's that are implemented.Very good work. One of the best youtube inventory tutorials.
Hey thanks so much! Really appreciate the kind words I put a lot into my videos 🙂 let me know if you have any questions or there's anyway I can help!
Dropping a like just for the fact that you are straightforward, give the option to just download the system or follow along with u. Wish more people would do that! Great job!
Thanks a lot veenix really appreciate it :)
@@Beardgames I have one question tho, after having followed the tutorials, I noticed you don't say anything about the layout of the inventory. I noticed that you have all the slot arrays in the inventory widget only on the top row of your inventory image. Say I use my own image with its own slot width and height. How do I properly configure the arrays to match that image?
Was just wondering because the fact that you have all the arrays only on the top row confuses me a bit ^^'
I totally agree!
This guy literally saved my hours , thank u so much I really appreciate your work .
Anytime Warrior thanks for supporting the channel brother 🙂
@@Beardgames hey can u make tutorial of how can we making them dragable :) if u don’t want no problem because u helped me enough :D
Great tutorial and easy to follow!
thank you for this awesome tutorial learned lot without too much confusion! finally managed to make my fully workin inventory system tyty!
Great tutorial, easy to understand and I learn a lot :D thx you.
Thanks for this awesome tutorial, that's helps me like really a lot.
once i finished making the demo of my game and the trailer i'll send it to you.
many thanks again for these awsome tutorial.
No problem at all my friend :)
TY SM its help me sm for my game and its pretty nice system ty !!
wow. Bro you should never stop making these videos Its perfect system and tutorial. Thank you !
Anytime Arif I hope it helped you out brother!
Holy hell dude. This is quality!
you make it easy to understand, awesome !
Really glad I could help :) i try my best to make things easy!
Great tutorial man keep it up i really appreciate it :D
No problem at all my friend😊👍
Thank you 🙏 you’re teaching is easy to comprehend and follow. This is a great help on my little project 😊
Always glad to help my friend :)
@@Beardgames hey friend, how can we limit the number of slots in our inventory ? like what if I only wanted to have 3 slots in a row instead of the 13 slots per row shown in this tutorial ? thanks
@@nierautomata9654 just delete the slot blueprint inside the inventory and change the background image :)
@@Beardgames thanks! Got it 😁
Damn you are good... you've just got a new follower :)
Thank you VERY much for this !!! I've learned a lot with you.
Thanks so much Tempest! Really nice knowing I'm helping people out there :) Thanks for supporting the channel!
i liked the video before starting, cause I was 100% sure, that this video will be really useful as the other tuts by beardgames
Really love the enthusiastic way you teach my man
Haha thank you dude! I find the camera work really hard. obviously I am super excited about teaching you guys but when the camera is on youre trying to express yourself in an exciting way without being too much or too boring is so hard haha. Thanks for the comment amigo!
@@Beardgames dont worry, i think youre doing great! maybe you could make a general video about casting, bp interfaces, event dispatchers, just ways to reference 2 or more and their functionalities :)
@@MadpolygonDEV thank you! I've actually done casting in my blueprint door video. In terms of interfaces I haven't really done much on then myself but maybe for a future video I'll go into them more :)
First pass mate looks good. cant wait to get home from work to run through it with my project.
That sax is rad! 🎉
TY i was stuck wounder what i was doing wrong and you cleared things up
No! Thank you so much for making this , I was about to give up , their was too much info , i I’m actually crying, thank you so much .
thanks a lot the ppl like u helps me a very lot to understand very clearly
For Anyone having trouble trying to get it to work on new maps or copied characters, in the details panel on the map (after you clicked on the chosen characterBP) Scroll down to the Pawn section, at the 'Auto posses player' set it to 'player 0'. It will all work after that.
This tutorial is great, Its really well done and I learned quite a bit. I would love to see how this can be integrated into your Flexible Combat System though, I have it ALMOST working myself. I am just having a tough time figuring out how to properly attach the weapon after clicking equip (from inventory) > spawning the new actor (weapon) and trying to attach it to the correct socket, keeps attaching upside down even though I have it positioned properly on the character skeleton.
At any rate, I look forward to your future videos.
That's so awesome you enjoy the content Blair thanks so much for the kind words! I'll be aiming to add on an inventory system similar to this one onto the flexible combat system if possible! Whether you get it or not hopefully the video I make with it will help you :) sorry I can't help you personally right now I'm just crazy busy with a couple things!
@@Beardgames Let us know when you can do a pawn switching rpg party member system (like final fantasy) that runs in either game instance or game mode so we can load different levels and still switch party members. (not running in level blueprint) as it will be destroyed when loading the next level..
The problem i have with pawn AI switching is the AI dosen't resume back its normal behavior
after unpossessing the pawn and going back again to my commander pawn..
Super useful tutorial. ty very much :)
Thanks for watching Blyzer :)
Holymoly, every inventory tutorial that I came across untill this one is just too complicated for a beginner even if the beginner had a programming background, but this one is just perfect.
Straightforward goal-orianted, and its makes a lot of sense, before I saw your 'Structure' file, I was just thinking made a database file manually by hand and then receive infos from it someway, xd
Haha thank you so much PAC really appreciate it! I tried to keep things real simple and clear as it's easy to over complicate inventory systems and they're a hell of a concept to get an understanding of. Thanks for the kind comment and supporting the channel🙂
Can you make a very basic tutorial using this inventory on how to equip and unequip items?
Took me hours to do this first video lol i think i could tell you what is where in the video with dead accuracy, tried a different way when i couldnt get this to work but found my way back to this nonetheless. Much appreciated
Good job Nick that's awesome to hear! I've been in the exact same situation as you in a different area when I was learning. It may seem stressful but what you've just undergone is a HUGE learning boost. The trick to learning unreal is doing exactly what you just did, go through the process and only move forward until you pretty much understand everything😂 so good job with keeping up with it man, keep up the good work 🙂!
Thank you for de tutorial!
Hello there, first of all thanks for your amazing tutorial. I do encounter an issue with this. About the item infoclass into the structure i can only select the health potion one. But the structure list doesn't show me my other consumables blueprints. So only my health potion work. How should i do about that ?
When you realise He doesn’t have a beard
Haha look at my YouTune banner😉
@@Beardgames oh my god sorry i did not see beard was supposed to be name😅
@@sirgwindortvinuel it's all good you're not the first to say it 😂👌
Real😂
really dope thanks man
No problem at all my friend :)
マジでありがとう大好き!!!
great vid, thx!
Anytime!
Thanks Man!
Hi, that's a very good system and thank you for explaining it in details. Would be awesome also to know how to do a save system on top of that so that everything that gets collected, stays in inventory after restart?
Hello! I migranted the inventary and Loot chést system . Is good for the consúmables ítem. What do you recomend to integrate equipable ítem like weapons or bombs. I have a weapon actor system but i cant intégrate totally. Thanks!
Amazing tutorial , but my slot image dont drawing well, just draw a grey box with item quantity , any idea what i do wrong ? have checked all the video again and dont find any mistake
Awesome video. Love the inventory. On to part 2
Love you man, fun fact next year we're 100% gunna get boozy at some point when I'm a famous CZcamsr
@@Beardgames keep up the hard work and you will be
@@Beardgames you are on very right track to be so ! Keep it up and looking forward for the new videos from you !
@@chankulovski haha thank you man, trying my best!
Great video thanks
I managed to take that first class but, I noticed a problem. if you interact with chest from the other class you cannot interact with the potions. Anyway again for sharing your knowledge with us, and on to part 2!
After watching a 2 hour tutorial only to find out it does not work anymore I have to say thanks for making this tutorial short and very understandable
No problem at all Meynse! thanks for the kind comment :)
This was so helpful! Thank you! I was also wondering - How to do it so the player will spawn with 3 hp potions already in inventory?
Hey! Thank a lot dude! This worked perfectly but one thing, is there a way I can make it so I can use the scroll bar instead of me showing the mouse? Like the inventory works on my UI but I have to press I to show the mouse so I can select items. Can you make it work with Scroll Bar on the mouse?
I use ue4, php and wampserver write a login system,but I have no idea how to use your inventory system connect to database,Can you help me?
THX bro !!!
I am having an issue with items appearing in the inventory UI. I picked up the Health potion and the first slot just turned white. The other slots for the other items don't appear at all.
Anybody have any tips for the fix?
Great Stuff !!
Thanks so much Ron :)
Thank u it worked well.
But the only problem I've got, I can't use Delay node at all after use item event!! Any solution please!
Really good tutorial.... And is a pleasure to hear someone speaking without Ummm Er so Hmmm every other word like many others Tutorials....
i wish there was a video using this with saving,adding another row adding scrollbars and swaping items with items or placing in another slot empty
22:00 from where did you get this default item info ? I don't have such a thing
ty so much
I'm having GREAT, IMMENSE difficulty from 22:00 onwards because the "ITEM INFO" doesn't appear (I'm using unreal 5 and I believe that's not the reason as the rest is working normally) and I can't connect to the "For Each Loop with Break" in the "array element" if you can help me....obs I've watched the video more than 5 times and it's only in this part that gives rise to this conflict
Thanks for the great tutorial, but for some reason I cannot get any variable reference which was shown on 21:58 . Can you explain how to fix it?
Why? is there event tick that let your potion and stuff rotate isn't there rotating movement in veiwport(idk if i was only one who heard him say that or i am dumb)
15:48 Can you not cast to Character. But instead pass the reference of interacting character from the Blueprint Interface?
Can this be modified for additional character inventories? I've been trying to add this system to NPC's in my game, I thought I could simply add a function to item event interact so that it also adds items to the inventory of the interacting character/actor but havent been successful. Anyone tried this?
Anyone else trying to hook this inventory up to the flexible combat system? Having a hard time getting the weapons to work with the inventory. I've tried copying the code in the potions into the sword of the flexible combat system, with no luck. The potions however work fine after copying the blue prints into the BP_character player.
So i migrated the files into another project, how do i activate them? when i press i nothing happens in not sure what to do???????????????????
Awesome tutorial and has been of great help. Although, I am having an issue where the input key to interact (E) isn't working.
Me too
*18:46 'get iteminfo' does not split, it says "cannot split the struct pin it maybe missing blueprint exposed properties"
how would you be able to convert that "overlapping actors" portion with a line trace? For example, doing something for a first person game, or for a system where a lot of items could be clumped together in a small space?
Aha; I actually figured it out while typing the comment.
Setting up a LineTrace by Channel, using the Break Hit Result node after the 'Out Hit' spot, and then converting the Hit Actor to an Array, that you then plug into For Each Loop With Break, creates the same result, except you're doing the function with a Linetrace instead of checking for overlapping actors. Perfect for a first person game.
Seriously so stinkin' cool. Tutorials like yours have helped me figure out how to do things like this on my own. It would've only been a couple months ago, where I would've had absolutely no idea what I was doing.
My array slot come empty i dont know why and and when i use for each loop immediately give complete
Basic scroll box mouse wheel overscrolling ?
THAANK YOUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU know i can make my DREAM GAME
Whenever I pick up an item, the slot widget will not update its image or text no matter what I do. I have print strings confirming the length of the array and displaying the item names in the inventory, but the SetItem function just will not update at all. I've been trying to solve this bug for the last week watching these videos and going through the project every day, but I can't get it to work.
Same here!! Please let me know if you find a solution!
perfect tutorial
The items only show up in my inventory when i pick them up while having the inventory open. Does anyone know why this is?
This is a great video, but doesn't there need to be communication with actors that once you've maxed out your inventory, they can no longer be destroyed? Otherwise you'll keep picking up and destroying consumables.
Hey I have a little issue with the system. I would like to be the description box to always be in a specific location. Problem is that the description box inherits it's location from the InventorySlotWG. Meaning every slot that I make will have it's description box sitting in a different location. Is there any way that I can lock the location of the description box and make it so that it doesn't inherit it's location from the InventorySlotWG?
I have tried looking into this myself but I seriously cannot find a single solution online :/
Hey amigo! So the description's location is based on the InventorySlot like you said, you should be able to move this around wherever you want, just move the description box inside the widget to a location which is good for you. I just chose the top of the item because that's what most games do :)
I’m sooooo stuck I don’t even know how to put the stuff in I’m new to it but I have a good amount of stuff and want to move up to this I followed the chest video too
Hey, I'm really appreciating this tutorial. I have a huge request though: How can I set up the Inventory menu to also use arrow keys to switch between inventory slots and menu options? I want to make my game console-compatible, and I know how to set up controller inputs to match what arrow keys do and all that, but I don't know how to have it move between the different menu/slot options. Any suggestions or leads on how to learn this?
i havn't yet tried it but if you give each inventory slot a number starting 1 with the top left and increasing horizontally then say you press the right arrow button then it will increse the slot number by 1 and if you press the left button you would decrease the number by 1 also when you press the top arrow button you could subtract by 5. hope this helps
@Beardgames My inventory doesn't seem to add the images to the slots. I had my own inventory, which I added the code to, but it isn't showing any images. Why is that? I will gladly talk over email if needed.
Did you find a solution to this ?
@@GR_Pro Nope. I tried multiple times, nothing.
hi there where do i find the bug fix video
Does the inventory data save in Game instance cache?
15:35 this video could use a UE5 up date, (Add to inventory) wouldn't pop up for me and many other things are now slitly different in UE5, plus I bet you have improved your skills since this video
i like the bg music, adobe stock XD
How do I change icon for a new potion
i dont have those custom events at 14:33 (im making an inventory from scratch.)
Great Video man. But i got a problem. So whenever I pickup an object while keeping the inventory open, the selected image is shown but as soon as i close it, it goes back to being blank. Any solution?
Hmm I'm not too sure dude! The way the inventory works is that it adds it to the inventory regardless of if the inventory is open. Would need some more details, drop me another message if you can't figure it out after a rewatch :)
So greatful tutorial !! but i have quetion dude. When The Potion was set my inventory, Open the Inventory and just click. So this situation is to USE/DROP Button can be visibled. But When I try to toggle with Inventory, The USE / DROP button already stay in my inventory and It doesn't disappear forever. This is kinds of huge bug... How can i fixed it? Any Advised?
I just set nodes with collapse or Remove Parents at my Character class (using Inventory Value) but It occurs Error " use hud is None in the widget "
I've solved this issue using " HideAllUse/DropMinus" Function in the Inventory_slot WG. You can set this function before you close the inventoryWG "Remove from parents"
i dont open this file in Unreal 4.24
Can you tell me which version?
I'm trying to make a building system that's a mix of Halo Reach's forge menu and Minecraft's placement
hey, this is a fantastic tutorial but when trying to add my own interactable item, iteminfo only allows me to use itemclass health potion. how do I set it to a custom item class?
Hey Lux! You can actually change this to actor, we go over this in the bug fixes part if that helps :)
@@Beardgames that solved my problem. Thank you!
THX
How do I replicate my character picking up the potion? I'm developing a multiplayer game, thank you so much for this!
did you make it?
hello can someone tell me if i can use weapons with it ?