XCOM 2
25 ratings
[WOTC] Covert Slot Reward Restrictor
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
96.396 KB
19 Dec, 2024 @ 4:20am
1 Change Note ( view )

Subscribe to download
[WOTC] Covert Slot Reward Restrictor

Description
Allows removing rewards from soldier slots on covert actions. Blocks stat gains by default, but can also be set to block promotions and other mod-added rewards.

Everything can be configured in the bundled XComCovertSlotRestrictor.ini config file. A ListCovertSlotRewards console command is also provided to find new rewards, in case you have a mod that is not covered by the defaults.

If adding this mod to a running campaign, note that it will only take effect for newly-rolled covert actions. (usually after the month ticks over)

This mod is a spiritual successor to Hotl3looded's excellent No Stat Boost From Covert Actions, which does not seem to be under active development anymore. If switching over from that mod, note these changes:
  • CSRR uses a configurable blocklist instead of blocking everything.
  • CSRR allows the promotion reward by default.
  • CSRR runs after other mods, fixing an issue where rewards could randomly pop back up.

The first change ensures compatibility with mods like Iridar's Bounty Hunter Class, which rely on having their own rewards always available. The second allows Covert Infiltration's Exhaustive Training covert op to work.

Note that while everything should work fine with Covert Infiltration, I have not yet tested it on a full campaign. I did not notice (and do not expect) any issues, but this mod does technically override some of CI's slot reward logic.

Rewards from both Psionics Ex Machina and Long War of the Chosen are included, but the LWOTC side is untested and disabled by default. I have not played LWOTC yet, so I don't know if those settings are correct -- let me know if you try them!
17 Comments
the__mentat 3 Feb @ 12:07pm 
Understood, makes since, and thanks.
XpanD  [author] 3 Feb @ 10:20am 
By default, if you remove a slot reward, the game will fill its place with another random reward. This means that all the remaining rewards will now show up more often. Extreme example: If you remove everything except for +health, /every/ slot reward on /every/ covert action will now be +health.

The placeholder option replaces removed rewards with invisible fakes, which keeps any remaining rewards at their intended rarity.
the__mentat 3 Feb @ 7:35am 
I didn't understand from the comments in the file as to what exactly does the "UsePlaceholders" do?
John keL1er 21 Jan @ 4:13am 
sorry, i got the wrong door (wrong mod)
XpanD  [author] 21 Jan @ 3:46am 
(also interesting that there's a Psi option in the list, wonder if that's a cut reward or if other parts of the game also use these)
XpanD  [author] 21 Jan @ 3:46am 
From what I can see, the game uses these values internally:

StatBoostTable=(PowerLevel=4, StatType=eStat_Mobility, MinBoost=1, MaxBoost=1)
StatBoostTable=(PowerLevel=4, StatType=eStat_HP, MinBoost=1, MaxBoost=1)
StatBoostTable=(PowerLevel=4, StatType=eStat_Will, MinBoost=3, MaxBoost=5)
StatBoostTable=(PowerLevel=4, StatType=eStat_Offense, MinBoost=2, MaxBoost=4)
StatBoostTable=(PowerLevel=4, StatType=eStat_PsiOffense, MinBoost=1, MaxBoost=2)
StatBoostTable=(PowerLevel=4, StatType=eStat_Dodge, MinBoost=5, MaxBoost=10)
StatBoostTable=(PowerLevel=4, StatType=eStat_Hacking, MinBoost=3, MaxBoost=5)

I don't see any specific handling for slow/fast soldiers, the game seems to use the same logic for all of these. (and there are no separate reward templates for that either)
John keL1er 21 Jan @ 3:21am 
is it true that the mobility upgrade has a "fast upgrade" for fast soldiers and a "slow upgrade" for slow soldiers? can this be reversed ?
XpanD  [author] 13 Jan @ 2:56am 
What list? I'm not sure I understand.
RambelZambel 12 Jan @ 7:14am 
yea well, now it shows up, what joke, launch.log doesnt say anything too, dont know what happened
but where do see the list?
XpanD  [author] 12 Jan @ 6:51am 
Any chance you could send a screenshot with the command entered? Not sure what could cause that not to work, but would be good to rule a few things out.

As for which config to edit, I'd recommend asking in the XCOM 2 Modding Discord -- they'll likely know where to look if this is actually exposed to config.