Reenables categorized grouping of items in the inventory screens.
Optional AMCM support allows for selecting which screens, and sorting control.
Added kind override via ltx, if you have customized the sortingplus ltx you will need to merge the new section in manually to retain your changes.
Reenables categorized grouping of items in the inventory screens.
Optional AMCM support allows for selecting which screens. Get AMCM here.
I say reenable because Tronex built this system in ui_inventory and then commented out the lines that would have enabled it. I just set those flags.
SortingPlus now adds additional original features providing sorting control beyond that available in the built in code.
sortingplus.ltx now controls the sorting order and groups when not using AMCM or when "Use sortingplus.ltx" is selected in AMCM. AMCM also has less granular in game method for adjusting sorting order and groups. (35 categories in ltx combined down to 15 in AMCM menu)
Using a contextual menu or hovering the mouse over an item and pressing the K key will cause it to be added to a list of favorited items. Favorited items can be prevented from transferring when the Put all Button is used.
Using a contextual menu or hovering the mouse over an item and pressing the J key will cause it to be added to a list of junk items. Junk items can be set to automatically move to the selling window of traders that will buy them.
Items in these list are treated as if in a category together. that category's position in the list can be adjusted just like the other categories via AMCM or the LTX. Defaults to the top of the list for favorites, bottom for junk. Color highlighting no longer requires another mod.
Favorites/Junk are stored by section. What this means is that an AN-94 is not the same as an AN-94 with a scope on it. If you add attachments you will need to re-favorite your gun, but only once for each configuration.
Curtesy of Ishmaeel sortingplus.ltx now has a section offering item by item kind override. This can be used to move an item from one category to another when you don't agree with the original classification.
SortingPlus can be loaded before or after NewItemHighlights and Mags Redux, makes no difference.
Bug fix for artifacts being unequiped
Added Contextual menu for marking as Junk or Favorite.
Added Icons to indicate junk or favorites, in addition too or inplace of cell highlight
Thanks for this addon. How to remove context menus "Junk and Favorite"?
rax_dynamic_custom_functor.add_functor("SP_fav", fav_menu_string, menu_precond, fav_menu_action)
rax_dynamic_custom_functor.add_functor("SP_junk", junk_menu_string, menu_precond, junk_menu_action)
delete these two lines from the script thats name starts with zzz
Thank you. It is working well.
Favorites are now sorted by kind. Items will appear in the favorites list in the same order as the row they would normaly be sorted into. applies to junk as well.
Disabling a feature like highlighting or indicator icons will result will have a greater positive impact on lag for ppl that were noticing lag from any of these features.
Hey, Instead of favorite ones being at the top can you make it so they'll stay on the left side
Ibb.co
I could probably make them be at the beginning of their categories row without too much difficulty, meaning that the favotied medicines will be with all the other medicines but listed first. however if a category wraps around to a second row the left icon in the second row won't be a favorite.
more than that would be a major rewrite of the inventory UI.
Ладно
You are amazing, thanks for this.
hey thanks for the mod
Been waiting my whole life for this, thanks ;]
My gad...Thanks for this impressive QoL add on....Simple and effective 10/10.
I've wanted this for so long.
such a simple thing, but a brilliant idea, i love it.
Very good !
Damn man! Thanks a lot. Works flawlessly.
я правильно понял? этот аддон сортирует вещи по их принадлежности в ряды в общем инвентаре не создавая каши из всех предметов, если я правильно понял то качаю
Nice. Would be a great thing to pair with an addon that fixes the weird placement of sorted items... Annoying that a grenade and a butterfly mine aren't in the same spot just as an example. Probably a lot of work to go through them all though unfortunately. Wish i knew how.
With the update if you do not have MCM or set the mod to use the sortingplus.ltx in the MCM menu you can have far more control. Although it won't affect the fact that mines are kind = i_tool you will have to edit items_explosives_new_mines.ltx to accomplish that. But you could group explosives with tools.
There is now a section of the sortingplus.ltx where you can assign individual item sections to sort into other categories.
This is a must have addon. Thanks for all the work Raven!
Hi,
I love the idea of this mod, but forcing everything on a straight line and not allowing the same line/row for multiple categories kills this for me.
Do you think it would be possible to make sorting so that you can drag and drop items to any open spot in the inventory and just have them stay where you put them and then just have the autosort only do it's thing at the bottom so we can reorganize as we see fit?
I did not make this system, I have merely made a way to turn it on and adjust the catagories some. I may eventually try and overhaul it and if I do I will keep this in mind.
I +1 this question because I have been trying to disable autosorting completely, but could never find any way to do this.
the current system cannot do that. i will keep thinking about it.
Maybe you should make this as a suggestion in the anomaly discord suggestion channel. Their dev Tronex is the the one that made this system, i am just tweaking settings.
Thanks for your response, and the effort you put in to better Anomaly for everyone.
Getting excessive spam in the logs with
Print table
{
i_drink = 7,
w_explosive = 1,
i_mutant_belt = 10,
...
i_quest = 8,
o_helmet = 2,
},
like tens of thousands of times which leads to CTD.
I've tracked this down to zzz_sortingplus_mcm.script:132 - printf("Print table")
Example log file here:
Dropbox.com
Sorting plus AMCM settings are the default ones.
Using the latest AMCM from Feb 16.
I will try to reproduce but seems to happen randomly on game/level load.
Thanks. fixed.
Thanks for the mod, it helped me a lot.
PD: what mod is used for the small description under the medical items?
this one i think. Moddb.com
was this Moddb.com
In sortingplus.ltx, on line 53 you have space instead of a comma after i_food which causes food items to be always displayed at the bottom of the inventory.
thankyou. fixed
Is there a way to change the favorite key? I've been using Q to open my inventory for like 13 years now and it's just part of muscle memory at this point. Also changing between levels seems to be clearing anything that was favorited.
You can edit the script. Look for DIK_Q and change it to DIK_U or something.
Will look into the level change thing I probably did something dumb
Don't know what you changed but can confirm it now keeps favoites between level changes. This has become an absolute must have addon.
Save and Load works, thanks for the update. Weapons with and without scopes work. The difference between weapons with a silencer or a grenade launcher and without them does not work.
yeah, not all attachments are handled the same. some have different sections, some do not. I just wanted ppl to know why sometimes a gun gets "removed" from being a favorite. Guns in Xray are horrible kludges.
Also pay attention to the Karabiner 98 Kurz rifle. The script does not distinguish with a sight or without it. Maybe there is something else, I have not found it yet =)
Is it possible to make sure that the items from the favorites remain in the backpack, when you press the button to take all / put everything? Thanks again for your work. Sorry for my English =)
Junk highlighting is not saved when saving / loading. I apologize for the importunity =)
thank you. fixed
It works now. Thanks for the highlighting without the second mod.
that was a horrible hack for several reasons. the new system is much better. arbitrability expandable and allows more nuanced control.
FYI if you hadn't figured it out the highlight colors are on line 29 and 30
Thanks, already understood, but I like the default colors. It got better when the second mod was no longer needed. The fewer mods, the fewer bugs =)
Dear Sir,
Thank you, for your excellent addons !
Since, you went ahead so far with favorites and junk options.
I was wondering, if perhaps you could go a step further and implement somehow an option to have prefered/set loadouts.
Configurable either through file or in mcm menu.
Where player could specify what tools, food, drink, meds and ammo "quantities" he requires for his ventures. To automate coming to base, offloading, gearing up, and venturing out again.
Just a food for thought.
I just downloaded your mod it was great my ınventory was mess ...
10/10, it's a must have to keep one's sanity intact, especially if you are a Hoarder.
thanks for an amazing mod :))
Oh my man, a really great addon, thank you so much...
A must-have!