[WOTC] One Soldier Per Class Helper Tool

If you liked this item, please rate it up on Steam Workshop page.

Author: lordabizi

Last revision: 12 Apr at 06:45 UTC

File size: 328.87 KB

On Steam Workshop

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.

Download
Required DLC:

These DLC should be installed in order to use this item.


XCOM 2: War of the Chosen