XCOM 2
Not enough ratings
[WOTC] One Soldier Per Class Helper Tool
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
333.227 KB
22 Mar, 2024 @ 6:40am
19 Jan @ 11:21am
5 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] One Soldier Per Class Helper Tool

Description
One Soldier Per Class Helper Tool

Abstract
Adds some console commands to help maintain a "highlander" campaign where each class is only allowed once.


Overview
A somewhat popular self-imposed challenge is to play with one soldier only from every class, this is the so-called "highlander" campaign. This mod changes all (but blacklisted) classes to have 1 num in deck and 1 num in forced deck that should help with that, and adds on top of that three console commands:
  • PrintClasses - prints all classes available to soldiers in the game right now.
  • PickNextClass - suggests a random class name the player does not currently own.
  • PrintRemainingClasse - prints all the classes that have not yet been used.
It is advised to use a mod like Additional Soldier Console Commands that gives a console command to change the class of a soldier.

The mod should automatically detect all classes that are not meant for normal soldiers (have non-empty or non-soldier "AcceptedCharacterTemplate" or "RequiredCharacterClass"), and add those to the wtf class list automatically.

Note that it is necessary to first compose a list of "wtf classes" that the mod should not touch. When the PrintClasses command is used, only the non-wtf classes will be printed there. If you see there classes that you don't think should exist, add them to the "wtf classes" lists in the config.

Unfortunately this mod cannot keep track of things like MEC Trooper augmentation that changes the class of a soldier.

Other than changing the NumInDeck/NumInForcedDeck of all the classes, this mod doesn't actually force the player to use only one soldier of every class.

Configuration
XComGame: The "wtf classes" list that will keep track of all the classes that should not be touched, and that this mod will not count as eligible classes for promotions.
TruncateBrig: if true, removes the brigadier rank from all classes that have it. Useful when the player has several classes that use Brigadier rank, and some that don't, and find it unaesthetical.
CountDead: if true, will keep track of dead soldiers too, and keep their classes "blocked".



Compatibility
Yes.
Will add the four base classses to the WTF class list automatically when used with LWOTC.


Required Mods
No.


Known Issues
A mod that doesn't do a whole lot can't have issues, can it?




Acknowledgements
The author would like to thank EpisodeZero for introducing this self-imposed challenge, and DerAva for bringing it up to the attention of the author.
The author would like to thank the users of the MEME Discord Server for the continued emotional support.
The mod preview image was made with the help of an AI.
Hamas is ISIS.
Popular Discussions View All (1)
1
28 Nov, 2024 @ 12:17pm
What am I doing wrong?
ExaByte
5 Comments
lordabizi  [author] 25 Mar, 2024 @ 12:54pm 
It is mostly about special classes that should not appear on normal soldiers. For example the class that Bradford and Shen have for the story missions, psi operatives, etc. So there shouldn't be much work left for you, if at all.
Lanford 25 Mar, 2024 @ 1:23am 
So, I need to compile the list of exception class by myself first then. Okay, thanks for the answer.
lordabizi  [author] 24 Mar, 2024 @ 10:27pm 
it changes ALL classes that are NOT mentioned in the wtfclasses configs
Lanford 24 Mar, 2024 @ 11:56am 
Huh, never know it before that one class per soldier campaign has the name for it. Been running this "highlander" since the early day of XCOM2.

Anyway, you said this mod automatically set all classes to 1,1, but is it really catchs all the classes that installed? I have like 70 something classes, so, it will be a godsend if it really did all that everytime I'm re-verified the files before starting new campaign and such.
Fuedrakia 23 Mar, 2024 @ 4:50pm 
Glad to see I am not the only one who runs the Highlander Playstyle.