XCOM 2
330 valoraciones
Mr Koval's GTS-only trainable classes
   
Premio
Favoritos
Favorito
Quitar
Tamaño
Publicado el
138.394 KB
8 AGO 2018 a las 10:34 a. m.
1 nota sobre cambios ( ver )
Necesitas contenido descargable para poder utilizar este artículo.

Suscríbete para descargar
Mr Koval's GTS-only trainable classes

Descripción
---------------------------------------------------------------------------------
INTRODUCTION
---------------------------------------------------------------------------------
A very simple mod that allows to make selected classes only trainable through the GTS and not obtainable through mission rewards or promotions.

---------------------------------------------------------------------------------
DESCRIPTION
---------------------------------------------------------------------------------
I was making this change for a bigger mod I'm attempting to create that, among other things, completely changes how XCOM classes are distributed. Since it's making a welcome change, I decided to publish it as a standalone.

So if you use mods that add custom soldier classes or you're creating your own (i.e. with Richard's Create Your Own Class Templates), you can play with their ini values. Or maybe you think the Specialist is useless and want to only be able to train them in GTS. For that, you have the values for core soldier classes exposed in the mod config.

---------------------------------------------------------------------------------
TECHNICAL DETAILS
---------------------------------------------------------------------------------
Overrides the "UIChooseClass" class, specifically the GetClasses() function that decides what classes are available for GTS training based on their NumInForcedDeck attribute. I wouldn't know, but I guess this shouldn't be a big deal that breaks any mods unless they also play with how classes are distributed. My full mod will expect no other major mechanics-related mods, so I was not considering listeners.

To use, one needs other mods that add classes and expose the "NumInDeck" and "NumInForcedDeck" variables through the "XcomClassData.ini" file.

General rules:

- If the NumInForcedDeck = 0, the class is unavailable for first-time promotions and unavailable in GTS
- If >0, it's available in GTS and as forced first-time promotions
- If <0, it's only available in the GTS

Useful cases:

- NumInForcedDeck=-1; NumInDeck=0 - class only trainable in GTS
- NumInForcedDeck=0; NumInDeck=0 - class normally unavailable (but in the game, so you can design a special building to train it I guess), disables the class for any other means
- NumInForcedDeck=1; NumInDeck=0 - only available once for first-time promotions and then through GTS
- NumInForcedDeck=0; NumInDeck>0 - only available through random promotions and not in GTS
- NumInForcedDeck=-1; NumInDeck>0 - available in GTS and through random promotions after first-time class pool is depleted
29 comentarios
Epic Dovahkiin 14 SEP a las 6:20 a. m. 
i assume if you fiddle with the NumInForcedDeck for the replacers (ie disable them as random promotions or in GTS) it would allow you to do so or you could just use the Use My Class mod (and no this mod shouldn't be disabling the vanilla classes as their NumInForcedDeck is always set to 1 and their NumInDeck is set to 4)
Medpac13 23 JUN a las 8:37 p. m. 
Does anyone know of a mod that adds the 4 base classes back or at least allows you to get their GTS upgrades?
Zaku II (Alias WatcherZigzagoon) 9 JUN 2022 a las 11:55 a. m. 
this appears to conflict with Project EXVENT: Playable ADVENT soldiers. I dare not try to run the game with both of those mods active at once. I am sorry.
philmakerguy 25 MAY 2022 a las 8:32 a. m. 
Is anyone else having an issue where you can't train psi ops in the psi lab and can't rank any up with console commands?
Hargrim 4 JUL 2020 a las 10:31 a. m. 
this is working some of the time and not. depends on the add on class I added. trying to troubleshoot this.
Hargrim 9 JUN 2020 a las 2:16 p. m. 
i changed the numbers to -1 and 0 cuz I want Biotics to only be GTS trainable. I'll tell you if it works.
Resh 15 MAR 2020 a las 6:16 p. m. 
@HotelCharliHill This is really handy if you have modded classes like Jedi, or Spartan IIs or something that are really powerful and may be silly if you get a bunch of them through random promotions. But it can also be handy if you think there should be less of a certain vanilla class as well. The example used in the description mentions specialists, if you think the other classes are more important than specialists then using this mod you can change the specialist class to only be trainable at GTS so you don't get tons of them from random promotion.
HotelCharliHill 5 MAR 2020 a las 9:51 p. m. 
Hi, I'm a smart fellow but not the smartest.... What exactly is the aim of this mod? "make selected classes only trainable through the GTS and not obtainable through mission rewards or promotions"

So to tailor my campaign I can make it so certain classes can't be "rewarded" after a mission or randomly through a promotion FORCING a soldier down a road or into a skill I didn't want for them? Interesting, but what are some examples of classes I WOULDN'T want soldiers to go down? Or what are some classes I'd want my soldiers to train as through the GTS without waiting for it to be randomly rewarded?

Thanks
Star¤Dagger 13 AGO 2019 a las 2:26 p. m. 
@DemogorgonWhite It is a mod that allows other mods like [WOTC] - K's Officer Class to function the way the author wants them to.
DemogorgonWhite 23 MAY 2019 a las 1:54 p. m. 
I think I am literally too stupid to understand how to use this mod :/