Building an Inventory System #5: Pickups - Unreal Engine 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2020
  • So far we've been setting up our inventory to show and display what is added to it, but the act of acquiring that data doesn't look very pretty! Let's set up a flexible pickup blueprint that will lay the foundation for many of our future features; The Pickup
    Asset Packs:
    Advanced Village Pack - www.unrealengine.com/marketpl...
    Craft Resource Icons - www.unrealengine.com/marketpl...
    --------------------------------------------------------------------------
    Social Media:
    Twitter - / somecronzaguy
    Audio editing by the amazing:
    - www.jonathanevans.me/
    - linkedin.com/in/jonathan-evans-a74979b9
  • เกม

ความคิดเห็น • 54

  • @thirdlaxe7048
    @thirdlaxe7048 2 ปีที่แล้ว +6

    I hope you continue this kind of tutorials. I really learned a lot in short time. You made it so neat and modular. Thank you very much for this.

  • @hcfgod4205
    @hcfgod4205 3 ปีที่แล้ว +6

    plz finish this system bro i need this so bad hahahaha
    Thank you keep up the good vids man

  • @llamadohgaming6787
    @llamadohgaming6787 3 ปีที่แล้ว +1

    I have followed practically every ue4 inventory tutorial on TH-cam. This one is by far the cleanest and most well thought out. I sincerely hope this series gets finished, with the very least being the drag/drop, and external storage like chests. Amazing work,friend.

  • @trinity0002
    @trinity0002 2 ปีที่แล้ว +1

    You are the best Unreal Engine teacher I've seen in TH-cam And I've seen a lot.. You made something complicated simple. You broke it down to its fundamentals, I wish that you've created a series on making a game in its entirety, saving, quest, combat, at the end saying Cronza :"that's how you make a game", even though you didn't finish this tutorial because we haven't yet able to interact with the inventory, see the flavor text, dropping function. I am grateful for your teachings. I hope more people see your videos and have you continue making videos for us. I cant do much but comment and like the video, But sincerely thank you.

  • @cheesewhisk
    @cheesewhisk 3 ปีที่แล้ว +5

    Absolutely one of the best inventory system tutorials out there, fantastic, thank you.

  • @AvB.83
    @AvB.83 ปีที่แล้ว +1

    That was a journey... thanks, learned a lot and I'm still trying to figure out half of it (it works, but I'm not exactly sure how and why). The hardest part will now probably be to implement the tooltips widget (edit: nevermind about that, figured I'd rather do that in the slot widget than having to figure out how to put the information into another widget and then update that widgets visibility from the slot widget...), dragging & dropping.

  • @ScottDalylives
    @ScottDalylives 2 ปีที่แล้ว +2

    Just finished the whole series, really amazing work, appreciate this so much!

  • @SticksNJones
    @SticksNJones 3 ปีที่แล้ว +2

    Fantastic video series! I highly recommend this channel for anyone who has some experience with Unreal and wants help understanding more concepts.

  • @KibaGVlogs
    @KibaGVlogs 3 ปีที่แล้ว +1

    Take my sub Sir!! This tutotorial was incredibly clean and optimized!

  • @MrShadowOficial
    @MrShadowOficial 3 ปีที่แล้ว +3

    Best tutorial maker out there, please, please, continue with your work on teaching us to build our own games, simple, easy and straight to the point, THANK YOUUUUUU Edit: Subscribed! :D

  • @nocommentary3850
    @nocommentary3850 3 ปีที่แล้ว

    Thanks these tutorials! Your videos are very helpfully!

  • @TheST150
    @TheST150 3 ปีที่แล้ว +1

    Let me start by saying thank you for such a great series. I am a total noob to Unreal Engine and also game development. Your videos are really well made, there is no time wasted and the flow is easy to follow. I am already seeing all the underlying potential in the system you are creating.
    I have managed to move the pickup input event(as an input action) to the character controller using an interface that sends a message on the overlap events. The object is then stacked(using add unique) in an array ready for pickup. If the overlap ends its then removed from the array. This also covers being picked up as the overlay end event triggers when the object gets destroyed. This way I can have a pile of pickups all together and then just spam pick them up in the order they overlapped.
    I also changed the BP_pickup BeginPlay event to only update the weight of the item. I now update the NamePlate on the overlap event so that it can be brought in from input settings action mapping (so if the player rebinds the interact key they wont get the wrong prompt).
    I managed to get to this tutorial with only a few minor hiccups which I was able to find where I went wrong. All items go into inventory correctly and remove no problems.
    But there is one major thing I just can't figure out though. When ever I "Thanos the world" (change maps) and then Initialize the inventory again I see that the cached slots are present, but the information for them is all empty/none. Also if I bind a keypress event to loop through the inventory data, it always has the correct amount of slots but there is never any information in them.
    Would there be any chance you would know why?

    • @TheST150
      @TheST150 3 ปีที่แล้ว +2

      Ok I have now gone over everything again and the conclusion I am coming to is you haven't yet shown us an "save inventory" function that sets the information in the game instance InventoryData array as we only ever update the slot information object?

  • @gitarrtoken
    @gitarrtoken 2 ปีที่แล้ว

    Would love to see some more of this! Thank you for the tutorials!
    Maybe multiplayer support? Procedurally spawning these items? Moving items in inventory, using items etc.

  • @henningx1374
    @henningx1374 3 ปีที่แล้ว

    Thank you very much.
    I really appreciate such good explaining tutorials.

  • @eligijuspranskunas3509
    @eligijuspranskunas3509 2 ปีที่แล้ว +1

    Nice! Please continue, to make with mouse drag drop, and to move in to action bar tools

  • @ryanbayley6139
    @ryanbayley6139 3 ปีที่แล้ว

    Great content. Thank you !

  • @aaronandrews5731
    @aaronandrews5731 2 ปีที่แล้ว

    Hey you have to put out some more content man love these good detailed tutorials. I'm making my first game and people like you are my educators lol.

  • @mist3rtrixt3r
    @mist3rtrixt3r ปีที่แล้ว +1

    Is there more to the series? I didn't see how to drop item from the inventory except during the testing phase. Also, what about adding opening and closing the inventory widget? Did I miss a whole video?

  • @LiMiT1337oO
    @LiMiT1337oO 3 ปีที่แล้ว

    thank you for this awesome tutorial so far !
    I would like to see this working for multiplayer Clients and additional inventory widgets for opening a chest or sth. like this.

  • @markymarcdabro
    @markymarcdabro 3 ปีที่แล้ว +1

    I was thinking if you changed InventoryData to an array of inventories you could add a function to the game instance to return an inventory based on an object you're getting the inventory for and that would expand this to giving other objects inventories also. Love the tutorial so far man keep it up!

  • @zeelock2926
    @zeelock2926 2 ปีที่แล้ว

    You going to be doing more videos? It’s really good.

  • @Dire-Locke
    @Dire-Locke 2 ปีที่แล้ว +1

    Will you finish this tutorial series?

  • @Restart-Gaming
    @Restart-Gaming 3 ปีที่แล้ว

    great video you should add a crafting set up for this inventory I already have a inventory setup can I use this like the pick up parts? thanks

  • @OmegaMouse
    @OmegaMouse 3 ปีที่แล้ว

    Question - How do you make the slot items mouse draggable to other slots? I followed an older tutorial years ago similar to this, but this feature was broken in updated Unreal versions.

  • @dr.quantumus5059
    @dr.quantumus5059 2 ปีที่แล้ว +1

    Bro... This is amazing. You're tutorials helped me a lot ! But what happened to the drag & drop?

  • @taihongwang1232
    @taihongwang1232 3 ปีที่แล้ว

    Thank you for the tutorial, will it have a hotbar where could triger by the hotkeys?

  • @coffee-coco
    @coffee-coco ปีที่แล้ว +1

    is there a way to hide it and unhide?

  • @chrischaos6669
    @chrischaos6669 3 ปีที่แล้ว

    Awesome Tutorials! Maybe an Equipped items Tutorial soon to go with this?

    • @chrischaos6669
      @chrischaos6669 3 ปีที่แล้ว

      Also would like to see a item carry weight like if you go over your carry weight your walk speed is reduced. i can pretty much figure this out for nonstackable items but adding weight on stackables is a little tricky lol

  • @zoltantoth6015
    @zoltantoth6015 ปีที่แล้ว

    Hi Cronza thank you for the great tutorial I love it! I have a smaller issue for some reason I cant get my UI to update and pass the info to the Inventory system everything else works perfectly.

  • @bighit20100
    @bighit20100 3 ปีที่แล้ว +3

    Awesome! Please do drag and drop functionality + Drag off the inventory to drop on the floor and then be able to pick it up again. Also curious how can I add for example chests with their own inventory, while reusing the code? Is this possible or do i need to rewrite things a lot?

    • @CultivationPath
      @CultivationPath 3 ปีที่แล้ว +1

      it's that much work to add drag + drop functionality or equipment.
      For the drag an drop you can use the on click button to create a tooltip with the image of the item and have a reference to it. Then when you drop it, check if that's an empty slot or if the inventory type is a valid one, etc. and drop it / swap them.

  • @astral6849
    @astral6849 3 ปีที่แล้ว +1

    Isnt Adding +1 before connecting to "Add Item" node Quantity at 9:30 Better than changing the core data at 1:22?

  • @spencerwennermark6617
    @spencerwennermark6617 2 ปีที่แล้ว

    Hey Buddy, It's been a while since you uploaded. Hope you are doing well.

  • @WarthogXYZ
    @WarthogXYZ 2 ปีที่แล้ว +1

    You ever continuing this?

  • @50shadesofskittles9
    @50shadesofskittles9 3 ปีที่แล้ว +5

    Hey bud, I noticed you have been away until recently. Great to see you back ... before I get invested in following your tut, do you have more features planned for this inventory system?
    I have noticed that below somebody has asked for crafting to go along with this that you "loved". Do you plan to do this?

  • @user-ns2iw4pi7g
    @user-ns2iw4pi7g 2 ปีที่แล้ว

    How to handle different types of item? Like weapons and foods, they have different params.

  • @BookaaGaming-
    @BookaaGaming- 3 ปีที่แล้ว

    For your next video could you make it so teaching how to add bags into your system almost like wow id love to have it so players have 4 slots that can only hold the bags and those bags are the inventory

  • @holojet
    @holojet 2 ปีที่แล้ว

    can you please make a crafting tutorial?

  • @holojet
    @holojet 2 ปีที่แล้ว

    I know you haven't posted in a while but I need a solution for a problem where if I open a different level I lose all the items in the inventory

  • @aidn123
    @aidn123 3 ปีที่แล้ว

    Can you save the data in the inventory like if theres one apple there will be one apple there forever until you reset it

  • @salvadormusics
    @salvadormusics 3 ปีที่แล้ว

    Thanks! Love the tutorial - Would the inventory work with multiple players?

    • @Cronza
      @Cronza  3 ปีที่แล้ว +1

      Hey Salvadorio!
      It won't work right out of the box, but with some adjustments, it would! It'll need some changes around referencing the player character, controller, and ultimately the game instance where that data is saved. However, if those can be adjusted so its per user, I don't see why this wouldn't work!

  • @jdia.
    @jdia. 2 ปีที่แล้ว

    Hopefully someone can help me, i followed everything and added to pick up on collision. But it doesn't pick it up unless the inventory is opened on screen. If the widget is up it does work normal.
    Error is accessed none for scan for item and scan for empty slots.

  • @tamasszenasi2320
    @tamasszenasi2320 2 ปีที่แล้ว

    For me the picked up item does not show up in the inventory but destroys itself when I press E. Can anybody help me with my issue?

  • @DosComasOfficial
    @DosComasOfficial 2 ปีที่แล้ว

    Hey Cronza, I would really appreciate it if you could make a tutorial on host migration because there's literally no one who has a tutorial covering it.

  • @taurusandlibra2638
    @taurusandlibra2638 3 ปีที่แล้ว

    I am at 3:57, and I cant find "Widget Component" only "Widget" and "widget interaction". I tried widget interaction, but it doesnt have the user interface detail on the right side? any ideas???

    • @peterlustigtraurig
      @peterlustigtraurig 3 ปีที่แล้ว

      Got me confused as well... use the "Widget" one.

  • @willfanzy3339
    @willfanzy3339 3 ปีที่แล้ว

    Bro you got any courses i can sign up for????

  • @sinchannohara6707
    @sinchannohara6707 10 หลายเดือนก่อน +1

    Sir #6

  • @jello788
    @jello788 3 ปีที่แล้ว

    got some time to answer some inventory > equipment questions?

  • @infinithoughts4002
    @infinithoughts4002 3 ปีที่แล้ว

    Could you help me with a coding problem thats inventory / equipment related? I'd be willing to pay you if so.