Announcement

Collapse
No announcement yet.

Action RPG Inventory System

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Originally posted by Askyl View Post
    Is there an easy way to add 2-handers. Like if you have a 2-handed weapon equiped, your offhand shield/weapon is unequipped? Also, have one handed weapons the possibility to be in both main hand and offhand?
    Did you or anyone else found a way or has some tipps for achieving such a thing?!
    Appreciating any help.

    Leave a comment:


  • replied
    So I tried following along with the video on merging but i'm not very smart...

    I"ve been working with some code like skill tree, abilities, etc, so I want to merge it.

    I never made a player controller (but does the third person template automatically make one???) so I'm not sure if I should switch out (Cast to inventory controller) to (Player Controller)

    Any help would be great. I need a very stupid and simple explanation.

    Leave a comment:


  • replied
    Sorry if this has been addressed before but I haven't had any luck with searching. I've added a pane for managing NPC inventory. Modelled very closely on the existing functionality it works great right up until the window is hidden. Once it's re-opened it builds the slots again but doesn't display the icon. I've checked that the inventory is loaded and that the icon is being set (printing out the display name as it's iterating through to set in the images below), bound and unbound inventoryitem.icon and tried *sigh* so many things. Anyone have any idea what's going wrong?

    Click image for larger version  Name:	1.png Views:	2 Size:	253.0 KB ID:	1483203Click image for larger version  Name:	2.png Views:	1 Size:	269.6 KB ID:	1483200 Click image for larger version  Name:	3.png Views:	2 Size:	253.6 KB ID:	1483208
    Last edited by EricDarkomen; 05-31-2018, 10:38 AM.

    Leave a comment:


  • replied
    Originally posted by Cryptaline View Post
    When I open container and try to pick up items, I can get all items except 2 last (by right click) plus I can drug and drop these last 2 items from container to the inventory with no problem, 4.19
    Someone with this issue and any ideas how to solve?
    Still need a hand with it, I ve tried to debug it but no result. I think it may be something within UI itself but while I'm checking whats wrong I will apreciate any tips from you guys. This issue so frastruating because logs dont say anything, its just my mouse stop register its clicks on to the last 2 items or smth like that. Eh.

    Update: I ve found that this bug is related to a Scrollbar. When Scrollbar within a Scrollbox is active we dont have this issue, however when your Scrollbar is not active or "Allow right click drag scrolling" option is disabled we wont be able to get items thru mouse click event.

    Any sugestions please?

    ‚Äč
    Last edited by Medvega; 05-27-2018, 08:15 AM.

    Leave a comment:


  • replied
    Hi guys, i've merged the system into my project and everything works fine eccept i cannot pickup anything from the ground. Focus works correctly and i can loot from a container and equip items once they are in my inventory. The "E" input works fine. What should i do?? It's been 2 days of scratching my head and i can't seem to find a solution.

    Leave a comment:


  • replied
    I'm not sure what happened but now I'm getting an error from the EquipmentInventoryComponent. I haven't changed anything related to it but now it's accessing none from a variable. Here is the error.

    Code:
    Blueprint Runtime Error: Accessed None trying to read property MainHandWeaponReference from function: 'UpdateMainHandWeapon' from node: AttachToComponent in graph: UpdateMainHandWeapon in object: EquipmentInventoryComponent with description: Accessed None trying to read property MainHandWeaponReference
    Any help would be appreciated.

    Edit: It only seems to happen when I load into the level from my MainMenu & Character Creation Menu. But if I just load up the example map it doesn't seem to do it.

    I do have my own custom GameModes for MainMenu and CharacterCreator which in turn has it's own player controller, could that have something to do with it?
    Last edited by xRoci; 04-28-2018, 05:11 PM.

    Leave a comment:


  • replied

    Originally posted by MixMasta View Post
    Hey guys - anyone know how to parent the mesh (which is inherited from a C++ class) to a camera? Using a different mesh and animation blueprint than creator and it gives me wonky results without the camera being parented I think.

    I would suggest that you create a SpringArm and attach that to your inherited mesh in the components browser. Then you can simply either just make that SpringArm your Cameras parent or use AttachToComponent node (Target is Camera, Parent is SpringArm) in blueprint to move your camera to the spring arm attached on the mesh.

    Leave a comment:


  • replied
    Hey guys - anyone know how to parent the mesh (which is inherited from a C++ class) to a camera? Using a different mesh and animation blueprint than creator and it gives me wonky results without the camera being parented I think.

    Leave a comment:


  • replied
    Is there an easy way to add 2-handers. Like if you have a 2-handed weapon equiped, your offhand shield/weapon is unequipped? Also, have one handed weapons the possibility to be in both main hand and offhand?

    Leave a comment:


  • replied
    Well I must say I really appreciate this work... especially for a noob. I am looking for the blueprint that holds the controls... ie E to interact. I have some other things I need to add, and one of them is also attached to E, I put what I needed into the Inventory Player Character, under Event Graph. but that was completely empty, until I added my stuff. I would like to keep these blueprints together in the same place. Thanks in advance for all help.

    Leave a comment:


  • replied
    When I open container and try to pick up items, I can get all items except 2 last (by right click) plus I can drug and drop these last 2 items from container to the inventory with no problem, 4.19
    Someone with this issue and any ideas how to solve?
    Last edited by Medvega; 04-25-2018, 12:03 PM.

    Leave a comment:


  • replied
    Originally posted by unit23 View Post

    So what bugged me some time was the line trace which often required several clicks to obtain loot. After changing the line trace angle (starting from character chest now), the issue is gone.

    Works here, try again, might be due to high server traffic on Epic's site?
    Problem solved! The reason it didn't work was simply my firewall messing things up. Problem was with all 4.19 projects and it's now been fixed for me!

    Leave a comment:


  • replied
    Originally posted by Namesis View Post
    what kind of issues? I've been using it on 4.18.2 just fine.
    So what bugged me some time was the line trace which often required several clicks to obtain loot. After changing the line trace angle (starting from character chest now), the issue is gone.
    Originally posted by Askyl View Post
    Wanted to see if there were any changes in 4.19.1 verison but I can't create a project, it get stuck at 45%. Anyone else experienced this?
    Works here, try again, might be due to high server traffic on Epic's site?

    Leave a comment:


  • replied
    Wanted to see if there were any changes in 4.19.1 verison but I can't create a project, it get stuck at 45%. Anyone else experienced this?

    Leave a comment:


  • replied
    Originally posted by DK Buzzin View Post

    Yes, they inherit from World Actor. I simply duplicate an existing item eg. Bone Sword and rename it and select to correct mesh. It is definitely inheriting form World Actor and has the usable actor interface as "inherited" still not able to be picked up.
    Make sure you mesh as collision that's the only thing i can think of sorry.

    Leave a comment:

Working...
X