XCOM 2
Exclude Same Class Skills
22 則留言
Riekopo 2021 年 12 月 20 日 上午 3:11 
Is this in Highlander already?
/!X\Space\\^//Badger/X!\ 2018 年 6 月 23 日 上午 9:12 
I've run into this problem, only on Dragunova, Mox, and Vega (all three heroes), unfortunately. I'm going to try this mod, and hope it fixes the problem, because it's causing me to not only lose abilities, but lose requirements for *other* abilities, up the tree.
DroZzhat 2017 年 9 月 24 日 下午 3:17 
According to the update notes on X2WOTCCommunityHighlander, yes, it's also already fixed by that. If you don't want to use the community pack for whatever reason, this still fits the bill.
-zK- 2017 年 9 月 24 日 上午 8:09 
Thanks for answering. It would just be nice to know so we can have a cleaner mod collection, without overlapping. The CommunityHighlander is doing a great job condensing all bug fixes in one single mod and I think you should help out, if you can of course. xD
kregano  [作者] 2017 年 9 月 24 日 上午 7:19 
@-zK-: Not sure, I haven't poked around in that thing yet.
-zK- 2017 年 9 月 23 日 下午 7:42 
Did the X2WOTCCommunityHighlander make this mod "unnecessary"?
Uhuru N’Uru 2017 年 9 月 7 日 上午 4:50 
@ William Harvey, just read your comment, after posting.
Your conclusion appears partially correct, as they removed the quotes from the soldier classes as well. It appesrs this is the cause of the problem, which I missed in my last post.
I was too focussed on the file contents. They are not ignored, at all, as your tests show.

Testing for removing the quotes, needs to be done, as that was clearly the original intention.
Having used mass test editing, plus I initially tried searching for lines ending with quotes. and found none, I'm positive this was the specific mistake the devs made.

The usual standard is, quotes are required for names with spaces in them.
Quotes also work, but are not required, if no spaces are used.

I think devs tried to simplify the user config editing, and made the mistake with commented lines.

Testing would need doing, but I think we'll find no quotes also works just fine.
Quotes will work just as well, but if devs patch this, I expect they will remove them.
Uhuru N’Uru 2017 年 9 月 7 日 上午 4:22 
@ kregano Confirm Alexandr is wrong, from unmodified Vanilla Files

DefaultClassData.ini

[XComGame.X2SoldierClass_DefaultClasses]
SoldierClasses="Ranger"

[Ranger X2SoldierClassTemplate]
ExcludedAbilities="LightningReflexes" ; prevent conflict with Shadowstep
ExcludedAbilities="EverVigilant" ; prevent conflict with DeepCover

XComClassData.ini

[XComGame.X2SoldierClass_DefaultClasses]
SoldierClasses=Ranger

[Ranger X2SoldierClassTemplate]
ExcludedAbilities=LightningReflexes" ; prevent conflict with Shadowstep
ExcludedAbilities=EverVigilant" ; prevent conflict with DeepCover

The fact Game (Default), contains quote marks, and User (Xcom) doesn't where they end the line, but leaves them, when a comment is added, suggests a "Replace All" text editing failure.

Technically they are a vanilla bug, but the single quote must just be ignored.
Indeed as game uses quotes, and User doesn't, it suggests they are ignored anyway.
William Whisky 2017 年 9 月 6 日 下午 6:00 
After subscribing to this mod, I still ran into soldier with extra skill from the same class.

I noticed the ini (both of the mod and of the game) didn't have the quote mark (") at the beginning of the skill (right after the '=' sign). So I added the quote sign in, and used the console to level up 30-40 rookies, none has the extra skill from the same class.

So it seems Firaxis made a bug in their ini. It needs the quote mark.
Droklet 2017 年 9 月 4 日 下午 1:24 
@Drakster yes its happens all the time for my rangers . keep getting 2x shadowstep or run and gun ...
Droklet 2017 年 9 月 4 日 下午 1:23 
thanks for this , literally every soldier what i have go some skill 2x .. this help a lot
Alexandr 2017 年 9 月 4 日 上午 10:59 
Weird, because in my classdata.ini file, all the skills are properly listed with quotation marks around both the beginning and end of a skill's name.
Juravis 2017 年 9 月 4 日 上午 10:52 
It's a dev error then, i suggest removing them or adding a second pair right before the ability name. They are there to denote a string start and end.
kregano  [作者] 2017 年 9 月 4 日 上午 10:43 
@ADVENT Avenger: That's not my typo. That's how they're formatted in the game's exclusions, and I simply followed suit to ensure it'd work.
Alexandr 2017 年 9 月 4 日 上午 10:33 
I have personally never seen this bug in a few hundred randomly-generated soldier trees and I do have SPARKs with AWC Skills on.
Juravis 2017 年 9 月 4 日 上午 9:12 
INI file typo, all lines end with " but there arent any starting ones. Just remove the ".
Ford Ranger 2017 年 9 月 4 日 上午 8:33 
@kregano did those two people mod their Sparks to use the AP system? Because if you do that it adds a second copy of shredder into the pool that a heavy can roll and messes everything up. It'll also happen with any mod classes that have copies of the same skills.
kregano  [作者] 2017 年 9 月 4 日 上午 8:02 
@Drakster: It has happened to at least 2 people I know of, and apparently can lock you out of some skills, depending on placement.

And it only affects the base game classes, since the Faction soldiers explicitly list which XCOM skills they can get in their .ini file entries.
Vaeringjar 2017 年 9 月 4 日 上午 7:57 
I don't understand either
Drakster 2017 年 9 月 4 日 上午 7:46 
I don't quite understand.. right now there is a chance that any soldier gets skills in the training center that he would get in his normal skill tree anyway?
MayMayNaenae 2017 年 9 月 4 日 上午 7:39 
Thank you, good Sir or Madam or both.