XCOM 2
340 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]
Popular Discussions View All (1)
0
9 Oct, 2024 @ 12:46am
List of GTS Perk Templates
OtoshiGami
122 Comments
Dragon32 13 Aug @ 10:59am 
@GYTW
#2. I think you can enable a class, then select a rookie for training, then immediately disable the class again.
#3. When you get a soldier of a particular class to Captain you can buy abilities in the GTS. Like "Biggest Booms" for Grenadiers. Those don't appear for disabled classes.
GYTW 13 Aug @ 10:41am 
1. [Prevents disabled classes from being selected by unit promitions, mission rewards, the resistance headquarters or the black market.] --> This is exactly what I want from this mod.

2. [Prevent the user from training disabled classes at the GTS] --> I'd suggest still be able to train disabled classes manually at GTS upon demand.

3. [Remove SoldierUnlocks related to disabled classes from the GTS.] --> May I know what is "SoldierUnlocks"?
rubyeye 13 Aug @ 6:51am 
[Addendum] ... I also just picked up a Marksman as a reward from one of the POI's. Sorry about that. Just FYI.
RustyDios  [author] 13 Aug @ 12:05am 
Thanks for the report. Sorry that happened, it seems sometimes a few slip by the system
rubyeye 12 Aug @ 10:53pm 
[Bug Report] ... I'm using your mod because I also have [WOTC] Proficiency Class Pack installed, mainly for perks required by another mod I'm play-testing. I've disabled the Proficiency Classes, but I just discovered in the Black Market a new soldier for purchase listed as a Marine - one of the Proficiency Classes I disabled.

I know it says "this mod prevents disabled classes from being selected by the black market." But one showed up anyway. Just wanted to share this with you.
justaking 14 Jul @ 1:19pm 
I'll have to look around.. possibly a mod did it with a manually edited config? I dont know but i know I didnt add any myself. I do not use UseMyClass either or any of those mods. only RPGO and Commanders Choice
RustyDios  [author] 12 Jul @ 9:14pm 
If you have the UseMyClass mod it will force the class, sidestepping what this mod does.
I have no idea why other classes are in the locked section, the only way for that to happen is that they've been manually added to the config section for locked classes
justaking 12 Jul @ 3:05pm 
Hello, I know the reaper, etc classes need to be there for the game but it seems the ranger and a few other from the vanilla game are also in the locked section saying cannot disable them. Even though i disabled all of the other classes I am still getting forced random promotions from squaddie to these classes and cannot select anything else. Any idea what is going on there?
maraganina 15 Jun @ 3:25pm 
It's fine. I just thought the disable any class mod could disable any class. I figured there had to be an easy way to remove the WotC classes, but if not, I'd rather just keep them in and not break the game
RustyDios  [author] 15 Jun @ 3:15pm 
If you need to ask how to do this, then you are not ready to do it.

Campaigns can and will break very quickly without the faction hero classes unless you have done all the steps required for their removal.. and if you've done/learned how to do all those steps... you wouldn't need to be asking how to unlock them here. :)

Sorry, it's a safety measure so you don't brick your game//shoot yourself in the foot.