Announcement

Collapse
No announcement yet.

Action RPG Inventory System

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

  • replied
    Originally posted by DiziART View Post
    I find new bug. If inventory window relocate - increase and decrease slots not work...
    Yes this is a bug caused by 4.12. I was hoping they would have fixed the engine bug (along with a few other bugs they introduced) by 4.14.

    This is the cause and it does say it's fixed for 4.15
    https://issues.unrealengine.com/issue/UE-39106

    The Item Drag and Drop is not affected by this bug.

    I will have to redesign the demo window move logic if epic still hasn't fixed this properly in 4.15.
    Last edited by Pirate; 12-09-2016, 02:13 PM.

    Leave a comment:


  • replied
    I find new bug. If inventory window relocate - increase and decrease slots not work...

    Leave a comment:


  • replied
    Hi, i have some problems with player loot (multiplayer) i don't know solve, can someone help me?

    - When i try loot another player itens don't show!
    - loot hud (text when you put the mouse over the item) don't show.

    Help!!

    Leave a comment:


  • replied
    Thank you for your help, Pirate. The inventory system is really nice, it's simpler and more convenient than the systems I used before. It was quite easy to add the system to the Game. I had a lot of anxiety before I got the inventory system, I did not know how to build the crafting system, but after reviewing it I found that it was pretty easy. Thanks a lot again.

    Leave a comment:


  • replied
    [MENTION=39476]Pirate[/MENTION] : Thx mate, I'll try all that out later!

    Can you answer me a really silly question though please?

    I am trying to do a melee damage system (I might do a simple one myself, or use Rama's melee plugin) but my initial attempt didn't work. I put the logic into my weapon Blueprint (it's used in your inventory system) and it did an overlap check for enemies and I fire a few debug strings but none of them get triggered.
    Onbviously the blueprint references the static mesh, but when the weapon gets equipped, does it use the skeletal mesh version of it and therefore the overlap/collision checks I'm doing won't fire? Just a bit confused on where to put the logic, as for me it makes sense to have it on the individual weapons so I can customise the base damage on a per-weapon basis (or reference your in-built damage value, I assume?).

    Sorry, I know this goes beyond what you've provided for us, but a bit of clarification on what happens to the item when I equip it etc might help me figure out where to put the logic?
    From looking online, most put it on the player character and reference a melee capsule of some kind, but I'd prefer to use the actual weapon's collision/physics to calculate the hit...

    Thx for any help

    Leave a comment:


  • replied
    Originally posted by dazuk1978 View Post
    I' using 4.12.5 . I can't really update due to using plugins that don't have updated versions. Annoying!
    Are there some features that behave differently in your content if not on 4.14?

    My original questions in case you forgot:
    So a couple of little things:
    1> The edge-highlighting doesn't work for me, regardless of if I put it on my camera post process or the global one?
    2> When I drop an object, it does drop it but not in the way I've seen on your videos. It quite often disappears and I'm assuming going under the world. Are there controls for me to play with like an offset or location for 'spawning' the dropped item etc so I could manually tweak my way around it?
    3> I followed your FPS tutorial and all went well, however there are times that the mouse cursor disappears and I have to left click to make it appear. I seems to happen once I've looted a container and I open another. the mouse cursor disappears, my movement is locked out correctly but I can;'t see the cursor until I left click anywhere on screen and the cursor appears again.
    I apologize for missing your questions earlier.

    1.) Custom Depth Outline - It looks like you may need to enable custom depth in your rendering options for your project. If you look at this guide you will see all the setup steps. This should get it working
    http://www.tomlooman.com/the-many-us...h-in-unreal-4/

    2.) Item Drop Position - The drop logic for non physics mode is pretty basic. It just gets a location randomly offset from the player and drops it at their feet. You will probably want to change it if you are using hilly terrain and such to do a raycast and then plug in that location to the LocalLocation variable. You can edit the Drop position logic in the InventoryManagerComponent->RandomizeDropLocation() function.

    3.) Looting Container Mouse Bug - This is caused by a bug introduced in 4.12 where the UI OnHovered states don't clear any more when the widget is hidden. This still hasn't been fixed as of version 4.14 and there is a bug report for it.
    To fix it you just need to disable the custom logic in the demo for IsMouseOverUI in your Player Controller. Simply Edit the Right Mouse Button Input Event and remove the IsMouseOverUI Branch.
    Click image for larger version

