XCOM 2
More Traits
167 Comments
Daddy Takeda 1 Jul @ 5:30pm 
For f--k sake. Completely forgot that to get positive traits, you need to not remove the negative trait through infirmary... :sad_seagull:
EvilBob22 30 May @ 10:05pm 
Traits have to be added via code.

Semi-Technical: They need an ability setup (base game is in X2Ability_TraitGrantedAbilitySet.uc), an event listener (X2EventListener_DefaultTraits.uc), some config settings (XComGameCore.ini), and some localization settings. It probably would help to start with looking at the code here and/or another mod that adds traits (MOCX, The Hive, my mod More Traits Enhancements and Bridge, etc.).
Wrath 30 May @ 3:51pm 
Great great great mod!
Been using it for years
two questions :

1 - what is the number of the folder for this mod in the 268500 mod folder ?
2 - How can we add / create more traits ?
Scroller 19 May @ 9:09am 
@Blixtgordon11 - It is definitely already compatible with RPGO. It's been on my modlist for years.
EvilBob22 18 May @ 9:54am 
This mod just adds traits to the pool of potential traits a soldier can get, so it should already be compatible with RPGO.
Blixtgordon11 18 May @ 9:24am 
Is it possible to make this compadible with RPGO?
BlackDog 25 Oct, 2024 @ 9:46am 
Hey RM, quick one:
XComGame.int, line 77 - TraitFriendlyName has a typo: "Insurordinate" instead of "Insubordinate" - I keep coming across this but forgetting to report it! :)
EvilBob22 13 Oct, 2024 @ 12:43pm 
If you use "Starting Traits" with "More Traits" and ignore the hidden system, that's basically the same as a "Positive Traits" mod. You can also tweak the chances in Starting Traits to make positive ones more frequent vs negative ones.
X-COM 13 Oct, 2024 @ 12:18pm 
I wish someone would make a "positive traits" mod without the hidden systems.
Putte 23 Sep, 2024 @ 8:12am 
@RealityMachina is it something you would consider looking into?
Putte 14 Sep, 2024 @ 9:45pm 
yeah i was trying to adapt it but gave up since it seemed too complicated :steamsad:
EvilBob22 14 Sep, 2024 @ 9:56am 
Oh, and part of the fix is in X2DownloadableContentInfo_OddS9Tweaks.uc too.
EvilBob22 14 Sep, 2024 @ 9:54am 
It's a code change, not just config settings (see X2Effect_Pitcher_Fix.uc in that mod).
Putte 14 Sep, 2024 @ 7:00am 
How would we go about fixing the League Pitcher trait? I know the youtuber ChristopherOdd got it fixed in this mod somewhere, but no idea where or how to implement just the fix...
TheSailingRobin 14 Sep, 2024 @ 3:04am 
Hey, how can I edit the file to REMOVE some traits from the possible rolls?
I've tried removing or un-commenting some traits from the XComGameCore.ini but they still show up on fresh Campaign rosters.
The True Pacman 3 Jun, 2024 @ 2:28am 
Here's my strong recommendation for @EvilBob22's "More Traits Bridge" mod to compliment this one. As far as I can tell, you don't need the mods its bridging for to be installed, my recommendation is for one key feature: the addition of the "Sadistic" trait.

Led to an amusing and memorable moment in my own campaign.
You can read about it in that mod's comment section.
FeeL 27 Apr, 2024 @ 3:50pm 
ahh sorry my bad, after some more testing i figured out, that game crashes if character from mod [WOTC] Rescue Denmother get any of traits...then game crashes.
FeeL 27 Apr, 2024 @ 3:23pm 
hello, anyone had problems with "ferocious" trait? after a mission i got few traits and after going to soldier list game crashes, i did some testing and figured out that even with console if i add "ferocious" trait to anyone the game will crash if ill try to go to soldier list, any help, advice?
Caine 27 Feb, 2024 @ 5:57am 
League Pitcher doesn't work. From what I could find, it gives a 3% boost to throw range, which means nothing. I tried higher settings like 10, 30, 100% and there is zero change in throw distance.
EvilBob22 12 Oct, 2023 @ 7:13am 
@Snalder I'm reasonably certain it's safe. Make sure to back up your campaign just in case I'm wrong though. Removing it while your soldiers have one of the new traits is more likely to cause issues (although even then, I think it'll still be ok, they'll probably just lose the removed trait).
Snaider 12 Oct, 2023 @ 2:40am 
Is safe to put this mod mid campaing?
EvilBob22 15 Sep, 2023 @ 2:56pm 
Nope, it only adds a bunch of traits, it doesn't touch the chances. Could your guys be getting a crit that is mostly mitigated? I don't remember the checks for sure, but I think getting crit gives you a chance to gain a trait regardless of the actual damage taken.

