|
Post by sickscore on Jul 16, 2017 22:03:33 GMT
INVENTORY WHEEL RADIAL INVENTORY SYSTEM / WEAPON SELECTOR
-- DEMO SCENE NOT INCLUDED --
Hey guys,
I'm finally back with another nice-to-have addon. Please let me know, if you like it and don't hesitate to report issues.
Cheers, sickscore
FEATURES:- Supports Controller & Mouse/Keyboard (Hot Swapping) - Wheel items will update in realtime - Performance optimized - Easy to customize INSTRUCTIONS:- Download the unitypackage and import it into your project - Create your character first, you will need to assign it in the next step - Menu: " Invector > 3rd Party Addons > Inventory Wheel > Create Inventory Wheel" and follow the instructions - Select " InventoryWheel_Canvas > InventoryWheel" in your hierarchy to edit the wheel or change some settings - Make sure you have some weapons/ammo in your inventory or the wheel will not open KEYBINDS:I'm using a controller, so I "optimized" my input like this: LB = Open/Close Inventory Wheel X = Reload A = Jump CUSTOMIZATION:You can easily modify the script to work with another item collection / inventory system aswell. Just open the " InventoryWheel.cs" script and find " #region Replacement Methods". Simply modify the functions to your needs and you will get what you need ;-) Because this awesome ThirdPersonController-Template from Invector has so many possibilities, it's almost impossible to create an ultimate out-of-the-box solution for all Melee/Shooter/Basic templates. Feel free to share your customizations here with the community!
== SCREENSHOTS ==
|
|
|
Post by sickscore on Jul 17, 2017 11:04:39 GMT
>> reserved space for future content <<
|
|
|
Post by Invector on Jul 17, 2017 16:53:21 GMT
Very well done
|
|
kano
Junior vMember
Posts: 40
|
Post by kano on Jul 17, 2017 17:35:52 GMT
Nice work, but I think it look too similar to Opsive's TPC inventory wheel. Maybe change just a little bit so you not get in troubles (even if you've not really done wrong).
|
|
|
Post by Invector on Jul 17, 2017 17:46:59 GMT
Nice work, but I think it look too similar to Opsive's TPC inventory wheel. Maybe change just a little bit so you not get in troubles (even if you've not really done wrong). Not really... that's the standard design for wheel weapon of GTA, Mafia, Max Payne, etc... And anyways it's just a example, you (must) can change to your own design.
|
|
|
Post by sickscore on Jul 17, 2017 18:14:21 GMT
Nice work, but I think it look too similar to Opsive's TPC inventory wheel. Maybe change just a little bit so you not get in troubles (even if you've not really done wrong). Thanks! The design is customizable. Google "weapon wheel", they look all similar. Tbh, I didn't even knew Opsive's TPC has a weapon wheel :-)
|
|
|
Post by xenoblackinc on Jul 17, 2017 20:43:17 GMT
used this add one my characters head has twisted and they disappear when the game loads.
|
|
|
Post by sickscore on Jul 17, 2017 22:38:42 GMT
used this add one my characters head has twisted and they disappear when the game loads. Sorry, I don't really understand what you mean with that. Did you follow the instructions? Do you have any items in your inventory?
|
|
|
Post by jrackley on Jul 17, 2017 23:04:30 GMT
sickscore Does this not work with melee items or am I missing something somewhere? I can get it to work fine with shooter, but cannot display any melee weapons. Nice job by the way on making this as well!
|
|
|
Post by sickscore on Jul 17, 2017 23:22:23 GMT
sickscore Does this not work with melee items or am I missing something somewhere? I can get it to work fine with shooter, but cannot display any melee weapons. Nice job by the way on making this as well! Yeah, I filtered the items to only use shooter weapons. I couldn't find a good all-in-one solution yet to support all types of items. But it will of course work with melee weapons aswell. Just take a look at the replacement methods and modify the GetWheelItems () output like this: return Inventory.items.Where (x => x.type.Equals (vItemType.MeleeWeapon)).ToList (); Maybe you need to comment out some shooter related stuff like the UpdateWeaponDisplay () method for example. For demonstration purposes the addon is only using a single equipslot for the right arm equip point only. If you want to use both hands, then you need to add another equip slot for the left hand. Then simple modify the EquipItem () method to equip the item on the correct slot depending on the selected item.
|
|
|
Post by xenoblackinc on Jul 17, 2017 23:47:09 GMT
i figured it out
|
|
|
Post by tharindu on Jul 18, 2017 7:25:43 GMT
sickscore Does this not work with melee items or am I missing something somewhere? I can get it to work fine with shooter, but cannot display any melee weapons. Nice job by the way on making this as well! Yeah, I filtered the items to only use shooter weapons. I couldn't find a good all-in-one solution yet to support all types of items. But it will of course work with melee weapons aswell. Just take a look at the replacement methods and modify the GetWheelItems () output like this: return Inventory.items.Where (x => x.type.Equals (vItemType.MeleeWeapon)).ToList (); Maybe you need to comment out some shooter related stuff like the UpdateWeaponDisplay () method for example. For demonstration purposes the addon is only using a single equipslot for the right arm equip point only. If you want to use both hands, then you need to add another equip slot for the left hand. Then simple modify the EquipItem () method to equip the item on the correct slot depending on the selected item. Better yet, why not add a List<vItemType> as a filter into the addon and you can use it to check the inventory items like so. return Inventory.items.where ( x => weaponTypeFilter.Find( filter => filter.type.Equals(x.type) != null ) ).vToList();
|
|
|
Post by sickscore on Jul 18, 2017 8:13:46 GMT
Yeah, I filtered the items to only use shooter weapons. I couldn't find a good all-in-one solution yet to support all types of items. But it will of course work with melee weapons aswell. Just take a look at the replacement methods and modify the GetWheelItems () output like this: return Inventory.items.Where (x => x.type.Equals (vItemType.MeleeWeapon)).ToList (); Maybe you need to comment out some shooter related stuff like the UpdateWeaponDisplay () method for example. For demonstration purposes the addon is only using a single equipslot for the right arm equip point only. If you want to use both hands, then you need to add another equip slot for the left hand. Then simple modify the EquipItem () method to equip the item on the correct slot depending on the selected item. Better yet, why not add a List<vItemType> as a filter into the addon and you can use it to check the inventory items like so. return Inventory.items.where ( x => weaponTypeFilter.Find( filter => filter.type.Equals(x.type) != null ) ).vToList(); That's actually a really good idea. Like in the vItemManager. Hmm...I'm getting inspired now. Let me try something out... EDIT: Post #100 HYPE
|
|
|
Post by sickscore on Jul 18, 2017 9:00:52 GMT
UPDATEThe addon now has an item filter (thx tharindu ). You can simply define, which inventory items you want to include into your wheel. To handle type-specific equip actions, just take a look at the replacement method EquipItem ().
|
|
|
Post by tharindu on Jul 18, 2017 9:32:31 GMT
Anytime ^_^b I should be thanking you! This is something I really hoped invector would come with built in because I was too lazy to get the UI logic done.
|
|