XCOM 2
[WotC] I'm The Commander Here R3 Support
3 Comments
RustyDios 20 Mar, 2024 @ 11:38pm 
@WelfareRecipient
Your mod can still be used for the "older" NPSBD, it's not fully redundant. Although this mod should be able to handle either NPSBD or CPS (maybe even RPGO's version of this screen too), I don't know, I didn't do the testing :) :)

@IceLancer
Screen.IsA('xxx') needs to be handled with extreme care as it will be true for any&all subclasses of the screen. If used in an incorrect way or on some certain screens/UI chains it can end up causing some extreme lag. Thankfully it works flawlessly for the use case presented here in this example.

The Button identification 'trick' only worked because in the original ITCH mod, Dare had the good sense to actually name the button. This is not always the case.

Having a mod like this (that *forces* controller compatibility) is cool and everything, but it should be a 'last resort' style thing, instead of a common practice.
WelfareRecipient 20 Mar, 2024 @ 4:51pm 
You guys rock. I still absolutely love this game (and this mod) thank you for making this work with the newer community promotion screen. I'll retire my old mod
RustyDios 20 Mar, 2024 @ 2:16pm 
@Dare
Ha! Funny preview image! I'm almost tempted to claim it's copyrighted.

I may have helped with the code, but you did the testing and compiling, etc.
I'm just happy it worked.