As far as which trait you get: enemies, and some attack types, have a setting for which trait you "should" get. So, if a Sectoid smacks you hard and you get a trait from it, it'll be fear of Sectoids. And if you catch on fire, you might get fear of fire. But, some enemies don't have that setting. If an Andromedon (I'm pretty sure they don't have the setting) smacks you and you are supposed to get a trait, the game sees it doesn't have an associated trait and just rolls a random one.
Killerkitty641 15 Sep, 2023 @ 2:15pm 
Heya, just wanted to check, but does this mod change (specifically, increase) the likelyhood of a soldier getting a negative trait? Because it feels like every mission one of my troops comes back with a negative trait. Perfect missions aside, anyone who comes back with even 1 point of damage feels like they suddenly get a negative trait, and I'm not aware of any other mod which I use which could affect this.

I have had it before where a dude took 1 point of damage and suddenly developed a fear of the Lost. There were no lost on that mission either. So I'm really confused and a bit annoyed, since 2/3rds of my roster are full of negative traits and I have veteran soldiers randomly freaking out because they see a single fucking zombie, or a tier-1 mec which they've destroyed 50 of already.
blueblack 30 Jul, 2023 @ 6:18pm 
@EvilBob22 ... many thanks for the quick reply! That worked! ... in the past I always put the name in quotation marks, as I have googled some reddit postings ... it was driving me nuts already ...
EvilBob22 30 Jul, 2023 @ 11:25am 
Example: GiveTraitToUnit FearOfSectoids Todd Howard
EvilBob22 30 Jul, 2023 @ 11:22am 
@blueblack GiveTraitToUnit TraitName SoldierFirstName SoldierLastName
blueblack 30 Jul, 2023 @ 10:21am 
Is there a way to add traits via console command? If so, what would be the exact syntax?
Thx
EvilBob22 2 Jan, 2023 @ 9:11pm 
I found a minor bug in the Critic and Insubordinate traits: they show up in tactical as an icon with no name or description (their passives are missing from the localization files). This needs to be added to XComGame.int:

[TraitAbility_Insubordinate X2AbilityTemplate]
LocFriendlyName="Insubordinate"
LocLongDescription="Chance to cause panic among squad when up against deadly odds."

[TraitAbility_Critic X2AbilityTemplate]
LocFriendlyName="Perfectionist"
LocLongDescription="Chance to cause panic among squad when the squad misses shots"

Also, under [Trait_Insubordinate X2TraitTemplate] the TraitFriendlyName is misspelled as "Insurordinate"
neuromancer 11 Nov, 2022 @ 3:51pm 
For some reason I thought this was normal behaviour in XCom 2...

