Unreal Engine Inventory Tutorial: Storage System

  Рет қаралды 4,568

Seredias

Seredias

Күн бұрын

Пікірлер: 61
@Seredias.
@Seredias. 2 жыл бұрын
Unfortunately I forgot a very important Part. So here we go: 1. Go to the "Create Inventory" Function. 3:53 2. Right after the Begin of the Function and before the For Loop, get the Grid_Storage. 3. From the Grid_Storage call the "Clear Children" Function.
@Rizz0NLGaming
@Rizz0NLGaming 2 жыл бұрын
Dude its fixes the problem :) Great!!! Thanks for taking the time to find the problem!
@holytrashify
@holytrashify 5 ай бұрын
To think that someone first came up with this system on their own is unbelieveable...
@zeitensaalstudios1
@zeitensaalstudios1 11 ай бұрын
Thank you very much for the series, i use this in my project. I would like to see a follow up Tut with the storage unit and inventory, i can only take something from the storage if i have enough coins and sell from my inventory aswell. This means a object need to have a coin value. Basicly the mechanism from Fallout 4 Traders. Another cool thing would be to collect a x amount of a object and get a Widget message/ a quest is finished. Another thing would be to put two different icons from the inventory to the workbench and get a totally new icon and object by combining those two
@pqwerty4720
@pqwerty4720 Жыл бұрын
very good tutorial as always, in this one I have a doubt, how can I do so that when changing the map the chests keep everything saved as in the inventory? should I copy what was done previously in the item_class and create a storage variable (array) in myinstance instead? thank you so much again
@Seredias.
@Seredias. Жыл бұрын
Don't worry this will be Part of the Series. More like a Game Save System. But thanks for the hint, I didn't thought about this.
@pqwerty4720
@pqwerty4720 Жыл бұрын
@@Seredias. then I'll look forward to those tutorials, I'm glad to have served as a guide, although I'm not very good at blueprints (programming) I'm glad I wasn't too far off track.
@송승현-y5f
@송승현-y5f 2 ай бұрын
I'm using Unreal 5.2 right now In my case, if I go back to the inventory from the warehouse There are times when it's possible, but there are many times when it's not possible. If it's not possible, there are many error messages in the message log It's coming out. What's the problem The error message was about to lose grid properties I approached none Update Shape Transformation Graph to Node Item Slots Inventory Function Update inventory Blue print inventory It's coming out I added it at 3:50 that you told me in the comments
@Seredias.
@Seredias. 2 ай бұрын
@@송승현-y5f If you get the Error Message None, then you didnt connect the Grid Variable at some point.
@송승현-y5f
@송승현-y5f 2 ай бұрын
@@Seredias. In the on-drop function Get widgets to character transformation I took the grid and connected it to the update inventory I think it's working normally after this?? Is this right?? And if you're connecting the grid I don't know if you're connecting grid storage
@kingwrightdev
@kingwrightdev 2 жыл бұрын
This is a great series! Thanks so much for making this. I was curious about something. In order for cleaner blueprints, instead of doing 'Get Game Instance' -> 'Cast to MyInstance' (same thing with the player characters) could I set the game instance as a variable set to an object reference and THEN get what I need from that object?
@kingwrightdev
@kingwrightdev 2 жыл бұрын
I tried it and it looks like it is doable, but I didn't know if there is a specific reason to do it this way.
@Seredias.
@Seredias. 2 жыл бұрын
The Problem is that you create a copy. So it will not be transferred to the Game Instance.
@kingwrightdev
@kingwrightdev 2 жыл бұрын
@@Seredias. Ahh that makes sense. Okay thanks for clarifying!
@kingwrightdev
@kingwrightdev 2 жыл бұрын
One problem I'm noticing is that the first item that I created (a pomegranate) seems to overwrite the second item I created (a strap) when I move it. EXAMPLES: I move the strap over the pomegranate - the items swap I move the pomegranate over the strap - the strap gets overwritten I pick up the pomegranate and then the strap - my inventory gets populated with both I pick up the strap first and then the pomegranate - the pomegranate overwrites the strap. I've gone through the move function twice and can't find any differences. Though, I am using 5.0.3. I haven't had any issues using this version during this tutorial. I'll go through it again and see if I can find any issues.
@kingwrightdev
@kingwrightdev 2 жыл бұрын
Holy shit. Just got it working. Turns out I didn't have the 'Valid' boolean checked for my second item. So much time wasted looking in the wrong place. xD Oh well. Learning experience!
@MrPangahas
@MrPangahas Жыл бұрын
is the storage box persistent,if i die and.respawn restart the level do the items.save on load?
@Seredias.
@Seredias. Жыл бұрын
There for you need a Save Game Object. I explain that here: kzbin.info/www/bejne/gYWwi59ui6-tmassi=yTU-5BxqlTK5F2AU
@MrPangahas
@MrPangahas Жыл бұрын
@@Seredias. thanks will take a look at it,basically I need to save data for tje objects I place onthe storage box?
@Seredias.
@Seredias. Жыл бұрын
@@MrPangahas Basically you need the Storage Item Array as well inside the Save Game Object and call the Save Function whenever you Interact with the Storage. Than on BeginPlay you load the Storage Items back into the Storage.
@trypresident
@trypresident Жыл бұрын
when i close the storage the item disappear how do i fis item staying in storage an quick question how do i replicate this storage so other people can see whats in side so if they raid a base they can steal whats in side
@Seredias.
@Seredias. Жыл бұрын
Did you follow the steps that I wrote here in the Comments?
@trypresident
@trypresident Жыл бұрын
@@Seredias. yes i ended up reading the commemts an found were u help someone an it hlep me to
@trypresident
@trypresident Жыл бұрын
@@Seredias. but now i wanna know how can i replicate the storage for multiplayer
@Seredias.
@Seredias. Жыл бұрын
@@trypresident That is way more complicated. I will try to include that in the Series.
@KarolinaRGameDesign
@KarolinaRGameDesign Жыл бұрын
I have a problem with chest, when I interact with it by pressing interact button the widgets just show up for a sec and disappear and I cant figure it out what Ive done wrong
@Seredias.
@Seredias. Жыл бұрын
Just for testing, try to unpin the "End Overlap Event" of the "Storage_Class". If the Widget stay visible, try to move the Box collision of the chest and make sure the character can stay inside the box. Than connect the "End Overlap" again.
@BismutoEnclenque
@BismutoEnclenque 2 жыл бұрын
nice tutorial dude i really like how you explain ecerything, but im having some problems with the code, first of all when i drag an item out of my inventory to drop it, the item will drop but the icon on the inventory will stay there, icant drag it again but anyways it stills there and only dissapears if i drag it into another item slot this is the error that jumps after ending the game: Blueprint Runtime Error: "Accessed None trying to read property Grid". Node: Cast To Item_slot Graph: Update Inventory Function: Update Inventory Blueprint: Inventory .And the second thing is that when i drag an item into the chest the close the chest and reopen it the item has dissapeared on the chest.
@Seredias.
@Seredias. 2 жыл бұрын
Oh I am sorry, that is my fault. I forgot to set the Grid for the Drop Function at 5:30. And for the second question, did you change the Level in the meanwhile or is it directly empty?
@BismutoEnclenque
@BismutoEnclenque 2 жыл бұрын
@@Seredias. i didnt change the level i just put the item inside the chest, then close it, reopen the chest and then the item has dissapeared
@Seredias.
@Seredias. 2 жыл бұрын
@@BismutoEnclenque Okay that's what I thought. Could you print the Storage Length at 12:20 to see if the Storage is really empty?
@BismutoEnclenque
@BismutoEnclenque 2 жыл бұрын
@@Seredias. okey i think i fixed something now the issue is that when i place a object in the chest and then close the chest and reopen it the item turns like grey, the texture glitches a little bit and i cant grab the item anymore but if i take another item and replace it with the item i have on the chest, the item i placed in first place unglitches but the item that i used to replace it with the first item bugs like the first one, if you dont understand this i can send u a pic on discord real quick
@Seredias.
@Seredias. 2 жыл бұрын
@@BismutoEnclenque Okay lets go to Discord
@mysticx6226
@mysticx6226 2 жыл бұрын
can you make a tutorial for item usage? like if you have a sword click it and equip it or something like that
@Seredias.
@Seredias. 2 жыл бұрын
This will be Part of the Series.
@nassergreatdeveloper3745
@nassergreatdeveloper3745 2 жыл бұрын
THANK YOU SIR, COULD YOU PLEASE MAKE tutorial ABOUT HOW TO MAKE INVENTORY HAS ITEMS WHICH I CAN USE IN PUZZLE.
@chrystalphoenixassassine3204
@chrystalphoenixassassine3204 2 жыл бұрын
an error occurs when i open the storage and try to drop the item, it doesn't work, only when i put the item back in the empty slot is it dropped. the error then comes with the cast item_slotUi
@Seredias.
@Seredias. 2 жыл бұрын
What does the Error say?
@chrystalphoenixassassine3204
@chrystalphoenixassassine3204 2 жыл бұрын
@@Seredias. Accessed None trying to reas property grid ..... Blueprint : inventory_UI Function: Update Inventory Graph : Updateinventory Node : Cast to Item_slot_UI
@Seredias.
@Seredias. 2 жыл бұрын
@@chrystalphoenixassassine3204 So you have to set the Grid for the Update function.
@DJMarsden81
@DJMarsden81 2 жыл бұрын
@@chrystalphoenixassassine3204 Did you get this working? I'm getting the same error but can't seem to fix it
@DJMarsden81
@DJMarsden81 2 жыл бұрын
NVM I somehow didn't set up the SetArrays function properly. It works great now. Thanks for the tutorials, looking forward to future parts!
@adrianlopezayala281
@adrianlopezayala281 Жыл бұрын
Hi teacher, I literally did all steps two times and the storage inventory doesnt appear when I'm close to it, I dont know what is happening, even I did the step that you mention in the comments
@Seredias.
@Seredias. Жыл бұрын
If you want, you can join the Discord, so the community can check what the Problem could be.
@adrianlopezayala281
@adrianlopezayala281 Жыл бұрын
@@Seredias. thanks! I leave muy problem in the discord
@eatall510
@eatall510 11 ай бұрын
Can I skip this section if I don't want a storage system?
@Seredias.
@Seredias. 11 ай бұрын
Yes, since its modular you can skip the Storage Class
@eatall510
@eatall510 11 ай бұрын
@@Seredias. Thanks for reply ^-^
@chrystalphoenixassassine3204
@chrystalphoenixassassine3204 2 жыл бұрын
thx nice :))) comes another tut how to fill up with portion hp and mp
@adrianlopezayala281
@adrianlopezayala281 Жыл бұрын
I'm having a problem with storage, I can't move items from inventory to storage and viceversa like you, it looks like the index of the inventory is in conflict with the storage or I don't know wtf is happening, I watched the tutorial like 3 times jajajaj
@Seredias.
@Seredias. Жыл бұрын
Important for that is the "Move Item" Function and the "Set Arrays" Function. 15:10 What happen exactly if you try to move them?
@miroux7494
@miroux7494 Жыл бұрын
You forgot to call Interact fonction
@Seredias.
@Seredias. Жыл бұрын
Do you mean the Interact of the Chest? 9:58
Unreal Engine Inventory Tutorial: Stack Amount / Backpack
9:39
How to Make a Simple Inventory System in Unreal Engine 5
23:00
Gorka Games
Рет қаралды 113 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 297 М.
Unreal Engine 4 - Inventory System Tutorial (Free Download)
27:52
UE5 - Data Storage Using Object Class
26:36
3 Prong Gaming
Рет қаралды 8 М.
HOW TO DRAG AND DROP WIDGET | Unreal Engine Tutorial
19:25
The Average Dev
Рет қаралды 16 М.
How Much Money my Mobile Game Made (After 1 month)
5:24
SimonKv GameDev
Рет қаралды 1 МЛН
How to create Modular and Scalable UI systems in Unreal Engine
19:15
Unreal Engine 4 Tutorial - Inventory System - Part 5 - Chests
12:39
3D AI Model Generation is Getting GOOD - UE5.4 Unreal Engine
12:25