XCOM 2
314 ratings
[WOTC] Disable Any Class GTS Redux
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
410.945 KB
Apr 2, 2023 @ 3:59pm
Apr 2, 2023 @ 9:33pm
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Disable Any Class GTS Redux

Description
What is This?
This is based on Divine Lucubration's original version of Disable Any Class
I'm 99% sure I got permission at some point but can't find my confirmation screenshot/message anywhere! -- if Divine Lubrication wants this removed, I will unlist.

This mod allows you to Disable Any Class with GTS unlocks gone too, but keep all perks from that class/mod active.

Features
What this mod does:
  • Prevents disabled classes from being selected by unit promitions, mission rewards, the resistance headquarters or the black market.
  • Prevent the user from training disabled classes at the GTS.
  • Remove SoldierUnlocks related to disabled classes from the GTS.
  • List of GTS SoldierUnlocks to remove can be config edited for extra stuff not related to a class.
  • Config list of classes that are excluded from being disabled
  • MCM option to control disabling Unlocks, GTS and Random Promotions (all true by default)
What this mod does NOT do:
  • Remove knowledge of disabled classes from the game.
  • Remove perks for disabled classes from the game.

Currently uses WotC Mod Config Menu to provide the in-game UI for selecting disabled classes.
Disabled classes can be selected at any time from the in-game mod configuration menu using this mod and will apply to any campaigns played while the mod is active.
It should automagically remove/enable the classes GTS unlocks too, does not require a restart.

Includes an easy tuple/event for other mods to use/access to enquire if a class is disabled.
Mod authors, please see the X2EventListener_DAC.uc for example usage code

Known Bugs/Compatibility Issues
It's entirely possible that we've missed some condition under which soldier classes are automatically chosen.
If you receive a disabled character class during your campaign, please let me know how that happened!

Might have issues if the new unit is from a non-standard barracks (such as the Grey Market in Playable Aliens, or conversion from captured MOCX). Likewise using console commands will skip around this mod too.
Use My Class might force a unit into a disabled class.

MCM menu selection is not usable if Amalgamation Classes is detected.
This is to prevent a Crash To Desktop from information overload in MCM.

Credits
Huge Thanks to Divine Lucubration for the original version
Many Thanks to MrMister and Verrithas for testing!

As always my gratitude to the XCOM2 and MEME modding communities for support.

~ Enjoy !! and please buy me a Cuppa Tea[www.buymeacoffee.com]
Popular Discussions View All (1)
0
Oct 9, 2024 @ 12:46am
List of GTS Perk Templates
OtoshiGami
108 Comments
RustyDios  [author] 5 hours ago 
sidenote: Use My Class also has interactions with Choose My Class .... and UMC can/will even try to force units into classes that you no longer even have on your pc/mods/game if it is not updated changed in the character pool !
RustyDios  [author] 5 hours ago 
Only if using the Use My Class mod.. otherwise it should not get that class
3D Master 17 hours ago 
I have a question; if you set a class not to be selected by a random promotion; it can still get that class if the soldier has that class set in the Character Pool, right?
Sir Bon Mar 1 @ 5:08pm 
Quick update, it's working now and I don't know how. Much thanks
Dragon32 Feb 27 @ 10:56am 
@Sir Bon
Oh I see, that wasn't clear. If you've tried the basics ( https://old.reddit.com/r/xcom2mods/wiki/mod_troubleshooting ) without success, then I'm afraid I don't know why a mod that hasn't changed in almost 2 years would suddenly stop working. I'd guess it's probably a local install thing with another MCO, but none are mentioned so idk.
Sir Bon Feb 27 @ 9:04am 
Plus I've been using rpgo and this mod for years now and this is the first time this mod has stopped working. I also spotted a sharpshooter and grenadier on sale on the black market. Normally it should be a soldier class combatant
Sir Bon Feb 27 @ 8:55am 
Yeah but alongside the soldier class from rpgo, there are also the original ones from lwotc and mod added ones. For instance in the GTS you have for rookies; sharpshooter, ranger, etc before you scroll down and find the soldier class.
Dragon32 Feb 26 @ 6:05am 
@Sir Bon
That's how RPGO works. There's only one class and multiple specialisations.
Sir Bon Feb 25 @ 4:15pm 
For some reason it has stopped working. Given I recently reinstalled the game along with some very few mod additions so I'll be checking if it's caused by any of them. Details; the classes appear in the mod options menu but they still show up everywhere in game and this is even though they are disabled. I'm using rpgo by the way. Thank you in advance.
greenscorpeon3 Feb 21 @ 9:48am 
I spotted a disabled class in the Long War of The Chosen Black Market.
Just dropping the report, if its of use.