XCOM 2
Psi Lab Trains Multiple Classes
 This topic has been pinned, so it's probably important
BTernaryTau  [developer] 23 Jul, 2016 @ 4:54pm
Class Mod Compatibility
If you made a class mod and you want to have a class automatically be trainable in the Psi Lab when this mod is installed, you can do so by following these steps:
  1. Add a file called XComMCPL_Defaults.ini to your mod's config folder
  2. Begin the file with the line [PsiLabTrainsMultipleClasses.MCPL_Defaults]
  3. Add the line OrderedTreeTrainableClasses=YourClassName for each class you want trainable in the Psi Lab
  4. Do the same with the line ModAddedOrderedTreeTrainableClasses=YourClassName

Here's an example of what XComMCPL_Defaults.ini would look like for the Necromancer Class mod:

[PsiLabTrainsMultipleClasses.MCPL_Defaults]
OrderedTreeTrainableClasses=NecromancerClass
ModAddedOrderedTreeTrainableClasses=NecromancerClass

You can also disable the Psi Operative from being trainable by default using the following:

[PsiLabTrainsMultipleClasses.MCPL_Defaults]
-RandomTreeTrainableClasses=PsiOperative
ModAddedRandomTreeTrainableClasses=PsiOperative
Last edited by BTernaryTau; 23 Jul, 2016 @ 9:33pm