Unity Community


Page 1 of 3 123 LastLast
Results 1 to 20 of 43

  1. Location
    Gabes-Tunisia
    Posts
    103

    S-Inventory: Dynamic inventory system!

    S-Inventory (C# & JS)v1.02(+Equipment, Vendor & Skill Bar system)

    Introduction:

    This is an inventory system that anyone can setup in few minutes. This system is easy to edit from the inspector without having to modify scripts. Itís suitable for RPG games. This inventory system also includes an equipment system, merchant system and a vendor system. It is also available in C# and JS.

    Check out my blog for more news about this project: http://soumidelrio.wordpress.com/portfolio/s-inventory/

    Web Player Link

    BUY
    Price: 15.00$


    Features:

    - Dynamic inventory system (Edit everything from the inspector without touching the scripts).
    - The best solution for RPG games!
    - Fully commented scripts.
    - Comes with a 20 pages document full of instructions to help you setup the inventory system.
    - Editing the inventory manager from external scripts (call various functions in your own scripts).
    - Two different item pickup methods (Mouse and keyboard).
    - Two different item drop methods (Re-spawn and destroy).
    - Creating items easily (simply by adding a script to an object).
    - Two different types of items: Bag items and Currencies.
    - Advanced Inventory GUI (Shows a description of the item on mouse hover, drag and drop items easily, using, dropping items, moving the GUI around the screen, customizing the size of the inventory and the size of the items, change textures easily, sounds, etc...).
    - Load and save items (Currencies and bag items).
    - Item Groups (The solution to create a treasure object for an RPG game: a group of items easy to create).
    - Vendor system: Create vendors by dragging a script into the vendor object.
    - Buy and sell your items for vendors: The ability to buy items and paying for them, sell them and receive payment and the ability to take back what you just sold.
    - Equipment system: Easily create your custom equipment slots (3 different ways to equip an item).
    - *NEW* Skill Bar system: Manage a dynamic skill bar (Slot names, slot sizes, number, GUI style, etc...) and link it to your scripts easily.

    And much more!

    ChangeLog:

    v1.01:

    - Added a sound when the player tries to add an item while the inventory is full.
    - Added a label that appears to inform the player when an item is added, removed, equipped or when the inventory is full.
    - Fixed the inventory size bug.

    v1.02:

    - Added a skill bar system to the package.
    - Dynamic skill bar that you can edit the number of slots in it, their size, texture, GUI style and many more options.
    - Link the skill bar easily to your scripts using some special functions.
    - Added health potion item.

    v1.02:

    - Converted all the scripts to C#.
    - The package now includes C# and JS scripts at the same price.


    Screen Shots:











    Do you have suggestions for future updates? Feel free to tell me!


  2. Location
    Gabes-Tunisia
    Posts
    103
    Web player of the current version added: Link.


  3. Location
    Gabes-Tunisia
    Posts
    103
    UPDATE: While dropping an item, if its amount is more than 1. Then the player will have to enter the amount to drop from this amount.

  4. Hello Soumia,

    Great Project!!
    Last edited by Japhet Eisenhdorf; 11-26-2013 at 02:26 AM.


  5. Location
    Gabes-Tunisia
    Posts
    103
    Quote Originally Posted by Japhet Eisenhdorf View Post
    Hello Soumia,

    Great Project!!
    When do you think this project will be released? and How much it will cost? i hope that it will not cost high..

    PS. When this project done. and if it is low at cost.. ill be the first person to buy it!

    Thanks,
    Japhet Eisenhdorf
    Hello Japhet,

    Thank you for this nice comment!
    This project will be released in 2 weeks maximum. It will cost from 10$ to 15$ (I don't think that's expensive haha). I still have more ideas to improve this inventory system. Also, If you have any suggestions for features you want to see in this inventory system, please let me know.

    Thanks,
    SoumiDelRio.


  6. Location
    Gabes-Tunisia
    Posts
    103
    New update:
    - Sounds added when: picking up an item, dropping it, picking up a coin (2 types), opening the inventory and closing it.
    - Saving and loading items and coins: I did this using PlayerPrefs. But if you have any suggestions for other saving and loading methods, please let me know.
    - I have added some new functions in the script like "ClearItems", "ClearSavedItems", "ReloadItems", "Save" and many more in order to make the system editable by external scripts.

    Web Player will be updated tomorrow.


  7. Posts
    225
    Can it be setup that items can take up more than 1 square. Eg a rifle could be 3 squares long, and have it that the item is rotatable for space management.


  8. Location
    Gabes-Tunisia
    Posts
    103
    Quote Originally Posted by John G. View Post
    Can it be setup that items can take up more than 1 square. Eg a rifle could be 3 squares long, and have it that the item is rotatable for space management.
    Very good suggestion John G! Thank you! I'll see what I can do.


  9. Location
    Gabes-Tunisia
    Posts
    103
    Another small update:
    - If you are using the mouse pick up method, an information box will be displayed whenever your mouse hover over an item.
    - If you are using the keyboard pick up method, an information box will be displayed whenever your player is in collision with an item.
    Here's a screen shot (The mouse cursor was removed, dunno why):



    Also I have updated the web player: here's the new link: http://bit.ly/14PlRJb

  10. Hello Soumia,

    Can u add some feature like saving your inventory and equipment? so you won't lose the item that you gathered when you change scene.

    Thanks,
    Japhet Eisenhdorf


  11. Location
    Gabes-Tunisia
    Posts
    103
    Quote Originally Posted by Japhet Eisenhdorf View Post
    Hello Soumia,

    Can u add some feature like saving your inventory and equipment? so you won't lose the item that you gathered when you change scene.

    Thanks,
    Japhet Eisenhdorf
    Hey Japhet,

    I already finished that saving and loading part so you won't lose items when change scene or leave the game and you will be the one who decides whether to save your items and load them or not. Currently, I'm working on many new features such as dragging and dropping items inside the inventory, showing the short description on mouse hover (in the inventory GUI), adding a bag item and item groups (an object that contains many items at the same item and you can choose which item to take or take all of them) and few more things.

    Thank you,
    SoumiDelRio


  12. Location
    Gabes-Tunisia
    Posts
    103
    Big updates:
    - You can now drag and drop items inside the inventory (I have re-written some parts of the scripts and improved the slot system in order for this to work).
    - Fixed few bugs in the keyboard pick up method. (It's fully working now).
    - When the mouse is over an item inside the inventory it shows a short description of this item. (This short description can be modified through the inspector in the item script).
    - Removed the scroll view vector.
    - You can now choose, through the inspector, if you want your dropped items to get destroyed or re-spawned in the real world. If you choose the second option you are able to re-equip them.
    - I'm no longer using buttons in the inventory GUI for items, I switched to textures.

    Few screen shots of today's work:


    I'll upload the web player tomorrow in which you will be able to modify many things in the inventory (such as drop type, equip type etc...) using simple GUI buttons and check boxs.

  13. Great Update! Hoping to see the updated web player!

    More Power Soumia!


  14. Location
    Gabes-Tunisia
    Posts
    103
    Quote Originally Posted by Japhet Eisenhdorf View Post
    Great Update! Hoping to see the updated web player!

    More Power Soumia!
    I'm sure you'll see more in the next few days, thank you for your comments Japhet!
    I'll upload the web player now.

    EDIT:

    Newest web player link


  15. Location
    Gabes-Tunisia
    Posts
    103
    UPDATE:
    - I have finally finished the Item Group script which can hold an amount of items and the player is able to take a look at these items, take all of them or pick few of them. This script works perfectly with a treasure object. Like all the three other scripts, you can modify everything from the inspector without editing anything in the script.

    P.S: This new features is not in the web player, it will be added in the next version.

    Check out these screen shots:


  16. Location
    Gabes-Tunisia
    Posts
    103
    Small update:
    - I've been testing this system and looking for bugs today, I found few and I fixed them all.
    - In the item group, when you select an item, a green rectangle will be drawn around this item to inform you that it's selected.
    - Made the item drag and drop smoother.
    - I also changed the font used in all the GUI elements.
    - Started working on the vendor script: Buy and sell items for an amount of currency.



    Also, here's the new web player link with all features listed above: http://bit.ly/1cywTf2


  17. Location
    Gabes-Tunisia
    Posts
    103
    Quote Originally Posted by Japhet Eisenhdorf View Post
    Nice Update Again!!!!!!

    MORE POWER SOUMIA!

    edit:

    Can u add the Equipment Window?

    Thanks
    Hello again Japhet,

    I'm planning to add that after finishing the vendor system. And since each RPG game has different equipment slots, I will make you able to create your own equipment slots and limit them to 10 or 12. And based on them, you can assign items to them. I will also make the equipment UI window suitable for any desired number of equipment slots. But for now, any suggestions for the vendor system?

    I also want to thank you for supporting me in my first project!

    SoumiDelRio,


  18. Location
    Gabes-Tunisia
    Posts
    103
    Take a look at the first vendor system screen shot. Like the whole system, everything's dynamic here, you create an item object set the currency and the amount required to buy then add it to the vendor script.



    What do you think?



  19. Location
    Gabes-Tunisia
    Posts
    103
    I worked on the vendor system today and finished many things:
    - You can assign the price to an item through the inspector by editing two variables: Currency name and Currency amount.
    - Select an item in the buying menu, then click on the buy button to purchase it (checks if you have the required currency type, if yes checks if you have the required amount. If you don't have one of them, the selection color would turn into red).
    - In the selling menu, you simply drag and drop an item from your inventory into a specific position then input the amount you wish to sell from this item if it's above 1 of course and it will be added in the items waiting to sell list, you can take back the items you wanted to sell them by clicking on take back or click on sell to get the currency and just sell them.

    I still have more ideas for this system that will be done by tomorrow
    I have also started documenting everything I make.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •