Unreal Engine 5 Tutorial - Inventory System Part 3: Item Data Component

  Рет қаралды 61,538

Ryan Laley

Ryan Laley

Күн бұрын

Пікірлер: 73
@HalValla01
@HalValla01 9 ай бұрын
You know that moment when you watch a tutorial and discovering something within the tutorial you weren't looking for? I had no idea about the "Format Text" node. Definitely will be using that one going forward
@NoahBelstad
@NoahBelstad 6 ай бұрын
if your get item data component returns a Item id insted of a data table and row name then use a break datatablerowhandle to break it apart into the correct values
@kiyawnstudio
@kiyawnstudio 2 жыл бұрын
Thank you for doing this series! This has been very helpful!
@duanefalcon6284
@duanefalcon6284 4 ай бұрын
This is the best Inventory System Tutorial I have seen. I understand keeping the time limit, but some of the more advanced ideas being explained would be extremely helpful. I will definitely be supporting your page and checking out your private sessions for a better understanding of more advanced concepts.
@davidkotan8769
@davidkotan8769 Жыл бұрын
Good OOP and "how to think " tutorial, not just running after the steps... You are the a good teacher keep it up!
@takengrace
@takengrace 3 ай бұрын
I ended up moving my LookAt Script where we get the item name and send a message to the ItemDataComponent inside a function instead. That way I can add more items into the game and I just need to call the function from ItemData and I don't have to do that script inside every item I create
@commandconquer5338
@commandconquer5338 8 ай бұрын
Ryan, our hero! All heil Ryan!
@kup_guitarplayer
@kup_guitarplayer Ай бұрын
Unless you pump up your skill and see the bunch of bugs he's doing...
@DryComdy
@DryComdy Ай бұрын
@@kup_guitarplayer buddy I follow his tutorials and get good results. And bugs are just opportunities to understand the code / blueprint better.
@JambazouneMazoune
@JambazouneMazoune 6 ай бұрын
Nice Tutorial Been Following_Since Inventory part 1 GG bro
@alex-qn5xp
@alex-qn5xp Жыл бұрын
Brilliant stuff as always.
@DeFrozen
@DeFrozen Жыл бұрын
my return node at 7:06 says name not message what am i missing?
@mrh8984
@mrh8984 4 ай бұрын
Great series, I think this will be the tutorials I watch and implement. Can you add data from the data table to the object? Like the name of the object on the box, or a number value from the data table?
@lespaul1507
@lespaul1507 11 ай бұрын
How important is the row name, bc it doesnt show up for me on 5.3 Before I go further, would be nice to know if this will still work?
@obissyanna
@obissyanna 9 ай бұрын
I had this same issue, make sure when you go to your Variables in ItemDataCompnent, that when you make your ItemID "Data Table Row Handle: And not just "Data Table" that should give you the option to edit row names in your Item ID Data Table
@noahlederer8587
@noahlederer8587 2 жыл бұрын
Hey, great Series! The intro sound is always a bit too loud tho xD
@MikeMoss-xc8zm
@MikeMoss-xc8zm 4 ай бұрын
Any one else having a problem when you have the test item, the item id is not showing for me on the right in the details panel
@killerconman311
@killerconman311 Ай бұрын
me! Did you every figure it out?
@GoatCliffs
@GoatCliffs 13 күн бұрын
@@killerconman311 @evgenyamorozov 1 year ago "Inside ItemDataComponent for both variables ItemID and Quantity you have to check two boxes: 'Instance Editable' and 'Expose on Spawn'. He makes it only visible by clicking on eye icon, which turns on only Instance Editable." - From another comment, hope this helps!
@NuhgitKyng
@NuhgitKyng 11 ай бұрын
Has anyone tried to implement this for multiple data table's for different item's? i can't seem to figure it out. Also @ryan if you ever get the chance to maybe drop a brief description even of how i could go about this, i would be very appreciative. I'm pretty sure the beggining of it lie's at 5:00 where you only reference the one specifically, i'm trying to figure out how to dynamically call different data table's, and break the info from there. The reason being is i want a DT for "Wep, Arm, Items" so they don't get muddled I feel like i understand it but i'm having a hard time.
@oostenmusic
@oostenmusic 11 ай бұрын
I'm having the same problem, I can't figure out how to make the hotbar a separate inventory either. This inventory system is driving me nuts
@NuhgitKyng
@NuhgitKyng 11 ай бұрын
LOOOOOL, i feel you bro, this stuff is confusing, i'm trying to understand however it's confusing, i have an IDEA of how to use multiple data table's, however i conceded and just went with one for now. You can use a switch on name, and there's other complicated thing's involved, however i did not try to make a hotbar. Im guessing you could Make a widget, a Horizontal box and throw in the "inventory grid" and hook up a few thing's from content however it's most likely more in depth than that. @@oostenmusic
@oostenmusic
@oostenmusic 9 ай бұрын
@@NuhgitKyng I just wanted to update and say I figured it all out. You would simply make a new data table for equipment and use the same exact ItemID that you use in your base inventory DT. From there you can "get data table row" for whichever item variables you need without cramming them all into one. To make the hotbar a separate inventory as well, you have to make a separate component with an array and all of the same logic as your inventory system, with more checks and balances to make sure items are duplicated and they're properly moved from slot to slot.
@AdisonGaming.
@AdisonGaming. 5 ай бұрын
After those changes I keep getting multiple messages not just one. Although it was woeking for me fine before this episode. UE 5.3.2 can someone help??
@Jonas-sg1eo
@Jonas-sg1eo 5 ай бұрын
If you have 1000 Items how do you go about setting default function so each actor type item would display its name without need to do same function in each item
@automat64
@automat64 2 ай бұрын
Create a blueprint class with the default function and have your other blueprints inherit from it
@MagistrTheOne
@MagistrTheOne 10 ай бұрын
Thx
@ademkoluk5047
@ademkoluk5047 Жыл бұрын
Thank you so much
@BlueBeatsChannel
@BlueBeatsChannel Жыл бұрын
i have a problem at 4:10 stacksize is there but it wants a asset file insread of a number and i made the it was a int. can someone help me
@hawkstrider1626
@hawkstrider1626 Жыл бұрын
Hey bud did you ever find a solution?
@BlueBeatsChannel
@BlueBeatsChannel Жыл бұрын
@@hawkstrider1626no. i gave up on it. i might work on my own system though
@killerluuk
@killerluuk 7 ай бұрын
Whenever I click NewRow none of the description/2d stuff shows up and I cannot get it to show up. SOmeone pls help
@JRaptor2000
@JRaptor2000 Жыл бұрын
My editor is missing the option to select the row from the data table I want to assign my Test Item. Using latest 5.1.1. Anyone?
@danielridge6000
@danielridge6000 Жыл бұрын
Make sure you compile and size ItemDataComponent, ItemData, and TestItem.
@Codigo0x
@Codigo0x Жыл бұрын
Im having the same issue, did u solve it?
@evgenyamorozov
@evgenyamorozov Жыл бұрын
Inside ItemDataComponent for both variables ItemID and Quantity you have to check two boxes: 'Instance Editable' and 'Expose on Spawn'. He makes it only visible by clicking on eye icon, which turns on only Instance Editable.
@winkshi4494
@winkshi4494 9 ай бұрын
thx @@evgenyamorozov
@infumiinations1311
@infumiinations1311 10 ай бұрын
At 7:20 my format text doesn’t bring up the item pin.
@Supafly6420
@Supafly6420 8 ай бұрын
You need to press enter after you typed "pick up {item}"
@ExopackVFX
@ExopackVFX 8 ай бұрын
same issue here, i tried pressing enter but no new pins are generated on the Format Text node. I'm using 5.2.1
@doctorbognor
@doctorbognor 5 ай бұрын
for anyone else struggling with this, use {} not () hope this helped!
@jackchristian214
@jackchristian214 4 ай бұрын
@@doctorbognor thanks a lot that helped me : }
@darkmessiahyt
@darkmessiahyt 11 ай бұрын
Item data component doesnt show up after being added
@Maguadog
@Maguadog 7 ай бұрын
this?
@lukaerikss97
@lukaerikss97 3 ай бұрын
@@Maguadog You made an Actor and not an Actor Component maybe?
@nubstex
@nubstex Жыл бұрын
Your intro is too loud, but video is amazing
@rafaelfernandez9333
@rafaelfernandez9333 Жыл бұрын
Anyone face this error: "Text is not compatible with Name" while trying to connect nodes from Format Text to Return Node at minute 07:19??
@rafaelfernandez9333
@rafaelfernandez9333 Жыл бұрын
Already found a solution here: kzbin.info/www/bejne/lZ6QY5aobKhphZY
@emperorscotty
@emperorscotty Жыл бұрын
Hey important! Can you make a video summarizing everything you need to do every time you make a new item to add to your inventory. I noticed that you explain that across multiple videos in the series but can you make a separate video just talking about updating the inventory So I don't have to re watch the entire series to add a second item. I might forget something like going into the item data and setting the data table.
@OzoneEN
@OzoneEN Жыл бұрын
Wasnt there a different series for this? I started with a tutorial that featured a carrot?
@cmivey1234
@cmivey1234 Жыл бұрын
For some reason my Item Data component is throwing an error "Accessed None trying to read property" error on the component in the testitem bp...not sure what is going on Any ideas?
@cmivey1234
@cmivey1234 Жыл бұрын
I think I figured out why...just not sure how to fix it...I have a menu that pops up when the game starts and then it goes to the first actual map. If I start from the menu then I get the error...but if I start from the first actual map...all is well...is there a way to transfer that?
@dr_pennysworth
@dr_pennysworth Жыл бұрын
@Ryan Laley This is a nice tut but there is an issue with what your teaching them. The inventory can only ever have 1 stack of something because map keys are unique and if your using an items name as a key you can never have 2 of it. so once you reach the stack size of an item in the inventory that is it it wont be able to have another stack of that type. An alternative would be to have a struct with only relevant inventory item info. The data table name, quantity for my system i used a guid so each item even if its the same type can have a uniqe id. You can then make an array of that item data struct. and can remove and swap items using the guid.
@DangerFishing
@DangerFishing Жыл бұрын
Mine worked fine with auto creating new stacks, i got through most all of the tutorials and had it so duplicates of the same item will fill to slot max then create a new slot. Im just having an issue now of picking items up as the client and not the server
@dr_pennysworth
@dr_pennysworth Жыл бұрын
@@DangerFishing Seem interesting that works since maps need unique keys. Also if you mean you need the client to run code then you should look at using custom event and set its replication to use run on server so if its a client it will ask the server to do things for it. This is the most safe way to do multiplayer, make the server do everything and it will replicate to the clients. the only things clients should do for them selves is handle there own UI and other client only visual stuff.
@Rehd66
@Rehd66 Жыл бұрын
Don't waste your breath. He never answers anyone and "teaches" you like you've been a master for years already
@MilitaryRaptor
@MilitaryRaptor Жыл бұрын
Do you think you could give information on how to do that or provide some links on how to do that please?
@SamanthaNicholls-xc5dm
@SamanthaNicholls-xc5dm 2 ай бұрын
The Format text bs doesnt work lmao 7:20
@Levita_
@Levita_ 8 ай бұрын
6:12 I just get an error that says: 'cannot split the struct pin ,may be missing blueprint exposed properties'. What an infuriating program. LBP2 did gamedev better smfh.
@timmeh67
@timmeh67 2 жыл бұрын
only complaints so far (three parts in so not the worst ) which i hope doesnt continue. you have us create "item data table" in previous tutorials, then there are alll these extra blueprints FItemStruc FSlotStruc ETC and now the item data table is gone and you just have item data
@Ser0zine
@Ser0zine Жыл бұрын
What you on?
@napstablook5757
@napstablook5757 Жыл бұрын
@@Ser0zine As he said, The Datatable used in this 3rd part is different from the one he created in the earlier tutorials of this series.
@BlueBeatsChannel
@BlueBeatsChannel Жыл бұрын
@@napstablook5757 i have a problem at 4:10 stacksize is there but it wants a asset file insread of a number and i made the it was a int. could you help me? im new to this part of unreal
@alex-qn5xp
@alex-qn5xp Жыл бұрын
Maybe pay attention? I had no issues following the series.
@davideantonioperugino4718
@davideantonioperugino4718 Жыл бұрын
Why my "Interact With" interface won't be yellow like yours? kzbin.info/www/bejne/inzXp5qIirmoq6M
@johnjokoty3153
@johnjokoty3153 Жыл бұрын
"A Juicy Fucking Red Apple" 🤣🤣
@gamericon5700
@gamericon5700 Жыл бұрын
he didnt even say that though
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
How To Make A Simple Data Driven Dialog System In UE 5
9:57
Crazedmonkey231
Рет қаралды 332
De-Mystifying Inventory Systems - Unreal Engine 5 - Part 1
29:05
DarkslayerTV
Рет қаралды 6 М.
Slot Inventory Tutorial Part 3 - Unreal Engine 5.4+
14:04
Lisowi
Рет қаралды 2,7 М.
Unreal Engine 5 Tutorial - Inventory System Part 6: Widget Setup
18:29
Unreal engine Inventory Course - FREE Full Course
3:56:36
The Game Dev Cave
Рет қаралды 6 М.
Basic Inventory: Picking Up & Dropping Items In Unreal Engine 5
44:18
BuildGamesWithJon
Рет қаралды 66 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН