XCOM 2
[WOTC] Filtered Menus
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.
MrMister 22 Oct, 2024 @ 1:53pm 
There's one feature from Filtered Build Items that's missing - the ability to filter for specific item/weapon category (grenade, shotgun, etc).

While such a list can indeed get a bit messy with MJ, do you think you could implement that as well?
Leokosta 6 Oct, 2024 @ 4:47pm 
Thank you, friend. It worked :) :steamthumbsup:
pgg12  [author] 4 Oct, 2024 @ 1:27am 
@Leokosta I presume your issue was about LWOTC right? in that case I believe the class name is "UIPersonnel_SquadBarracks".
pgg12  [author] 4 Oct, 2024 @ 1:15am 
@ikki you are indeed right, it should be ("None"). Thank you very much for pointing that out.
That said, this can safely be ignored until I push a fix.
ikki 21 Sep, 2024 @ 5:28pm 
Throwing this in log

[0498.67] Warning: ImportText (TemplateOverrides): Property import failed for OverridenCategories in: (ObjectName="BattleScanner", OverridenCategories="None")

[0498.67] Warning: ImportText (TemplateOverrides): Property import failed for OverridenCategories in: (ObjectName="MimicBeacon", OverridenCategories="None");

Probably wants ("None") instead?
Leokosta 14 Sep, 2024 @ 9:18am 
Thank you. I dont know either, gonna spend a little time trying to find out. I will put it here if I get it.
pgg12  [author] 14 Sep, 2024 @ 3:07am 
@leokosta yes there is, add the line +SpecificScreenExclusionByClassName = "*insert screen class name here*" to the [WOTCFilteredMenus.UIScreenListener_FMA3_MenuOpeningListener] section of XComFilterPanelBehaviour.ini, I do not know the screen class name of that screen though.
Leokosta 12 Sep, 2024 @ 10:15pm 
Is there an option to disable only on squad management ? ( and keep it on armory ? ) . Thank you
OVER JUSTICE 3 Sep, 2024 @ 5:39pm 
Thanks for the awesome mod pgg12! Yeah if there is the possibility for the loadout menu being added for this that would be fantastic. As you said tactical armory UI does this, but unfortunately that mod hasn't worked for years now
pgg12  [author] 28 Aug, 2024 @ 5:16am 
@comar.12 Yes you can disable the offending filter in the ini, depending on whether the crash happens for just a specific class or the entire filter you have the following options:
1) &ind the XComFilterBehaviour.ini and remove the line +MenusToApplyTo = "UIInventory_BuildItems" from the [ClassRestrictionFilter X2FMA3ItemTemplateBasedCategoryFilter] section of the file. This prevents the entire filter from appearing in the menu.
2) Alternatively, if it just one particular class causes the ctd, you can add a line +ExcludeFromCategories = "*class template name here*" to prevent only this option from appearing.
3) You can also prevent the entire panel from appearing in the engineering screen by setting bSetupOnInventory_BuildItems = false in the XComFilterPanelBehaviour.ini.

If you don't mind me asking: Do you know if it is any particular class and if so which one? Or would you alternatively mind sharing which class mods you have installed?
comar.12 28 Aug, 2024 @ 2:23am 
filter by class in engineering ctd with the classes i have installed. is there a .ini to disable that?
MrT 3 Aug, 2024 @ 6:55am 
Really enjoy your added filters!
Look forward to seeing loadouts included.
Ran into some annoying issues with Tactical Armory Ui my self.
It doesn't have the great config work you've done too.
Tal'Raziid 16 Jul, 2024 @ 8:08am 
Thank you, fren
pgg12  [author] 16 Jul, 2024 @ 4:45am 
@Tal'Raziid Yes for the time being you will need to edit the ini.

Navigate to ...\SteamLibrary\steamapps\workshop\content\268500\3271654182\config and find the XComFilterPanelBehaviour.ini, open it and replace the line bSetupOnPersonnelSoldiers = true with bSetupOnPersonnelSoldiers = false.
pgg12  [author] 16 Jul, 2024 @ 4:44am 
@Gibbons For the time being I believe Tactical Armory UI (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1962124733&searchtext=tactical+armory+u) already does this, so it is not a priority but maybe at some point later down the line.
pgg12  [author] 16 Jul, 2024 @ 4:41am 
@Leokosta Thanks for the information.
Tal'Raziid 15 Jul, 2024 @ 12:09pm 
How do you disable the filter for UIPersonnel? gotta turn it off in ini?
Vendral 14 Jul, 2024 @ 1:53am 
I had issues with Reset button. I assumed Reset would clear all filtering and in a way it does but I needed to click Apply again which for me was intuitive and took me a while to figure out. From my perspective an improvement would be that Reset button both clear all filtering and applies the clear filtering.
Gibbons 4 Jul, 2024 @ 11:51pm 
Any chance of implementing some filters for loadouts? When selecting weapons and what have ye?
Leokosta 4 Jul, 2024 @ 8:01pm 
Hello. This is an awesome mod. Thank you. I also use the mod [Vanilla/WotC] Black Market Soldier Stats, and they overlap. What I did was change the configs on Mod Menu for BMSS:

