XCOM 2
99 ratings
[WOTC] Complicated Red Fog
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.242 MB
23 Oct, 2019 @ 7:22pm
7 Apr @ 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
8 Jul, 2021 @ 4:47am
Custom configuration
Nemo Jr.
132 Comments
ArnNied 26 Jun @ 7:51am 
Yea the percentage on aim/offense is really messed up. I just got back to XCOM 2 and I was messing around with the .ini before reading your updates and updated description. It was working with the bug (adding a bonus instead of a penalty), but now it's just crashing my game. I even cleaned my mod config folder (the one in my "Documents/My Games/...") a couple times but it's still crashing. Had to disable this mod for now, or maybe use an integer instead of a percentage (not my cup of tea) down the line.

Is there any way for me (or us) to use an older release instead? I remembered this working flawlessly (as far as I can tell) like on January the last time I played it. Since the update at 24 February is what probably caused it to start bugging.

I don't think steam support "releases" like nexusmods or github.
Dragon32 10 Jun @ 2:37pm 
@basilbattery
Damage one of your troopers with a grenade, does their Aim go down?
basilbattery 10 Jun @ 1:03pm 
How can understand in game interface that this mod is working? Any info or sign of it for my team and enemy?
HaziTru 16 May @ 2:07am 
Okay thank you
RedDobe  [author] 15 May @ 3:22pm 
The bug only has to do with aim. Everything else can use a percentage.
HaziTru 15 May @ 1:01pm 
@Dragon32 Okay ill change the ini thanks for your help. So i just false everywhere there is bPercentage?
Dragon32 15 May @ 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 15 May @ 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 15 May @ 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 14 May @ 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...