XCOM 2
Use My Class
 กระทู้นี้ถูกปักหมุด เพราะฉะนั้นอาจเป็นกระทู้สำคัญ
krj12 (Ken)  [ผู้พัฒนา] 17 พ.ค. 2016 @ 2: 53pm
"Use My Class" Doesnt Work For You - Discussion/Suggestions
If the mod doesnt work, please try the following:

1. Verify the mod appears in your mod list and is checked.

2. Verify your soldier is in your character pool, and is not designated as a Rookie or Psi Operative.

3. Verify your soldier name is not duplicated in the character pool list. It is possible it is picking the wrong one.

4. Go to SteamApps\workshop\content\268500 and using your favorite text editor
do a file search for the following text ( you can limit to *.INI ) :

X2StrategyGameRulesetDataStructures


If you have a hit in any of your mod's XcomEngine.ini files, that looks something like

+ModClassOverrides=(BaseGameClass="X2StrategyGameRulesetDataStructures", ModClass="<ModName>.<ModName>_X2StrategyGameRulesetDataStructures")

then you have encountered a mod conflict. The two mods will probably not co-exist.

In that mod's root folder ( which should be a long number ), look for a file that ends
with .XcomMod. That should tell you which mod is causing the conflict.
Please add a note below indicating which mod is not compatible, since it will be useful
to future downloaders. Thank you.


แก้ไขล่าสุดโดย krj12 (Ken); 8 ก.ค. 2016 @ 5: 49pm
< >
กำลังแสดง 1-15 จาก 87 ความเห็น
krj12 (Ken)  [ผู้พัฒนา] 17 พ.ค. 2016 @ 3: 02pm 
Known Conflicts/Issues:

All Soldiers Gain Experience
- coded by mod auther to generate a random class. Not a mod conflict, but just how the other mod is written.

Solution: Change INI to turn off XP for rookies only.

แก้ไขล่าสุดโดย krj12 (Ken); 19 พ.ค. 2016 @ 6: 14pm
Trying to figure out how to search the SteamApps\workshop\content\268500 file using Notepad++ ... clueless. I have the path but there are 160 files inside it how do i search them all for the lines you list?
krj12 (Ken)  [ผู้พัฒนา] 18 พ.ค. 2016 @ 3: 51pm 
In notepad++, select Search menu option, then select Find In Files.
Enter X2StrategyGameRulesetDataStructures in the "Find What" field.
Enter your directory in the directory field, if it isnt already there.
Enter *.INI in the Filters field.
Click the Find All button.

Sorry, this is a bit hard to follow for me, I've found the modclassoverrides lines in your mod's XcomEngine file, but how do I find out what the mod is that's causing the conflict to do the final step?
krj12 (Ken)  [ผู้พัฒนา] 19 พ.ค. 2016 @ 9: 24am 
Did you find the similar lines in any other mod?
I was unable to find any conflicting mods using the instructions, but it is still not respecting character pool. My ranger became a specialist...
krj12 (Ken)  [ผู้พัฒนา] 21 พ.ค. 2016 @ 5: 31pm 
What was the sequence of events? Was this from the initial mission, and this ranger was one of the four?
Does this mod work for macs?
krj12 (Ken)  [ผู้พัฒนา] 22 พ.ค. 2016 @ 4: 02am 
Sorry, no idea, I use a PC.
โพสต์ดั้งเดิมโดย krj12:
What was the sequence of events? Was this from the initial mission, and this ranger was one of the four?
No, I turned off character pool until after the initial four had been promoted. This was the second or third mission, I can't remember which.

In any case, and no offense, but I found another mod that allows me to change the class of any given soldier. Good enough for now...
Ok, So I've got training in these sort of feild but the instructions to find the issue are so vage that I can't do anything to find out what mod is making this thing not work.

Can I get a better set of instructions please?
krj12 (Ken)  [ผู้พัฒนา] 7 มิ.ย. 2016 @ 3: 46am 
I'd be happy to assist, which steps do you need help with?
The Alternate Mod Launcher threw up a conflict with this mod and Balanced Soldier Rewards.

That mod has this line in its XComEngine.ini:
+ModClassOverrides=(BaseGameClass="X2StrategyElement_DefaultRewards", ModClass="X2StrategyElement_DefaultRewards_BSR")

I haven't verified if there's a problem in game when running that mod and this one.

Sad to say I've gone with Balanced Soldier Rewards as this campaign I'm trying to build up my character pool so I'm using almost entirely RNG-created troopers.

Thought I'd better mention it though.
krj12 (Ken)  [ผู้พัฒนา] 14 มิ.ย. 2016 @ 7: 34pm 
I've intended to replace that class override for some time - and just now did it.
However, I have replaced the GenerateRewardFn with my own implementation, so if Balanced Soldier Rewards modifies the same function, it will still conflict in another way.
Alternate Mod Launcher is not flagging any potential conflicts with Use My Class and Balanced Soldier Rewards, or any other mods in my mod list.

Thanks for making the change, I'll let you know of any problems with this enabled now.
< >
กำลังแสดง 1-15 จาก 87 ความเห็น
ต่อหน้า: 1530 50