XCOM 2
Not enough ratings
[WotC] I'm The Commander Here R3 Support
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
15.366 KB
20 Mar @ 1:39pm
1 Change Note ( view )

Subscribe to download
[WotC] I'm The Commander Here R3 Support

Description
Can Press R3 on controller to click the Respec Button for the I'm the Commander Here mod while in the Promotion screen. The respec button must both be visible and not be disabled by missing the Training center. Works with any promotionscreen (default, new, community)

Before making a comment about a "bug" or a "feature" not working ask yourself:
  • Did I read the description of this mod?
  • Did I look at the pictures of this mod?
  • Has my question recently been answered in the comment section?
  • If you make a comment about a bug be as detailed as you can. Sentences like "it's not working" won't enable me to solve any problem.
  • If you need extenisve support feel free to contact me on Discord: Dare#0357
  • Very technical and foremost individual problems should be asked on Discord

Permission
One may use any of my code as he sees fit as long as appropiate credit is given.

Credits
  • To be honest I didn't write a single line of this code, so all credits go to RustyDios (if he wants it :D)

4 Comments
Dare  [author] 21 Mar @ 8:54am 
@IceLancer
Stay away from me and my mods with your self righteous attitude. Any further comment from you on any page will be deleted and reported to steam.
RustyDios 20 Mar @ 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 @ 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 @ 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.