XCOM 2
95 ratings
[WOTC] Complicated Red Fog
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.242 MB
Oct 23, 2019 @ 7:22pm
Apr 7 @ 6:37pm
11 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Complicated Red Fog

In 2 collections by RedDobe
V5.3 RedDobe Challenging Gameplay
213 items
RedDobe V6.0 (Everything you need for a unique fresh campaign)
251 items
Description
Red fog lowers the stats of units in battle as they become more injured and closer to death.

An updated version of red fog that includes more levels of red fog than simple red fog. Using the latest highlander the percentage option for offense and crit is fixed.

You can configure the number of breakpoints/levels of red fog (Default 20)

You can add Red Fog for any Stat

You can set the Red Fog as a percentage or flat penalty for each stat type. When setting as a percentage the stat will have only that percentage left at the most severe case. For example, a unit has an aim stat of 70. At the default .6 setting for offense the lowest the stat could go is .6 (60%) of 70 = 42 at the most severe red fog penalty. If you set it 0 then the stat can drop all the way to 0 at the most severe case.

by Default I have the following:

Affects all enemies and Xcom

The maximum red fog penalty occurs when hp reaches 0 and is a linear penalty from full hp.

Mobility Max Red Fog = 50% of base stat
Offense Max Red Fog = 60% of base stat
Will Max Red Fog = 60% of base stat
PSIOffense Max Red Fog = 60% of base stat
Hacking Max Red Fog = 60% of base stat

ComplicatedRedFog.ini
Set as many breakpoints as you want
add or remove as many stats as you want
set percentage to false for to use a flat penalty instead of %
Exclude certain characters
and much more!

Added an option in the ComplicatedRedFog.ini to enable bonus aiming angles for all teams, not just XCom. Why not since this mod already overrides that function anyway? By default it's disabled.

Known Issues
Any mod that overrides the GetHitChance function in X2AbilityToHitCalc_StandardAim and doesn’t apply the latest highlander updates to their override, won't allow you to use percentage Red Fog on crit and offense. Those numbers will bug out and add a bonus offense or crit instead of penalizing the injured unit. In the ini. you would have to change the red fog percentage to false for these two stats and set a negative number value instead.

Example
StatList[1]=eStat_Offense
SevereEffect[1]=-30
bPercentage[1]=false
FriendlyName[1]=eStat_Offense

Known Mods that override the above function

Extended Information does not display the correct hit chance on the flyover when the enemy unit has red fog.

No overrides but uses a new version of XModBase V3.0.0

Credit goes to Charmed for the original version of this mod.

Popular Discussions View All (1)
1
Jul 8, 2021 @ 4:47am
Custom configuration
Nemo Jr.
129 Comments
HaziTru May 16 @ 2:07am 
Okay thank you
RedDobe  [author] May 15 @ 3:22pm 
The bug only has to do with aim. Everything else can use a percentage.
HaziTru May 15 @ 1:01pm 
@Dragon32 Okay ill change the ini thanks for your help. So i just false everywhere there is bPercentage?
Dragon32 May 15 @ 12:35pm 
@HaziTru
Read that whole section, it sounds like you've another mod overriding the GetHitChance function in X2AbilityToHitCalc_StandardAim. Try using a grep tool on your mods folder. Or just change this mod's .ini
HaziTru May 15 @ 9:10am 
@Dragon32 No I am not, I just confirmed again. One of my soldiers got +53 aim and had 100% hit chance on everyone once wounded same for the AI.
Dragon32 May 15 @ 7:55am 
@HaziTru
Are you using EU Aim Rolls? I thought an update to that mod had fixed that. Try the Known Issues workaround.
HaziTru May 14 @ 5:58pm 
I noticed a bug, one of my soldiers was hurt and her aim dropped to 58, but it gave her plus 58 aim...
Dragon32 May 14 @ 10:28am 
@Dęąth Viper
Doesn't LWotC already have a Red Fog mechanic? Maybe as a Second Wave option?
Dęąth Viper May 14 @ 7:35am 
Does this work with LWOTC? Didnt see any info in the comments or description
RedDobe  [author] Feb 24 @ 6:33pm 
@jahainha - I am pretty sure that you can exclude characters, but I can’t recall if I added that.