Creating a Super Simple and Flexible Inventory System

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • In this video, we will walk you through the steps of creating a highly customizable and efficient inventory system within Unreal Engine. Our tutorial will cover the basics of setting up inventory items and implementing a flexible system that can be easily adapted to suit the needs of your game. We'll also provide tips and tricks for optimizing your inventory system and ensuring smooth performance. Whether you're a seasoned Unreal Engine developer or just starting out, this tutorial is the perfect way to add an inventory system to your game quickly and easily. So, grab your popcorn and let's get started!
    Assets used:
    Polygon Ancient Empire (paid):
    syntystore.com...
    I really hope you enjoy it. Thank you!
    Links:
    Discord: ⤠ / discord
    FaceBook: ⤠ / d3kryption
    Patreon: ⤠ / d3kryption
    Subscribe: ⤠ www.youtube.co...
    Twitter: ⤠ / d3kryption
    HumbleBundle: ⤠ www.humblebund...
    Itch.IO: ⤠ d3kryption.itc...
    My Specs:
    OS:
    Manjaro Linux
    CPU:
    Intel Core i7-4790K @ 4.00GHz
    GPU:
    Nvidea Geforce RTX 3090 24GB
    RAM:
    16GB
    Headphones:
    Audio Technica ATH-M50X
    Mic:
    Audio Technica AT2020
    DAC:
    Behringer UMC22
    Keyboard:
    Keychron Q3 QMK with Krome Keycaps - Pudding rainbow kanji-hiragana caps
    Mouse:
    Logitech G403
    #UnrealEngine #unrealengine5 #inventory

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

  • @obijohn1
    @obijohn1 3 หลายเดือนก่อน +2

    Great tut, Im new and you explained it well. Subbed,liked and shared.

    • @D3kryption
      @D3kryption  3 หลายเดือนก่อน

      Thank you! Happy to help :D

  • @pterafier
    @pterafier 5 หลายเดือนก่อน +4

    Did you end up making the video about generating a UI for this? I'm using maps and can't figure out how to get items to a hotbar. Any ideas?

    • @pterafier
      @pterafier 5 หลายเดือนก่อน +2

      nevermind this system is super dope

    • @Itz_ILL
      @Itz_ILL 4 หลายเดือนก่อน

      Im lookin to figure this out myself

    • @D3kryption
      @D3kryption  4 หลายเดือนก่อน

      Hey not yet. I have it noted down to crack on with it :D

  • @JaredKellen
    @JaredKellen 2 หลายเดือนก่อน +2

    its a good start but without the 2nd video it is going to be hard to make use of this.

  • @markbay9275
    @markbay9275 11 หลายเดือนก่อน +3

    Very cool and slick inventory system. I love maps!

    • @D3kryption
      @D3kryption  11 หลายเดือนก่อน

      Thank you! I'm glad you liked it! :D

    • @colicpizza4168
      @colicpizza4168 9 หลายเดือนก่อน +1

      @@D3kryption Can I add a condition system to this inventory like what is in fallout 3, New Vegas and Oblivion.

    • @D3kryption
      @D3kryption  9 หลายเดือนก่อน

      ​@@colicpizza4168 As this basic inventroy stands - no. But you should be able to alter to achieve what you need.

  • @isaacwardmusic
    @isaacwardmusic 2 หลายเดือนก่อน +1

    I'm having trouble finding the next video.

    • @D3kryption
      @D3kryption  2 หลายเดือนก่อน +1

      I ended up never actually making it. I need to get around to making the UI

    • @isaacwardmusic
      @isaacwardmusic 2 หลายเดือนก่อน

      @@D3kryption Okay. Thanks for replying!

  • @gowthamkarthick9763
    @gowthamkarthick9763 10 หลายเดือนก่อน +2

    How can we integrate this with ui?
    By the way awesome video 😊

    • @D3kryption
      @D3kryption  9 หลายเดือนก่อน

      It's relatively easy just by calling the functions we have created.
      Depending on what type of inventory you want of course!
      If you go with the style of Skyrim, you can just loop over all the inventory items and add a category then render the category. When you click a category - select all items within it :)

    • @gowthamkarthick9763
      @gowthamkarthick9763 9 หลายเดือนก่อน +1

      How can we create a inventory like the one in re4, escape from tarkov and dayz?
      Please reply😔😔

    • @D3kryption
      @D3kryption  9 หลายเดือนก่อน

      @@gowthamkarthick9763 Thats a little beyond the scope of this simple inventory. You will need to look into storing the items sizes and positions within the grid. For example, an apple is size 1x1 and exists within grid row 3 and column 4.
      But a pistol size is 3x3 and existing within grid row 1 and column 1

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

    I have arrived...

  • @Someone-mm3jl
    @Someone-mm3jl 6 หลายเดือนก่อน +1

    At 11:08, what would I have done wrong if I pressed the debug key and it gave me the correct amount of items but showed as "None - 3", like why would it say "None"?

    • @D3kryption
      @D3kryption  6 หลายเดือนก่อน +1

      Hey!
      This sounds like you are adding the quantity correctly but your item isn't being found.
      Check the item you are picking up / adding to make sure its got a valid item
      Then check the function add to make sure thats adding the item into the key :)

  • @delaschado8196
    @delaschado8196 10 หลายเดือนก่อน +2

    I have a question. How do you limit the quantity of slots in the inventory? For example, i only want 10 slots in my inventory, and once the slots are filled, you can't take any more item. Sorry for my broken english hehe

    • @D3kryption
      @D3kryption  10 หลายเดือนก่อน +3

      Hey!
      Its a good and common idea!
      Around 8:01
      When you add to the slots
      Just check the length of the Slots->Keys.
      If the keys == 10 in length, don't add the new item.
      however, if the item exists, then allow the update (since you are just changing qty)

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

      @@D3kryption thank you so much. I'm trying to understand every part so hopefully i can make my own system, I don't like just copy and paste without knowing what i'm actually doing

    • @D3kryption
      @D3kryption  9 หลายเดือนก่อน +1

      @@delaschado8196 It is 100% the way to be :) If you understand it all you will know how to adapt it :D

    • @delaschado8196
      @delaschado8196 9 หลายเดือนก่อน +1

      @@D3kryption Thank you so much for the response. I'm having an issue right now with the thing i want to do but i will try to fix it by myself so i can learn. In the case i can't, do you have a something where i can expose my problem and maybe get some help? I don't want to bother you to much, so that's why i'm asking for something like a community where i can go and ask for help in the case i need it.

    • @D3kryption
      @D3kryption  9 หลายเดือนก่อน

      @@delaschado8196 Hey Sorry for the delay. You can freely join the discord at any point (Links in description!) and I'm normally always around :)

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

    Love this one!!

  • @loudmounthartist2257
    @loudmounthartist2257 5 หลายเดือนก่อน +1

    How would you do a move to different slot or inventory

    • @D3kryption
      @D3kryption  4 หลายเดือนก่อน

      You could create a function called TradeItem where you pass in the inventory you want it to go to, and the item. It finds the ITEM in your inventory and calls ADD on the other inventory, then REMOVE on your inventroy :)

  • @Itz_ILL
    @Itz_ILL 4 หลายเดือนก่อน +1

    WARNING!! This is a great Basic Understanding. Once you get it to Work, youll need Basic UE knowledge to take it further Without a part 2 to this video.
    Great Video Bro....
    I just figured out how to expand on it And actually use it... Bro ive been through multiple Inventory systems from the UE5 Market... They are all good, but finally to be able to put it together and understand it... Fcking 5 Star bro... Ive been working this one project for like 5years.... Smh.... 1hour i got your Basic System in... A day Later i done made my own inventory slots working and all... Im still finishing mine and may do a follow up and review video because this was good.
    -ILLz

    • @D3kryption
      @D3kryption  4 หลายเดือนก่อน +1

      Hey! Yes this is a super basic inventory and I do plan on creating part 2. I just need to crack down on it :D

    • @Itz_ILL
      @Itz_ILL 4 หลายเดือนก่อน +1

      @@D3kryption all good bro, you have alot of other videos imma be making time to look at too... It was just Realizing how it all works

    • @Itz_ILL
      @Itz_ILL 3 หลายเดือนก่อน

      How Would i save this inventory or is there a video u can refer me to to do so

    • @D3kryption
      @D3kryption  3 หลายเดือนก่อน +1

      @@Itz_ILL You need to mark the inventory variable as save game able, then loop over all the items saving their item name and quantity. I have a video about making a save game system if you don't have one already :)

    • @Itz_ILL
      @Itz_ILL 3 หลายเดือนก่อน +1

      Yaoo I ended up figuring this out, a couple hours after i posted this and meant to let you know, but i did exactly what you just posted and it works like a charm!! Thanks Big Time.. Theres a few more of your videos im using too.

  • @colicpizza4168
    @colicpizza4168 10 หลายเดือนก่อน +2

    When will next video come out

    • @D3kryption
      @D3kryption  10 หลายเดือนก่อน +2

      I will admit, I completely intended but forgot to do this part 2.
      I've added it to my list to sort out! :)

    • @lolaswift111
      @lolaswift111 9 หลายเดือนก่อน +1

      @@D3kryption Please part 2.

    • @THEbigNOOBS
      @THEbigNOOBS 9 หลายเดือนก่อน +1

      i would also like part 2 of this one

    • @D3kryption
      @D3kryption  9 หลายเดือนก่อน +3

      @@THEbigNOOBS I've noted this down to get back into it! :)

  • @Itz_ILL
    @Itz_ILL 4 หลายเดือนก่อน

    Is there a part 2

    • @BrxCameron55
      @BrxCameron55 4 หลายเดือนก่อน

      i cant find one

    • @D3kryption
      @D3kryption  4 หลายเดือนก่อน

      Hey not yet. I have it noted down to crack on with it :D