Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Ultimate Inventory System C#

Discussion in 'Works In Progress - Archive' started by JohnParask, Jul 7, 2014.

?

Would you buy it for $10 ?

Poll closed Feb 23, 2015.
  1. Yes

    45 vote(s)
    38.5%
  2. Maybe

    27 vote(s)
    23.1%
  3. No

    45 vote(s)
    38.5%
  1. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    If i pause the game they move correctly.

    P.S Anyone has a bug on drag & drop i found one and i just fixed it.
     
  2. Solist

    Solist

    Joined:
    Aug 10, 2014
    Posts:
    31
    haven't tried the new drag and drop but i'll gladly take a fix in case i need it :p.

    do i just make a separate GUILayout.BeginVertical(); to be able to set up my different equip slots in different positions on my character page?
     
    JohnParask likes this.
  3. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    I fixed the compiling error when you are trying to built your game and also the out of index exception of drag and drop, and i also added food/drink categories with good/drink value, poisoned option

     
  4. Solist

    Solist

    Joined:
    Aug 10, 2014
    Posts:
    31
    hey there greek, this is what i meant by wanting to re-position the equipment slots.

    I want to be able to reorganise where all my buttons are and i'm assuming i'm going to have to change all the buttons from guilayouts to just standard gui.buttons :p

    Not quite like the picture but to move the buttons around in different shapes/formations :)
     

    Attached Files:

    Last edited: Aug 29, 2014
    JohnParask likes this.
  5. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Did you achieve it ? Just use different Begin.Vertical() as you said.
     
  6. Solist

    Solist

    Joined:
    Aug 10, 2014
    Posts:
    31
    say if i wanted to do a row along the bottom for my weapons i'd just do Begin.Horizontal() :p

    I'll post up a message with the edit in case anyone wants.

    I'm also curious how you went about the "poisoning" idea :)
     
    JohnParask likes this.
  7. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Very nice, i don't know i remember the rotten flesh when i was playing minecraft :p
     
  8. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
  9. KillbunnyuK

    KillbunnyuK

    Joined:
    Aug 21, 2012
    Posts:
    7
    Hey GreekStudios0, just brought your inventory and works like a treat :). Only issue I've got is the drag&drop, I noticed that you found a bug and fix it but the little bug i'm getting is when I pick up a object and try place it into the crafting or equip window it doesn't allow me to pick it up so I can place it in either of these windows, it place the sound but that's all. Just a little heads up if this is a new bug or something :/. Just trying a few things to fix the problem lol.
     
  10. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Did you toggle the drag mode with right click ?
     
  11. KillbunnyuK

    KillbunnyuK

    Joined:
    Aug 21, 2012
    Posts:
    7
    Cheers for the quick reply and yea it was set to Mouse1 instead of Mouse 0 lol. I have changed it to Mouse 0 so I can pick the icon up in the inventory with no problem but when placing the icon in crafting it disperses :S
     
  12. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Did you set up the crafting recipes ?
     
  13. KillbunnyuK

    KillbunnyuK

    Joined:
    Aug 21, 2012
    Posts:
    7
    Ah sorry I miss read the documentation and didn't realize it was a toggle mode. So yea re-read the doc and then realized. So yea thank you for the very quick reply's. Def gonna give this 5/5 on the asset store :)
     
    Jaqal and JohnParask like this.
  14. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    No problem, i'm always available for any kind of support :) .
     
  15. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Update

    Hey, it has been a long time since the last update, but now i did some work for Ultimate Inventory & Crafting System. There are not new features but there is a bug fix on the looting system as well as an improvment on the way that system detects and pick up items (and open containers.).

    Details :
    • You can now add as many containers as you want on the same scene without bugs, just change the unique id of each container.
    • System is now using ray cast in order to pick up items or open/close containers. So now, when you press the pick up button (usually <<E>>) you will not pick up all the items within the given range but only the item you are looking on. The same for the containers, you will open/close the container you are looking.
    Also :

    Since you guys still buying my product and you still sending me emails about problems/bugs or just for showing me your awesome game which uses UInventory & Crafting i will keep updating this package. Even if i'm too busy, i will keep updating the system, for now the above features are fixed/added and the update is now submitted. Now i will work on the optimazation of the crafting recipes, since using a huge number of recipes (+3.000) will cause an fps drop while you are crafting, this will be fixed on the next patch, until then take care & keep developing.

    P.S : Do not forget to check out my recent work, Runtime Level Editor is almost ready to be released, pre-order it and grab your awesome bonus. Check it out here : http://rld.url.ph/ or check the topic on this forum here : http://forum.unity3d.com/threads/runtime-level-editor.265756/
     
  16. RealSoftGames

    RealSoftGames

    Joined:
    Jun 8, 2014
    Posts:
    220
    1 thing that would top all that is adding full body Models =)
     
    JohnParask likes this.
  17. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Yeap, if i was able to do that kind of animations :eek: ... Now i'm working on fps animations for this kit.
     
  18. RealSoftGames

    RealSoftGames

    Joined:
    Jun 8, 2014
    Posts:
    220
    how long do you think the FPS kit will take to release? i have spent so much on kits and hardly any of the mcan be integrated =/
     
    JohnParask likes this.
  19. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    I don't really now. I progress a little slowly since i'm to busy with my exams this year as well as the Runtime Level Editor which is almost ready.
     
  20. RealSoftGames

    RealSoftGames

    Joined:
    Jun 8, 2014
    Posts:
    220
    would i be able to pay a higher price for a pre alpha version? really needa get this off and rolling, and need a kit thats compatible with a decent inventory system, i was thinking around $120 PM me if interested.
     
    JohnParask likes this.
  21. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Sure, i will let you know when i have a working (bug free) pre alpha.
     
    RealSoftGames likes this.
  22. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323

    Hey developers, 3 months ago, Ultimate Inventory & Crafting System had the first sale on the asset store, since then UInventory made 102 sales and reached the Top Paid GUI package on the asset store. In order to thank you guys, i just want to announce the new update , Version 3.0 which will contain the following new features :
    • Furnace System
    • In-game shop system.
    • Spawn system.
    P.S : In case you would like a new feature please comment bellow.
     
    Last edited: Sep 26, 2014
  23. Aidenjl

    Aidenjl

    Joined:
    Jan 5, 2014
    Posts:
    81
    Hmm, Items that have a Rarity value would be nice.
     
  24. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Rarity values for what ? i didn't understand.
     
  25. Aidenjl

    Aidenjl

    Joined:
    Jan 5, 2014
    Posts:
    81
    Not really on the spawning side, but I just meant a value on the items named Rarity so that people could use it in a spawning system of their own or something like that(Thinking about this it probably wouldn't be too hard to add myself)
     
    JohnParask likes this.
  26. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    I don;t have a spawn system so i can't add rarity :) .. It wouldn't be that difficult.
     
  27. John-G

    John-G

    Joined:
    Mar 21, 2013
    Posts:
    1,122
    That would make a nice feature, a spawn system for loot :D
     
    JohnParask likes this.
  28. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    I would like to add a spawn system which will spawn random items (within a given range) on a specific period
     
    John-G likes this.
  29. Aidenjl

    Aidenjl

    Joined:
    Jan 5, 2014
    Posts:
    81
    That would be a great addition I would like to see!
     
    JohnParask likes this.
  30. RealSoftGames

    RealSoftGames

    Joined:
    Jun 8, 2014
    Posts:
    220
    hi can this be implemented with UFPS, after the current update of full body characters with this system that would make it a complete 2 package deal!
     
  31. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    I don't own UFPS but i don't think that UInventory will mess up with anything UFPS related so i suppose that it would work.
     
    John-G likes this.
  32. Ony

    Ony

    Joined:
    Apr 26, 2009
    Posts:
    1,977
    Has anyone successfully got this working with nGUI? Any major difficulties in doing so? Just move scripts over to nGUI elements basically?
     
  33. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Sorry guys but due to a local storm last night i don't have internet connection (i send from mobile).

    So i will be online again quite soon.
     
  34. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    id like to report a bug
    when putting items into the crafting table if they are not in the crafting system unity freezes
     
  35. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    What do you mean ? <<when items are not in the crafting system>> ? There isn't a list with crafting items, only recipes for craftable items.
     
  36. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    yeah when they are not in a recipe unity crashes
     
  37. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    That happens only when you create the recipes and you place an index of an item which does not exist (Array out of range) so thats why it crashes. It does not crash on runtime though.
     
  38. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    but it does
     
  39. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    i create 3 items with the item index of 0 to 2 i then add the items to the items list in the same spot as the item index
    i leave the crafting alone dont add any recipies i drag an item into it , unity then crashes aswell as builds
     
  40. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Ok, thanks for reporting it, i will give a look right now.
     
  41. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    I also add some items and 0 crafting recipes however Unity didn't crash. If you want please send me a copy of the project (not the whole project just the example scene with the settings which cause Unity to crash)
     
  42. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    wish i could but my internet wont allow it i only get 20kbs upload speed ill just restart my inventory see if that clears things up and ill keep you updated
     
  43. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Ok mate... Waiting
     
  44. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Some of the new features of UInventory

     
    John-G likes this.
  45. John-G

    John-G

    Joined:
    Mar 21, 2013
    Posts:
    1,122
    Looking good
     
  46. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    wait what happend to the slots and stuff? is this now removed?
     
    JohnParask likes this.
  47. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    The video above demonstrate the new Building system :) not the inventory, the inventory is as it was.
     
  48. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    can we still use the old building system? like the 3x3 box?
     
  49. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    oh and do you think it would be easy enough to implement this to work with ufps
     
    RealSoftGames likes this.
  50. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    I said it is building system (item placement system ) not crafting :D

    You will see what i mean on the next video ;)