Getting Started with Lyra: Chapter 3 - Adding Weapons

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 เม.ย. 2023
  • In this video we will explore Epic's WeaponSpawner class from the Lyra Starter project and how it interacts with the Lyra Inventory System and the Lyra Quick Bar Slots. With a focus on the item definition file, the inventory manager, inventory fragments as well as the use of gameplay tags to both decouple logic and store values.

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

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

    thank you for making this video, it helped me make my game for computer class

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

    Thank you. Please more Tuts about Lyra

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

    Hello! Can I know where the give weapon function is called. I don't want to trigger the function when the player step on the spawner but I want to trigger it when the player interacts with an input.

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

      there are two parts to the current logic. the overlap with the spawner gives the gun (or ammo) in the form of an inventory item to the player and in the player if that new inventory item is a "new" gun it is auto equipped into the next available quickslot. Not sure if you want to disable the auto equip or the auto pickup (two different places)

  • @gridtac2911
    @gridtac2911 8 หลายเดือนก่อน

    the one thing that i find a possible issue with is if you want to create pickup that gets added to inventory, but the quickslot is full. The code checks for an empty quickslot, but if they're all full it won't allow you to pick up the item. I'm just starting out with Lyra, and have been working on it for about 2-3 months so I'm only scratching the surface at the moment.

    • @Rukgul
      @Rukgul  8 หลายเดือนก่อน

      I haven't looked at that scenario in awhile, but the quickslot being full should not stop the pickup from going into inventory. the other branch of the if should contine.

  • @beersandbacon
    @beersandbacon 6 หลายเดือนก่อน

    Would love to see how you setup the weapon FBXs. I have an FBX but I can't figure out setting up the skeleton mesh properly.

    • @Rukgul
      @Rukgul  5 หลายเดือนก่อน

      Do you mean how do you create all the lyra assets (WID, etc) or just the Mesh, Animations?

  • @itsnotyboii
    @itsnotyboii 7 หลายเดือนก่อน

    can you explain how to load the animation of the actual weapon on your custom weapon??

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

      I just finished a "More Guns" series that should answer any questions around weapons.

    • @itsnotyboii
      @itsnotyboii 5 หลายเดือนก่อน

      @@Rukgul thank you so much for feedback!! I'll make sure to check it out