Crafting/Inventory System Tutorial in Unreal Engine - #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • Outdated, new inventory system tutorial here: • How to make an Invento...
    In this series we'll be implementing an Item System that is easily expandable, and keeps designers in mind. Hope everyone enjoys!
    Join the patreon here: / reubenward
    Any questions? Heres my twitter: ward_reuben

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

  • @LordRaven256
    @LordRaven256 7 ปีที่แล้ว +7

    After watching a lot of unreal engine tutorials, I can say this is the best one yet.
    It focuses on the C++ side and only uses blueprints when required. (I know blueprints are awesome for people unfamiliar with programming, but as a 20+ years C++ veteran they just feel clunky).

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

      Everything I do as little as playing a videofile from blueprints fails when built, stick to them robust lines

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

      I strongly agree. I programmed in unity with c++ during school and it's never groundbreakingly f'ed up as much as blueprints have. Where you change something because you found a better system and all of a sudden everything needs you to redo all of your code because even though your naming convention is the SAME the blueprints needs handholding and doesn't recognise that it's the same damn function, same damn name, but no no no, you remade it and therefore need to revisit every single dependent node again and reassure it like some mother hen. That just shouldn't be happening in programming, that's the whole reason why we adhere to naming conventions FFS...
      In other words, I strongly agree with you.

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

    Very helpful tutorials. Unreal engine is a mess to try and learn for yourself, thanks a lot for these

  • @PiJellyPin
    @PiJellyPin 7 ปีที่แล้ว +22

    invory system :3

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

      PiJellyPin 🇬🇧

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

      invenory system :3

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

      but sometimes it's "in-winter-y"

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

    Thanks to everyone who purchased the patron version, you won't be disappointed :) You now automatically receive the videos instantly when you sign up.

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

    is the free tutorial Multiplayer working
    ?

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

    Yaas. I have nothing bad to say. Great presentation and a great system!

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

    great video for sandbox gamedevs :P

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

    can you help me Reuben ward? when i made the c++ it said compile failed and then a bunch of code showed up! i would really appreciate if you got back to me! thanks.

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

    Kudos! Thank you very much for your effort and great video. Btw. perfect pace for seasoned devs ;)

  • @miketurns18
    @miketurns18 7 ปีที่แล้ว

    One day i want to be as good as you....... probubly not going to happen but a kid can dream

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

    thank you :)

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

    Hi Reuben what is the minimal amount to get the patreon video, I don't mean to sound cheap but I just found out about your work and still unsure about the whole thing, but the patreon one looks really good :)

  • @majorsquidgaming6965
    @majorsquidgaming6965 7 ปีที่แล้ว +6

    wow! thx i'm making a beta game now and it's pretty cool now... please wish me luck guys!

    • @mrmensje1
      @mrmensje1 6 ปีที่แล้ว

      good luck, I look forward to it :)

    • @spynderMK
      @spynderMK 6 ปีที่แล้ว

      good luck! :)

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

      How is it doing

  • @iCyberDev
    @iCyberDev 6 ปีที่แล้ว

    Hey Man, I'm on 4.19 and CraftSystem.h only contains the lines: "#pragma once" and "#include "CoreMinimal.h""... Should I still do the same that's at 16:00? or should I ignore it? Do I have to create a new "ifndef" so i can end the define we write with an "#endif"?
    thanks for your time

  • @GapperGonzo
    @GapperGonzo 6 ปีที่แล้ว

    I keep getting a missing '{' in struct, any idea why anybody??

  • @DanTheMan-rr3yg
    @DanTheMan-rr3yg 7 ปีที่แล้ว

    Could one create a child of the ThirdPersonCharacter and create the struct there ? In fact, can you create the struct somewhere else (separate file) an include it in ? Or would it be better to do as you are doing it ?

  • @MrZelektronz
    @MrZelektronz 6 ปีที่แล้ว

    Why do you define the Itemstruct in the character class? Is there any reason to do so? Because I think that the gamemode would be a better place for it

  • @racerx1777
    @racerx1777 6 ปีที่แล้ว

    does this work in ue4 4.19 ? how can i go about obtaining this?

  • @x64.graphics
    @x64.graphics 7 ปีที่แล้ว

    Could you please make a tutorial on how to allow this inventory system to be networked? I Would really appreciate it. I know you have something like this for your patreon supporters but I can't afford that right now.
    Also, I would like to know how to make melee items (swords) in my game. And have them in an inventory system. So there is an idea for a upcoming tutorial since I know you like suggestions.

    • @reubs
      @reubs  7 ปีที่แล้ว

      Thanks mate, i've taken your input and will look into the melee thing :) I will not be making a free Networked Inventory System as that would completely de-value the Patreons who have spent their $10 to pick it up. Sorry!

  • @clutchgamers185
    @clutchgamers185 6 ปีที่แล้ว

    I'm not going to use crafting, but I'm definitely going to use the drag and drop stuff. thanks!

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

    I've been waiting on this for fuking ever. Here's a hug. /hug Your welcome! Now we're even O_O

  • @danniton9831
    @danniton9831 7 ปีที่แล้ว

    29:10 Somehow I get an error for "FollowCamera" that says its undefined. I'm doing the firstperson so I'm wondering if that itself is what makes followcamera undefined? Is there anything for the first person that's similar to follow camera?

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

      The firstPerson header has the following:
      /** First person camera */
      UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Camera, meta = (AllowPrivateAccess = "true"))
      class UCameraComponent* FirstPersonCameraComponent;
      while the ThirdPerson header has the following:
      /** Follow camera */
      UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Camera, meta = (AllowPrivateAccess = "true"))
      class UCameraComponent* FollowCamera;
      I am also using the FirstPerson, so I am using the following:
      void AFirstPersonShooterCharacter::CheckForInteractables()
      {
      FHitResult HitResult;
      //class UCameraComponent* FirstPersonCameraComponent;
      FVector StartTrace = FirstPersonCameraComponent->GetComponentLocation();
      FVector EndTrace = (FirstPersonCameraComponent->GetForwardVector() * 300) + StartTrace;
      }
      I will see how things progress as I go through this tutorial, I am using UE4+ 4.15.3 version.

  • @lol19ization
    @lol19ization 7 ปีที่แล้ว

    I am geting an error on FollowCamera and i dont know why

  • @Manoto17
    @Manoto17 7 ปีที่แล้ว

    I know what im doing this summer.

  • @addisonwarner
    @addisonwarner 4 ปีที่แล้ว

    Inventory has a t in it

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

    Just curious can this be used in a first person setup?

  • @wisper8628
    @wisper8628 6 ปีที่แล้ว

    very good vedio!

  • @theoddity3986
    @theoddity3986 7 ปีที่แล้ว

    this is better from what i expected :)

  • @gaminggoliath6881
    @gaminggoliath6881 7 ปีที่แล้ว

    does this work on the new update?

  • @scottdarcy4726
    @scottdarcy4726 7 ปีที่แล้ว

    Hey Reuben, I followed this to the letter 3 times and it's good apart from I get an error "identifier "FollowCamera" is unidentified. Its on line 136 of the Character.cpp. I can't figure out why it wouldn't recognize this. Any help would be fantastic. Thanks

    • @scottdarcy4726
      @scottdarcy4726 7 ปีที่แล้ว

      PS I am doing this in a FirstPersonCamera, not sure if this is relevant

    • @reubs
      @reubs  7 ปีที่แล้ว

      The first person camera does not have a Camera called FollowCamera, which is why you're getting the error. Go into your constructor in the Character.cpp and find what the camera is called. You'll want to use that name instead :)

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

      Works perfectly! it was called FirstPersonCameraComponent. Thanks buddy

  • @skayxou9254
    @skayxou9254 7 ปีที่แล้ว

    You are the best

  • @aksuilsk
    @aksuilsk 6 ปีที่แล้ว

    thank you

  • @tylerclark7787
    @tylerclark7787 6 ปีที่แล้ว

    I love you. So much.

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

    Could anyone please tell me if this system works on 4.15? I just wasted 2 days on another system which didn't work on 4.15 (even though the last video was posted 2 months ago. I guess he didn't upgrade his engine over the past year) ;(
    Do not like to waste my time again.

    • @lightprincess-manawolfgami1013
      @lightprincess-manawolfgami1013 5 ปีที่แล้ว

      Hiya. Probably a late reply, I just followed the course, with QUITE a bit of tweaking and fixing things so no loops and also things that just work normally and no errors popping up like this is null and is returning null constantly, I got it to work in 4.22

  • @testteaster7290
    @testteaster7290 7 ปีที่แล้ว

    does your patreon system show you how to network it ? =)

    • @mrmensje1
      @mrmensje1 6 ปีที่แล้ว

      yes it does, he says it too at the start..

  • @PaulV3D
    @PaulV3D 7 ปีที่แล้ว

    This is great work! Can it be used first offline?

    • @reubs
      @reubs  7 ปีที่แล้ว

      Yeah man nothing stopping you from using this offline

    • @PaulV3D
      @PaulV3D 7 ปีที่แล้ว

      Nice, It would be story driven but looking for a good inventory crafting system. I'm a 3d Artist so code is difficult for me but you make it very clear in this tutorial. Thanks. :)

  • @recplays6280
    @recplays6280 7 ปีที่แล้ว

    Do I have access to the patreon video that we saw on this tutorial if I support on patreon today?

    • @reubs
      @reubs  7 ปีที่แล้ว

      Yup, you get the full backlog :)

    • @recplays6280
      @recplays6280 7 ปีที่แล้ว

      Thanks for the answer, also do you think with that inventory system that you show at the beginning of the video, we can instead of cloth, like helmet and chest but these two actually give some armor ? Or is it just cloth system

    • @reubs
      @reubs  7 ปีที่แล้ว

      I dont think it covers armour amounts, but to add stats to the clothing you would just add an ArmourRating variable to the clothing, and then when a player is struck by a bullet, simply deduct some damage based on what that ArmourRating variable is

    • @recplays6280
      @recplays6280 7 ปีที่แล้ว

      Thanks, is patreon inventory system is bp or c++?

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

    why do you say it invenory instead of inventory

  • @reerjgiorge
    @reerjgiorge 7 ปีที่แล้ว

    C++? puahj...

  • @Smouki
    @Smouki 6 ปีที่แล้ว

    C# IN UE4???? '--'-'-' WHY