UE5 - Inventory System: Attach to Hand (6)
ฝัง
- เผยแพร่เมื่อ 10 ก.ย. 2024
- Data driven inventory system fully replicated.
Thank you for watching! Please subscribe for more!
Weapon Files:
drive.google.c...
PISTOL - Socket Transform (Copy line below and paste in table):
(Rotation=(X=-0.054195,Y=-0.054274,Z=0.705059,W=0.704989),Translation=(X=-6.711105,Y=2.253083,Z=-1.458893),Scale3D=(X=1.000000,Y=1.000000,Z=1.000000))
RIFLE - Socket Transform (Copy line below and paste in table):
(Rotation=(X=-0.054195,Y=-0.054274,Z=0.705059,W=0.704989),Translation=(X=-6.011808,Y=2.915977,Z=-0.518394),Scale3D=(X=1.000000,Y=1.000000,Z=1.000000))
BP_Weapon tutorial:
• UE5 - World Interactio...
BP_Weapon tutorial fix:
• UE5 - Bug Fixing: Weap...
Marketplace Products:
www.unrealengi...
Discord Channel:
/ discord
Tags:
Create pickups, inventory system, weapons, pickup, grab, attach, use, interact, communicate, communication, overlap, events, tables, structures, data, unreal engine, ue5, lyra, game, easy, tutorial, simple, steps, how to make
Guys, like and share his videos…. This guy deserves all the attention!!
This is great, thank you!
Omg... Took me so long to figure out why it wasn't working for me. Turns out in DT_Inventory I didn't have the Actor BP assigned since I was using a custom item.
SAME. Thank you
me too! Not had any problems so far in this playlist, so knew I must have missed something, this was it. Thank you for the comment, it helped me troubleshoot it!
Don’t stop brother! U are the best!!!
I'm having problems with the replication on the equip. in standalone or listen server, the main client has no problems with the item being deleted and added to their inventory and equipping. in listen server, the 2nd client can add the item to the inventory but the item doesn't delete(previous video set the set owner on overlap, but this means the last actor to overlap with the item is the owner, not the one who picks it up)
when i set the networking to client(no matter the number of clients) the item isn't deleted, nor equipped.
unreal engine just updated today to 5.4.4 and i've just been going along with it, hoping that isn't the issue and that someone will know what the fix for this might be.
Every time I try to equip the item it crashes unreal any idea why? Plz Help
The best!
W
Bro, thank you for the tutorial!
Hi, is there a tut for adding the Inventory you sell for Lyra Starter Sample?
It works for me but i also have a bug where my movement is jittering any ideas of why this could be its almost like my player is colliding with the mesh itself?
found a fix i had to make sure the mesh had no collision in case anyone else ever makes the same mistakes as me
hello i have a problem, when i press the key for attaching the item to the hand nothing happen, but i verified if everythink working and i dont find the issue, can you help me please ?
Kinda the same problem for me, i can't see the Child Actor called HandObject spawning. I just see the widget ontop of my char, but nothing in the hand. Checked the Socketname and all code from the tutorial as well.
Same Problem here!!
it's probably a replication problem, try standalone and see if it works
didnt even tell me how to position my own weapon
So, everything worked, it's looking great! The only issue I'm facing is when I attach, in this case an apple, to my hand, my character movement becomes all fucked up... I have no clue where this problem lies and why this is happening. Any idea?
i also have this problem did you find a fix?
@@IAMCUSHTY I ended up asking in the Discord and someone suggested to remove the collision from the item mesh. This worked for me.
How could I reference the item that my player is holding inside the players anim bp? Lets say I want to have my player holding a weapon and i need his arms extended while it's equipped, how would I specify that the specific weapon is equipped in the anim bp, then switch back to the default animations when the weapon is unequipped? I've been trying to do this with your multiplayer inventory system but can't figure it out.
You need to create an "Overlay State" variable that will tell you which overlay animation to apply, we did that on previous videos: th-cam.com/video/fcHx1e2Pco8/w-d-xo.html
Thats why we have an "Overlay" property on the inventory data table, to be able to switch the animations when we equip different items.
@@nativecoder Thanks for the reply! I ended up using the Inventory Type Enum and called the "get active" inside my anim bp to specify which inventory type was equipped to change the animations.
I would really appreciate it if you made a tutorial on how to drop all inventory items instead of just the active item which could be used when a player dies.
@@chronickev_ Could you not iterate through your inventory via a for loop and drop all items?
Are 2d fight game ... Mortal kombat combo input system....
Inventory Widget ,slots, .....