Stat Panel Location X: to 1340
Stat Panel Location Y: to 340 (optional)

or

Stat Panel Location X: to 280
Stat Panel Location Y: to 390 .

Just in case someone also uses it and encountered the overlap. I prefer the first option

Cheers from Brasil
pgg12  [author] 3 Jul, 2024 @ 10:04am 
@Paul I am not quite sure what you are referring to. This mod adds no functionality to menus concerning themselves with cosmetics (such as the soldier customization screen) and it also does not allow assigning tags without edits to ini files.

Is it possible you are confusing it for Unrestricted Customization Redux or some other similar mod, as that does add such a filter.
Paul 3 Jul, 2024 @ 4:57am 
Where are all the tags for the cosmetic items stored at? I want to sort all of my items but every time I change the category of the items in the game it takes like 30 seconds of loading which isn't good when I have several hundred items to sort through. Can I edit the files with a text editor to sort them outside of the game?
RustyDios 27 Jun, 2024 @ 2:17am 
@pgg12 feel free to send me a message a discord for help or look for inspiration in the source files of DSLR or UCR.. both mods have a text-based search input feature for filtering/sorting
pgg12  [author] 26 Jun, 2024 @ 11:27pm 
@Wolf Renegade I do like the idea of a search bar as an additional option, the main problem with it is that I don't quite know how to go about actually implementing one. I do know it is possible though.
tiktaalik 26 Jun, 2024 @ 12:56pm 
OMFG This is great!
Wolf Renegade 23 Jun, 2024 @ 4:33pm 
This will make finding things so much easier, thank you for this. If possible do you think it's doable to add a search bar by any chance or would that be redundant?
lordabizi 22 Jun, 2024 @ 11:30am 
Thank you for the update, can confirm that the problem is indeed solved.
AgisTournas 22 Jun, 2024 @ 1:47am 
@pgg12
Thank you! Have a nice day..
pgg12  [author] 22 Jun, 2024 @ 12:07am 
@AgisTournas Navigate to ...\SteamLibrary\steamapps\workshop\content\268500\3271654182\config and find the XComFilterPanelBehaviour.ini, open it and replace the line bSetupOnPersonnelSoldiers = true with bSetupOnPersonnelSoldiers = false.
AgisTournas 21 Jun, 2024 @ 7:02pm 
Very well done! One of the most useful mods.
BUT it shows in the wrong place on the Squad Management screen of the LWOTC.
How can I disable it from this specific screen?
Ember 21 Jun, 2024 @ 12:39pm 
Finally the proving grounds aint 20 minutes of laggy scrolling to click the one thing I want more than 20 of
Gazibaldi 21 Jun, 2024 @ 9:20am 
Also from the start

Flashbang Grenade
Medkit
Smoke Grenade

Filtering by grenade just gives me Flashbang. Smoke should be on there too.
lordabizi 21 Jun, 2024 @ 5:01am 
Thank you for the quick fix. I shall verify it when I have the time.
pgg12  [author] 21 Jun, 2024 @ 3:48am 
@lodabizi I think I found the issue, should be fixed now.
pgg12  [author] 21 Jun, 2024 @ 3:21am 
@Rusty Theres something I missed, should be an easy enough fix though. Ill try to get it done later.
pgg12  [author] 21 Jun, 2024 @ 3:20am 
@lordabizi All right thanks for letting me know ill look into it, in the meantime you can also try setting bSetupOnOnChooseResearch = false in XComFilterPanelBehaviour.ini.
lordabizi 21 Jun, 2024 @ 2:57am 
I had an issue where selecting a new tech to research crashed the game. Disabling this mod fixed the issue.
Thorke 21 Jun, 2024 @ 12:11am 
confirmed: it is compatible with long war 2
MrMister 20 Jun, 2024 @ 11:33pm 
YES

Now I can finally use the black market without tiring myself out in Mod Jam.


You forget to mention the biggest improvement from Filtered Build Items though - now the filter menu is in front of When, not behind her.
RustyDios 20 Jun, 2024 @ 6:27pm 
@pgg12
In testing the only issue we found was your filter UI overlaps DSLR's "Legend sidebars" when they are pulled up. Otherwise, yeah, looks good!