Announcement

Collapse
No announcement yet.

JCInventory, Grid based jigsaw Inventory for your projects

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

    @Alexarg @thankstipcom
    Thank you so much guys! Appreciate the swift responses

    Comment


      Click image for larger version

Name:	tb_linetrace.png
Views:	1
Size:	298.9 KB
ID:	1084516

      @staggerlee Thank you for your inventory, im learning very much from it. And thank you for the tracing suggestion.

      Its starting to work, when i drop an inventory item it sends out a trace and if it hits an object the interaction works. But I'm not able to get the correct transformation vectors. I tried plenty of stuff. the line shoots always in the same direction. No idea how to get the correct mouse screen or world position or widgetitem position to end the ray. Any help is very appriciated! Thx c.

      Comment


        @charisti did you see this forum post https://forums.unrealengine.com/show...to-world-space ? i just searched then, looks like what you need.
        JcInventory, a Jigsaw Grid based Inventory designed in UMG and blueprint

        Comment


          @staggerlee thank you, yes i did see it and it works when i trigger it in the world!. BUT i simply cant find the mouse location when drag and dropping from UMG. Maybe there is a way to get the dragged item screen location when dropping..

          Comment


            Wondering if someone could help me out

            Followed the tutorial for adding the inventory to a custom pawn class, however cannot see the inventory when opened:
            Click image for larger version

Name:	jcinventory.png
Views:	2
Size:	680.3 KB
ID:	1084693

            PIE:Error: Error Accessed None 'PlayerInventory' from node Get Equiptment Item Data by Index in graph 'OnMouseMove' in blueprint JCPlayerEquiptSlot
            PIE:Error: Error Accessed None 'PlayerInventory' from node Branch in graph 'OnMouseMove' in blueprint JCPlayerEquiptSlot

            Using 4.8.3

            Thanks

            Comment


              @TriviusAkakous Looks like the HUD has been set up before the JcPlayerInventory is established, have a look at my response here, and see if that helps!

              Just to let everyone know this process has changed dramatically in V 4.9 to make it a lot simpler.
              There is a new UActorComponent that will handle most of the grunt work needed to get jcinventory working. Basically it just contains the RPC GRAPH as well as the Begin Play stuff. Still in testing as i don't want to release any bugs!
              All you will need to do is add the component and a Interface and it will work out of the box. More details coming when i make the new documentation (GASP!), but i decided this was necessary to get people involved right away and cut down on some FAQ stuff.
              Last edited by Staggerlee; 08-31-2015, 01:59 AM.
              JcInventory, a Jigsaw Grid based Inventory designed in UMG and blueprint

              Comment


                With 4.9 out whats your timing on the JC release?

                C

                Comment


                  @MrMrC going to upload it today, then im afraid it is out of my hands. i have not tested it on stable yet but had it working well in preview, so hopefully no hitches!
                  JcInventory, a Jigsaw Grid based Inventory designed in UMG and blueprint

                  Comment


                    Thanks for your help Staggerlee! The 4.8 Spawn Fix was the answer. Soon realized I'd completely forgotten I was running a dedicated server, works fine on single player without the fix! I had tried the quick fix of using the delay node previously, but without success. That was due to this happening for me on 4.8.3 with copy/paste of the RPC Graph:

                    Click image for larger version

Name:	jcinventory2.png
Views:	1
Size:	343.1 KB
ID:	1086788

                    Had to manual enter in each interface event node.

                    Thought i'd point it out just in case someone else comes across the same problem.

                    Comment


                      Correct! You need to be careful with copy and pasting blueprints in general. Glad you got it working TriviusAkakous !
                      Last edited by Staggerlee; 09-01-2015, 09:54 AM.
                      JcInventory, a Jigsaw Grid based Inventory designed in UMG and blueprint

                      Comment


                        New tutorial showing changes to 4.9

                        So here is a new implementation video for 4.9, written tutorial on the way!

                        The idea was to make the system more streamlined. Mostly it works just like it did before.
                        I will be going over all the old documentation and updating it, so stand by.
                        JcInventory, a Jigsaw Grid based Inventory designed in UMG and blueprint

                        Comment


                          Hey thanks for the update and the tutorial.
                          The updates involves only how we setup the inventory on a new pawn or you are including new functionalities / bugs fixing? in other words, Do you recommend us to update our projects ?(which already could have the inventory working)
                          thanks
                          pd: Excuse my English.

                          Comment


                            @Staggerlee - That looks great - very straight forward process
                            Storyteller - An immersive VR audiobook player

                            Dungeon Survival - WIP First person dungeon crawler with a focus on survival and environmental gameplay ala roguelikes

                            Comment


                              4.9 update

                              @Alexarg I would not recommend replacing JcInventory with this version if your project is well underway, existing jcinventory projects upgrades very easily to Unreal Engine 4.9 and this update is mostly examples and helpers (in fact there was no issue that i could think of, a few null pointers needed a IsValid gate and that was it).

                              if blueprint was easier to replace i would say go ahead- as this update does provide some nice additional features, but the nature of blueprint makes it a real pain. In the end its up to you, download it and have a look! You could always use the extra copy as a learning template.

                              Changelog for 4.9
                              - Added Third person pawn example
                              - Cleaned up first person code to make it easier to learn from
                              - Added custom depth rendering to items courtesy Tom Looman
                              - Spawn pawn bug fix
                              - Added in 'Charges' as seen here
                              - Added in examples for giving a gun ammo in its chamber, then reload takes up one 'Ammo' item.
                              - Added a controller component for JCInventory that helps with some of the lifting, seen here
                              - Removed JcInventoryHUD, put it in new object RPCComponent
                              - Removed the need to add the RPC Graph to your pawn, its all included in the RPCComponent.
                              - Added in 'Get class defaults' instead of needed to spawn the item to get its item data where possible.
                              - Added in new attribute 'UniqueChargesName' to name what the Charges of the ammo is called, for example- the 30 charges in a gun could be called '30 bullets'.
                              - Added UniqueName attibute ability to make items of the same class be customizable. Example the 'Sword of sharpness + 1' on a sword class
                              - Changed the way bags work to be a lot less convoluted and easyer to set up (no longer uses BAGbag name as a Tag, uses the UniqueName string value instead.)


                              If your curious, check it out in a new project. If your using source control you could always just try pasting the new JcInventory files over the old ones, but i wont be able to provide support for that and it will most likely cause issues. I wish blueprints where easier to update but there's no unreal solution yet so in the meantime we must all suffer .
                              If anyone has any major issues updating there existing project to 4.9 please post it here so we can help one another.
                              Last edited by Staggerlee; 09-01-2015, 08:18 PM.
                              JcInventory, a Jigsaw Grid based Inventory designed in UMG and blueprint

                              Comment


                                Now we just have to wait for the 1-2 week deployment process . Jokes aside StaggerLee did they get you any ETA?

                                Comment

                                Working...
                                X