хорош для тех хто делает сталкер
If you use this keep in mind I as a person am not a programmer, nor am I an artist or anything for that madder, I am just very ambitious and love to create games and share stuff with the lovely Unity Community.
That being said my code may be VERY sloppy and uncommented, the models and everything are just place holders for you to replace.
I decided to throw the source code out there because lots of people were asking about it, this may not be the best way to make an inventory but least now that it is out there hopefully I can get feedback on the code and everyone can work together to better it and perhaps make a solid inventory system.
That being said there is one rule to using this code:
TERMS OF USE:
If you use this code and change it for the better, post the updated source back in the thread so we can better this project together.
Its free to use in any commercial or non commercial game as long as you abide by the first rule.
I hope this list is still correct :
Finished Features:
Inventory toggle
Easy object creation workflow
Easy pick up and parent system
Easy inventory layout
Left click grab and move items around
Right click Equiping
Right click open bag
Bags carry items and have their own array
Bags with items cannot be put in other bags
Open all bags - Shift Right Click
Tooltip to show item statistics
Tooltip repositioning
Shift Hover Tooltip comparison
Smart pickup
Features to come:
Money - Finished, not in current web version
WASD Movement right click first person look - Finished, not in current web version
Bag X button - Finished, not in current web version
Stackable Items - Finished, not in current web version
Shift right click stack select - Finished, not in current web version
Useable Items - Finished, not in current web version
Banking Items - Finished, not in current web version
Trading Items
Dropping Items - Finished, not in current web version
Destroying Items - Finished, not in current web version
Buy/Sell Items
Loot Items off corpse - Finished, not in current web version
Better bag positioning
Optimisations
Visually appealing
Shortcut Keys
Suggestions/Requests
Anyway I hope you all like the source and all feedback/ bug reports are welcome always.
Enjoy.
|