Name:	fix_on_hover_bug.jpg
Views:	1
Size:	52.7 KB
ID:	1119742

    Leave a comment:


  • replied
    Originally posted by Pirate View Post
    What version of unreal are you using?
    I' using 4.12.5 . I can't really update due to using plugins that don't have updated versions. Annoying!
    Are there some features that behave differently in your content if not on 4.14?

    My original questions in case you forgot:
    So a couple of little things:
    1> The edge-highlighting doesn't work for me, regardless of if I put it on my camera post process or the global one?
    2> When I drop an object, it does drop it but not in the way I've seen on your videos. It quite often disappears and I'm assuming going under the world. Are there controls for me to play with like an offset or location for 'spawning' the dropped item etc so I could manually tweak my way around it?
    3> I followed your FPS tutorial and all went well, however there are times that the mouse cursor disappears and I have to left click to make it appear. I seems to happen once I've looted a container and I open another. the mouse cursor disappears, my movement is locked out correctly but I can;'t see the cursor until I left click anywhere on screen and the cursor appears again.

    Leave a comment:


  • replied
    Originally posted by Calhoun View Post
    Also Pirate I'm curious can you actually make a living off the asset store, or is this just a part time thing?
    I'm sure the people selling animations and weapon models are making a fair bit. I guess it all depends on your cost of living and how many assets you have for sale .

    Leave a comment:


  • replied
    Also Pirate I'm curious can you actually make a living off the asset store, or is this just a part time thing?

    Leave a comment:


  • replied
    Originally posted by Pirate View Post
    I am considering it
    +1 same here

    Leave a comment:


  • replied
    Originally posted by Calhoun View Post
    My bad for my previous post. Seems like I'm not the first person to ask a now redundant question about persistent multiplayer servers (Ark,Rust,Ect).

    That's actually exactly what I've been building (Fallout Roleplay Server). I'd seriously encourage you to consider a venture into persistent multiplayer. It's a big gab for a lot of devs that's hard to cross.
    I am considering it

    Leave a comment:


  • replied
    Originally posted by Pirate View Post
    Right clicking to use a consumable fires different logic then the world actor OnActorUsed. You will want to look at the InventoryManagerComponent->UseConsumableItem() function to setup different logic for consumable items in the Inventory.
    Ahh Haaa! thanks for pointing me in the right direction - I see in that section that you haven't wired up using a Misc item - so I am just going to call my Key a Misc Item and extend from there

    Thanks for the help - and the great system - I'm sure I'll be back later for more questions LOL

    Leave a comment:


  • replied
    My bad for my previous post. Seems like I'm not the first person to ask a now redundant question about persistent multiplayer servers (Ark,Rust,Ect).

    That's actually exactly what I've been building (Fallout Roleplay Server). I'd seriously encourage you to consider a venture into persistent multiplayer. It's a big gab for a lot of devs that's hard to cross.

    Leave a comment:


  • replied
    Originally posted by GeeksGoneBad View Post
    OK I think I am close! LOL

    I have my Key, I can pick it up and it goes in Inventory - and for now I put a simple printstring in the Overridden OnActorUsed for the Key (not even messing with the door yet) - and I want to be able to right click the key in inventory to fire off it's functionality - I thought that woulf be "OnActorUsed" but when I right click the key, it goes away like I used it - but my printstring never fires

    the printstring does fire when I pick up the key though - which is a little weird because I didn't use it, just picked it up - but it won't matter that much
    Right clicking to use a consumable fires different logic then the world actor OnActorUsed. You will want to look at the InventoryManagerComponent->UseConsumableItem() function to setup different logic for consumable items in the Inventory.

    Leave a comment:


  • replied
    Originally posted by dazuk1978 View Post
    [MENTION=39476]Pirate[/MENTION] : Thanks for your help so far, you've been spot-on.

    So a couple of little things:
    1> The edge-highlighting doesn't work for me, regardless of if I put it on my camera post process or the global one?
    2> When I drop an object, it does drop it but not in the way I've seen on your videos. It quite often disappears and I'm assuming going under the world. Are there controls for me to play with like an offset or location for 'spawning' the dropped item etc so I could manually tweak my way around it?
    3> I followed your FPS tutorial and all went well, however there are times that the mouse cursor disappears and I have to left click to make it appear. I seems to happen once I've looted a container and I open another. the mouse cursor disappears, my movement is locked out correctly but I can;'t see the cursor until I left click anywhere on screen and the cursor appears again.
    What version of unreal are you using?

    Leave a comment:

Working...
X