XCOM 2
74 ratings
[WOTC] Filtered Menus
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
521.860 KB
20 Jun, 2024 @ 9:56am
4 Jul, 2024 @ 12:05am
4 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Filtered Menus

Description
What is this mod?
Filters on most of the menus you might want them. This mod is a successor of the Filtered Build Items mod, attempting to fix most of its issues (for example screens are no longer being shifted around or replaced all together, the mod no longer tries to reinvent the template system), as well as expand its functionality to more screens.

Features

This mod adds filters to:
  1. The build items engineering screen.
  2. The storage screen.
  3. Research screen.
  4. Workshop.
  5. Black market buy and black market sell.
  6. Personnel lists of soldiers.
All of these panels can be disabled individually via the
XComFilterPanelBehaviour.ini

Compatibility
Compatibility should be significantly improved compared to its predecessor and (as of the time I am writing this) I am not aware of any incompatibilities. That said I have not tested extensively against other mods.

If you encounter any incompatibilities please let me know and I will try to fix them if I can or list them here to inform others if I can't.

Some non UI mods may need minor adjustments to
XComFilterBehaviour.ini
to function optimally. For example one may want to override certain filter results or prevent weapon categories that can not be build by the player from appearing in the list of select able options.

The mod works by wrapping purchase delegates to be notified of when filters need to be reapplied, and by removing entries from any data lists stored by the screens and having them update themselves after where possible, and by directly removing entries from the UILists where it is not. If only the wrapping of purchase delegates fails partial functionality may still be possible, by reapplying the filters manually.

Known compatibility issues:
  • LWOTC: If the filter on UIPersonnel is enabled it also appears on the squad management screen in an unfortunate location, making the screen hard to read. Otherwise works fine.
  • Amalgamation: Due to the amount of possible combinations of classes in Amalgation the various class filters provided by this mod will likely not function correctly, being either horribly slow or crashing outright. Disabling them in the XComFilterBehaviour.ini is recommended to prevent accidental use.

Requirements
Currently only highlander is required. I may decide to utilize mod config menu later down the line.

Known Issues
Currently none. If you encounter any please let me know.
56 Comments
DaViper 22 Mar @ 9:30pm 
At some point in the last campaign, this began to have an issue in engineering. Weapons would no longer be available to filter. You CAN find that filter in Research, however. I've made zero changes to the mod, and the changes/addition mods currently have zero to do with this area and are playing nicely in every other way.
I'll shoot this up to discord with screengrabs as well.
RedDobe 14 Feb @ 8:39pm 
Nice looking mod. Does this have controller support?
Nero 8 Feb @ 9:31am 
The issue with lwotc also happens when you use squad manager
Zakzahn 22 Jan @ 3:01pm 
What a godsend! Great mod.
Leokosta 3 Jan @ 6:24am 
This mod is awesome. My suggestion is to implement a search bar. It would be a QoL improvement.
MrMister 25 Oct, 2024 @ 3:42pm 
You're right; weapon category was just scrolling down.


May I suggest leaving the By Class filter as the last one that you have to scroll down too? It may be more common to use weapon category than class.
StickyBackPlastic 25 Oct, 2024 @ 2:39pm 
hang ups on class restrictions when used with amalgamation. 10 minutes later i managed to exit :steamhappy:
pgg12  [author] 23 Oct, 2024 @ 10:16am 
@MrMister the weapon category filter also exists, the list where the various filters are selected is scrolling, so maybe it is not visible unless you scroll down? Otherwise check and make sure that in the [WeaponCategoryFilter X2FMA3ItemTemplateBasedCategoryFilter] section of XComFilterBehaviour.ini there is a line that says +MenusToApplyTo = "*insert screen you want the filter on here*"

As to the messiness of that list, this can be combated somewhat by tweaking the appropriate section (in this case [WeaponCategoryFilter X2FMA3ItemTemplateBasedCategoryFilter]) of XComFilterBehaviour.ini (either combining multiple categories into one or stopping them from appearing in the list altogether. Someone posted their personal tweaks for modjam in the LWOTC discord a few days ago, in case you want some inspiration.)
MrMister 23 Oct, 2024 @ 8:40am 
Sorry, I misspoke - item categories are in; what's missing is filtering by *weapon* category.
MrMister 22 Oct, 2024 @ 1:53pm 
I know you can kinda do something like that for weapons by filtering via class, but that gets even messier in MJ.