Unreal Engine 4 - Crafting & Survival Essentials - Building An Item Database

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.ค. 2024
  • Crafting & Survival games are notorious for having extremely large amounts of content to manage. This becomes difficult to handle depending on how you go about it. In this tutorial, lets look at how we can build a simple database system in Unreal.
    Structures - • Unreal Engine 4 - Stru...
    --------------------------------------------------------------------------
    Social Media:
    Twitter - / somecronzaguy
    Audio editing by the amazing:
    - www.jonathanevans.me/
    - / jonathan-evans-a74979b9
    Music:
    Tonebox - Nocturn
  • เกม

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

  • @Achaerion
    @Achaerion 4 ปีที่แล้ว +12

    Hello Cronza, I know you have not been on for a long time, But these tutorials are bloody amazing! If you carried on you could get a really large following, you precisely explain exactly how to do something rather than telling someone how to do it in YOUR particular method. I would encourage that you do these more as they are very well articulated tutorials that will help future developers! Thank you so much in helping me understand DataTables and how I could help myself use them in the future!
    Many Thanks once more!
    Brad

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

      I agree! Im a VR and a gamedev and this is just like a goldmine, topcontent and is super helpful! A work that would take months for us to do is now reduced to probably a couple of weeks!

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

    This is explained SO WELL! I see too many tutorials that say "and put this over here" too much without explaining what "this" or "here" is referring to. You actually mention the names of the nodes, and input and outputs the nodes are to be connected to, AND explained the desired goal from the method! Thank. You!

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

    This is seriously higher quality than most of the tutorials out there! First time in a long time I disabled ad blocker. I hope to see you grow and cant wait for more content on this series!

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

    You are definitely one of the better tutorial makers out there! Concise and very easy to understand

  • @mrtom-a-hawk6732
    @mrtom-a-hawk6732 ปีที่แล้ว

    This guide was brilliant! Thank you so much!

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

    This is super high quality..!! Thank you so much for sharing..!!

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

    "Good News, Everyone! We've figured out how to use Data Tables!" -Professor Codecide.
    I saw your WoW icon and went with an iconic "quote". I don't play much anymore, just wanted to give back a bit. Thanks for this awesome tutorial!
    Onto a more serious matter, I really needed this tutorial. It filled in some major gaps in my Unreal Engine knowledge. I realized how much of these examples and tutorials you have. It's an amazing crash course in what I needed. Thank you so much for your hard work!

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

    Subbed for these UE4 tutorials, super helpful and helps me learn how to do things, not just copy/paste stuff. 🍻

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

    Soon as I saw the ST_Item variable type it suddenly became clear that I was missing something vital in getting structs to work correctly.
    Thank you for this video will be checking out everything else on top of rewatching this a few times to get it down pat.

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

    Keep making these man

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

    Thank you for the explanation!

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

    Excellent, thank you!

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

    Wow this is great. Thank you.

  • @0oTheKobrao0
    @0oTheKobrao0 5 ปีที่แล้ว

    amazing tutorials you have got, keep this up! new sub here

  • @MrHuman-iy5lw
    @MrHuman-iy5lw 3 ปีที่แล้ว +1

    Thanks

  • @Cokich
    @Cokich 5 ปีที่แล้ว

    please keep doing these videos, there is more help in one of youre videos as in many others together... I just watched your harvesting tutorial and i wanted to ask if you do tutorials with c++ programming too :)

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

      Hey FrOck, unfortunately my C++ knowledge is limited, so I don't currently make any!

    • @Cokich
      @Cokich 5 ปีที่แล้ว

      @@Cronza Well thats sad but i'll still keep watching! 🙂

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

    You are a genius

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

    Hiho for what is the "Value"? Is the value the rarerity or the prise value should it be the Item ID?

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

    If anyone have this mystake : You can't import any CSV files form excel as long as it's open in the same time in Excel. I don't know why but that's the case.

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

    Seems like it would make sense organization-wise to create a different table for each class of item: Food, Weapons, Tools, Materials, etc. Would there be any major downside to organizing this way?

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

    So, quick question. This database inside UE, is it an actual database? Like can you update in real-time from game side. So like I would have an table called items - that would include every single item in the game on every single character, which needs the obvious like PK FK, relations etc etc. Now is that possible inside UE or do I need to setup remote SQL server and store it on there? (that would be my guess, just wondering how advance that thing is.)

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

    Is there videos expanding on implementing this database into the game? Which videos continue on this? :).

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

    Hi friend.... How can I make backend data base for inventory resources so that player can download if he want to play like a desert map.. He have to download how I set that

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

    We need more about mutli player communication like send item to other player.... I hope can see that in your channel

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

    Why not use DataAsset instead of DataTable where it is read-only?

  • @iBot.
    @iBot. 4 ปีที่แล้ว

    How should data get stored that is unique to a specific item? For example, if there is a Steel Sword item, and a Raw Shrimp item, the raw shrimp has a foodLevel value for how much food it gives you. Where as the Steel Sword would have a damage amount value. Obviously you wouldn't need the damage amount for the shrimp, and you wouldn't need the foodLevel value for the sword. How can this data get stored efficiently?

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

      This one is tricky. My immediate reaction would be to add a column called 'value', and a column called 'type'. The value column can represent both damage and foodlevel, depending on whether its type is set to "Weapon" or "Food"

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

    Fuuck THAT I’ll be using one Hunded if statements.
    Thanks for the video :)

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

    For me, its not a Database. As you said, it is a struct which was iniatilized with a csv.
    What i miss in this video is more information about saving objects and referencing to other tables/structs and objects. A full ER Model.
    Also you did only mention csv but for objects, json would be the better choice.
    Also how the data will be deleted should be mentioned somehow.
    Lets imagine this scenario:
    You have an adventure game. Your hero opens a chest. Your loot generator will then generate loot and put it into the chest. Your hero takes 2 swords of the same type, but with different stats and some coins but leaves some stuff in the chest because he doesnt need it.
    What now?
    How do you save this data? You have your own inventory, and the inventory of the chest. Both could be a List. But it could also be a Table in a Database. But your swords are objects which cannot just be increased or decreased. So you would need another table for each item.
    If you need a table for each itemtype, you will pretty soon have a huge table. Imagine a game like Skyrim. There you have tons of tables for tons of items. In a huge world map. With thousands of containers, each with its own table/list of items in it.
    It is not just the question, which database i want to use. Not only how i structurize it, also how i access it. And how i delete stuff.
    Imagine the chest should only remain the unpicked stuff for a certain time. You need a garbage collector which decides when and where to delete the content of the containers. And how frequently. You probably need another architecture decision for an event listener for your database handler.
    "Use a csv" is actually not the answer i was looking for :(
    Maybe there are tools for struct managing i dont know. I am very new to unreal engine. But i am not new to software development. So i am just wondering, what is best practice for unreal engine. Didn't find the answer yet :/

  • @ty_teynium
    @ty_teynium 5 ปีที่แล้ว

    Would this work with Microsoft Access?

    • @Cronza
      @Cronza  5 ปีที่แล้ว

      Hey Ty_teynium, while I haven't tested this using MS Access, if it can export to a .csv in the same formatting as excel (You can view the formatting by opening the downloaded .csv in notepad), then it should work!