XCOM 2
239 ratings
[WOTC] Disable Any Class GTS Redux
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
410.945 KB
2 Apr, 2023 @ 3:59pm
2 Apr, 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]
86 Comments
Dragon32 2 Aug @ 8:23am 
@TheAshenHat
Wouldn't they be RPGO specialisations rather than classes?
TheAshenHat 1 Aug @ 7:33pm 
so interesting thing has happened. both "Rusty's Psionic" and "Burner and Rocketeer classes" don't seem to work with this mod. i checked the box's to disable them, but still get them. using rpgo, so half the units suddenly turning to non rpgo units is a bit iffy.
Dragon32 12 Jul @ 7:40am 
@Twisty the Great
RPGO only has one Class, Universal Soldier. If you're only running RPGO then all your troops get assigned that Class, it's the Specialisations that're randomised and is what you're picking when they get promoted from Rookie.

Last time I played RPGO all the Specialisations I used disabled the Classes they sourced their skills from.
Twisty the Great 12 Jul @ 1:55am 
Posting here quick before I start looking for a solution myself.. I am having an issue where classes that I have selected to ONLY train in the GTS are popping up on many, many promotions.

I am running RPGO with pretty much every single class that has been ported into Musashi's amazing RPG Overhaul, and a few HERO classes (Spartan, Ninja, Mass Effects N7 Soldiers/Biotics/Ghost Operative, Cyborg (I think thats all off the top of my head.

On promotion from Rookie, It randomly selects a large amount of Classes that I can pick a few from, which will be what that soldier has till they die. I have all of the Hero classes selected to ONLY be trainable but it keeps popping up with Hero classes (and ninja has 4 trees, the mass effect ones have around 3 per) which is a problem because the class Ninja immediately takes up half of all the classes I can pick from.

I started a new game, and I have quite a few mods.

Thanks
RustyDios  [author] 20 Jun @ 6:22pm 
Thankyou for reporting back! It saves me the headache of trying to find a bug that doesn't exist :)

Glad you got it working for yourself !
hendo003 19 Jun @ 10:53am 
@RustDios just wanted to say sorry man. I had conflicting & outdated mods that were causing the issue. Once I took care of them it's working like a charm.
hendo003 14 Jun @ 6:03pm 
Ah crap. Delete 1 to many of my comments. From what I can see it shows like it is working until I go in to either disable a class or enable a class. It's weird.
RustyDios  [author] 14 Jun @ 5:38am 
Actually in the GTS list, or just just in the ShowAllClassCounts?
hendo003 13 Jun @ 8:18pm 
I seem to have a bug with this right now. I am showing classes in GTS that I have disabled and should not show up. I did not mess with any of the classes that are status locked. Is there a setting that I am not seeing that is still showing all the classes that are supposed to be disabled?
RustyDios  [author] 19 Mar @ 9:08am 
It means that those classes can only be edited by turning the game off, adjusting the actual config files and starting up again. I put it in as a "failsafe" so people don't shoot themselves by removing classes that shouldn't be removed. You need to complete a few extra steps for those, to make sure you really want to remove those classes.