Anyone know if this has any problems in Long War of the Chosen?
ShinyRobotGod 8 Nov, 2022 @ 9:30am 
I was able to remove this mod mid-campaign (and unsub, delete, rebuild config, temporarily activate "Remove Mission Mods for WotC" tool) and continue.
ShinyRobotGod 7 Nov, 2022 @ 3:35pm 
No my game was running fine. At the end of a mission one soldier got a new trait. The game crashed immediately on trying to "view soldiers". I had it happen earlier today on another mission, but in that case when I reloaded nobody rolled a new trait and I just went on. This time, a new trait keeps getting rolled every time I reload. I may experiment with letting someone get hurt so the mission isn't flawless. Also, realized below that 16 Oct is when I last played before today, but not necessarily the last time one of my soldiers rolled a new trait. That could have been days or weeks before that.
EvilBob22 7 Nov, 2022 @ 2:19pm 
That sounds like the same problem as the last few comments. Was your game running slowly before the crash?
ShinyRobotGod 7 Nov, 2022 @ 11:57am 
This mod was working for me through 16 Oct. Didn't play again until today. Now whenever I get a new trait, the game crashes when trying to view soldiers. If it helps, since 16 Oct the following mods updated: Compact Perks for Armory, Detailed Soldier Lists Redux.
EvilBob22 2 Nov, 2022 @ 6:45am 
@RustyDios: I think the crashing with DSL is from a memory leak. Yesterday, I was messing around with trait icons and had a bunch of stuff open, including XCom 2 in a late game save with a lot of history. After adding a bunch of traits (it didn't matter which ones, although they might have needed to be not already on another soldier) I noticed the tab key stopped auto-completing partial commands in the console. Then I only had one or two more traits I could add before crashing. It happened the same way 3 or 4 times.
Razor 19 Oct, 2022 @ 6:38pm 
@TM92Tombstoner OMG thank you, finished a mission and got a trait and kept crashing and couldn’t figure it out. As soon as i disabled Detailed Soldier List Redux i was able to load the list. I tried redoing the mission and got 3 different traits poison tolerant/comeback kid/Inspirational but didn’t matter always crashed on the solider list.
RustyDios 3 Oct, 2022 @ 7:26pm 
That's certainly weird. Especially as all DSL wants is the Icon.
Even more so that I and several people I know use this mod with the DSL Redux perfectly fine
Including with units having the Hunter of Chosen trait ...

Will investigate, sorry for any inconvenience @TM92Tombstoner
TM92Tombstoner 20 Sep, 2022 @ 12:40am 
FYI to anyone who still has this mod installed: Certain traits seem to be incompatible with Detailed Soldier List or RustyDios' Redux version of that mod. For me, it was Hunter of Chosen. When trying to view the soldier list through the armory, it would instantly crash. Unsubbing from those mods or this one will fix the issue (unless RealityMachina updates this one in future).
MrT 21 May, 2022 @ 10:10am 
I had a soldier with Ferocious put into bleedout after getting their first fatal blow... Not quite the 'too angry to die' outcome I hoped for.
Johrdan720 13 Mar, 2022 @ 12:20pm 
i din't think the negative to positive trait is working
my soldier has fear of heights, with 3 flawless mission allready, and the infirmary is built !!
Alastair 24 Feb, 2022 @ 8:56am 
@Scroller - Yep would be cool. Or even just a bit more random way. That said if you manage to get 2 or more soilders with Overseer it is basically GG to anything that can get hit with overwatch. As they can just chain all day till they run out of ammo.
Scroller 24 Feb, 2022 @ 4:58am 
@Alastair - Earning positive traits through certain actions would be quite cool and could be influenced to get specific ones - eg: kill lits of sectoids to get sectoid hunter.
Alastair 24 Feb, 2022 @ 4:53am 
@Scroller - True but that is lots of hiring and stuff. So the ones I get at the start or those I form attachments to aren't likely to get them. I just wish there was some way to get them for already generated soildiers without needing to go through the bad traits first.
Scroller 22 Feb, 2022 @ 11:57am 
@Alastair - Some ofd your soldiers can start with positive traits.
Alastair 22 Feb, 2022 @ 9:47am 
So I like but also don't like this mod. Since while it is a cool idea. It requires you to get a bad trait first. I get overcoming adversity and coming out stronger. But with no way to get a positive trait without screwing up and getting a negative trait first it is kinda annoying.
Lunatic Mel 7 Dec, 2021 @ 11:42am 
Is there some way to change the positive trait system? Because i like playing with beta strike activated and getting flawless ratings there is much, much harder....
Scroller 22 Nov, 2021 @ 6:34am 
@nauba - I have both installed and the trait recovery still works. As long as you have the infirmary built and can get them through enough missions without injuries then it should work for you too. It is random, so it could just be down to luck.
nauba 20 Nov, 2021 @ 10:56am 
This mod worked great for me until I started using Cover Infiltrations. Now it looks like soldiers never recover from negative traits any longer unless I'm very, very unlucky. Anyone have a similar experience or can confirm it should work with CI ?
jay 5 Oct, 2021 @ 3:24am 
Love this mod, really helps to make your soldiers unique. Good job and thanks. Quick question. How many missions does a soldier need to go on in order to switch a negative trait into a positive. Is it a fixed amount or a chance based? Is this something that can be altered through the config files? Thanks again.
Kyojin 29 Sep, 2021 @ 11:37pm 
Other people having issue with overseer not working?
The overwatch sound trigger but the soldier doesn't enter overwatch.