XCOM 2
More Traits
168 kommentarer
Kryo 17. nov. kl. 20:06 
Interesting. Though I'd like an alternate that allows for powerful positives to result from mission successes and less powerful positives from infirmary. Just seems weird to dismiss the effects of GOOD therapy, which I have to assume the Avenger personnel are top tier ;p
Daddy Takeda 1. juli kl. 17:30 
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. maj kl. 22:05 
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. maj kl. 15:51 
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. maj kl. 9:09 
@Blixtgordon11 - It is definitely already compatible with RPGO. It's been on my modlist for years.
EvilBob22 18. maj kl. 9:54 
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. maj kl. 9:24 
Is it possible to make this compadible with RPGO?
BlackDog 25. okt. 2024 kl. 9:46 
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. okt. 2024 kl. 12:43 
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. okt. 2024 kl. 12:18 
I wish someone would make a "positive traits" mod without the hidden systems.
Putte 23. sep. 2024 kl. 8:12 
@RealityMachina is it something you would consider looking into?
Putte 14. sep. 2024 kl. 21:45 
yeah i was trying to adapt it but gave up since it seemed too complicated :steamsad:
EvilBob22 14. sep. 2024 kl. 9:56 
Oh, and part of the fix is in X2DownloadableContentInfo_OddS9Tweaks.uc too.
EvilBob22 14. sep. 2024 kl. 9:54 
It's a code change, not just config settings (see X2Effect_Pitcher_Fix.uc in that mod).
Putte 14. sep. 2024 kl. 7:00 
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 kl. 3:04 
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. juni 2024 kl. 2:28 
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 kl. 15:50 
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 kl. 15:23 
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 kl. 5:57 
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. okt. 2023 kl. 7:13 
@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. okt. 2023 kl. 2:40 
Is safe to put this mod mid campaing?
EvilBob22 15. sep. 2023 kl. 14:56 
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 kl. 14:15 
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 ♥♥♥♥♥♥♥ zombie, or a tier-1 mec which they've destroyed 50 of already.
blueblack 30. juli 2023 kl. 18:18 
@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. juli 2023 kl. 11:25 
Example: GiveTraitToUnit FearOfSectoids Todd Howard
EvilBob22 30. juli 2023 kl. 11:22 
@blueblack GiveTraitToUnit TraitName SoldierFirstName SoldierLastName
blueblack 30. juli 2023 kl. 10:21 
Is there a way to add traits via console command? If so, what would be the exact syntax?
Thx
EvilBob22 2. jan. 2023 kl. 21:11 
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 kl. 15:51 
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 kl. 9:30 
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 kl. 15:35 
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 kl. 14:19 
That sounds like the same problem as the last few comments. Was your game running slowly before the crash?
ShinyRobotGod 7. nov. 2022 kl. 11:57 
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 kl. 6:45 
@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. okt. 2022 kl. 18:38 
@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. okt. 2022 kl. 19:26 
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 kl. 0:40 
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. maj 2022 kl. 10:10 
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 kl. 12:20 
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 kl. 8:56 
@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 kl. 4:58 
@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 kl. 4:53 
@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 kl. 11:57 
@Alastair - Some ofd your soldiers can start with positive traits.
Alastair 22. feb. 2022 kl. 9:47 
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.
Cavalo 7. dec. 2021 kl. 11:42 
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 kl. 6:34 
@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 kl. 10:56 
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. okt. 2021 kl. 3:24 
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.