Action RPG Inventory System

If weapon is equipped or not. Example…

Just check the inventory slot for the main-hand if its valid or not.

Yes, slot and item id?

Sorry, i need more help. Img of bluepints exmaple pls.

There are functions like get inventory item use this with the mainhand slot number, and do a vaild check on the icon.

Also @swarlog remember the InventoryItems exist on the server, so the server has to do the check. If you try and read the Item as the client it won’t exist.

If you are new to network blueprinting basics there is a series of tutorials on Epics YouTube channel.

Ok, in dev…

Combat mode (weapon/fist)

First successful moving container. :slight_smile:

Still a WIP. The cart has animations for moving wheels, but something is crosswise in the AnimBP.

The lag and video artifacts were introduced by the recording software and are not actually present in the game. :slight_smile:

Hello, Your project was Awesome as hell!!
I would like to buy it but now I currently working on survival game which is based on SGT (Survival Game Template) If i buy it Can I combine thses two togheter without make it bugs or replace files each other what do you suggest?

Thanks a lot!

Hey everyone!

Firstly, thanks for providing excellent Marketplace content, and also for the activity in the Forums! It’s really great to see the community rallying around useful content, and expanding on it. So many great ideas already!

I recently purchased both the ActionRPGInventorySystem and the Multiplayer TopDown Kit. I’ve followed the video tutorials for merging the two, and it was fairly easy to follow, although I’m more of an artist than a BP designer.

In testing, everything has worked just fine, however, I’m having some problems with Drag n Drop. It seemed to be working fine when I finished testing.

Now though, when I opened the level, it claimed 2 blueprints were looking for InventoryPlayerController, which, after migration no longer exists as those should all have been rereferenced to MPTopDownNetworkController. I know one of them was Inventory Layout.

Anyway, when I opened the 2 offending BP’s and tried recompiling, they clear no problem. After saving them again, the error goes away, yet I still can’t drag and drop items.

Functionally, all the HUD interfaces show up fine. If I pick up a single dropped item, it snaps into the first slot of my inventory without issue, but I can’t actually drag it from my inventory to a player slot. Similarly, if I loot a Loot Hero, I can see the contents of the body, but I can’t drag those contents to my character’s inventory.

I know that may seem vague, but now I’m not even receiving load errors after I compiled.

I’m at a bit of a loss - otherwise everything is excellent. Can anyone point me in the right direction, or help me find what’s still referencing the elusive InventoryPlayerController?

Any help would be greatly appreciated!

ff.

PS. Running 4.12.5… And using the latest assets from the Marketplace as of last week.

If you send me a support email I can send you a version of the two already merged if that helps.

Thanks Pirate! That would be very helpful.

I’ll pop you an email there now.

Its possible to combined the two but it wouldn’t be a simple task as both assets will overlap alot, if your new to blueprint you mite be better off using the ARPG Inventory + the stamina system from the marketplace these two aseets are easily mergable.

I would use this system over any other because of its design!

We use it - we love it. Hopefully we see more great projects from pirate.

Thank you for the kind words :slight_smile:

Don’t forget to give a star rating to the products you own on the marketplace page.

Hello,

I’m trying to create a backpack system, however I’m having trouble creating this system, I used the container system and put function to add to the inventory, the drop function I put to when the id of the item is backpack, he spawn the backpack actor, but when I put some items and I picked up the item and drop the backpack the inventory is clear, I know it must be a silly doubt and sorry for bad English

thank you so much

Make sure you are moving the items as the server, but without any way of seeing your logic it’s hard to tell where the problem might be.
I would suggest debugging and trying to find the part in your logic where things break.

You would have to add a inventory array to the inventory item its self, that way when you pickup the bag it moves all the items in the bag to the item inventory array and back out when its dropped.

I’m having trouble with this as well;
I have pistol, rifle and sword weapons so i need to detect which *type *the weapon is to update my animations accordingly.
so far to try to get this working I have started with just getting the rifle to work - I added new equipment type (rifle), updated the existing assault rifle item to use this new type, and in my inventory manager Ive added new byte variable (rifle) thinking i would compare
the equipped item in the main hand slot to this variable:

0ddb793a0fb954b5974fba49fa169654e8df18ae.jpeg

I moved the variable to local and still nothing, I’m assuming im doing a lot incorrectly…

Anyone who makes a simple tutorial on how to get different weapon types (when equipped in the main hand slot) to talk to the anim bp gets a real life sized hug from something pleasant of your choice

You should have a variable on the Character Blueprint as the AnimBP reads from the character.
So for example when you equip a new weapon have the server set this variable on the character and replicate it to the client.
(Maybe it’s an enum of weapon types, so like “Unarmed, Pistol, Rifle” and the value gets set each time a weapon is equipped/unequipped.)

Then the AnimBP can read this from the character and store this variable and then you can use that to choose the anim state during your animbp anim graph logic.

Hope that helps

Thanks Pirate, I’ve been able to spend some more time with this today and have made some progress. Great work by the way, a real time saver and looks great