XCOM 2
0 of 0

File information

Last updated

Original upload

Created by

MachDelta

Uploaded by

MachDelta

Virus scan

Safe to use

Tags for this mod

About this mod

Adjusts soldier recovery time to more closely match the amount of health they lost on mission.

Permissions and credits
LATEST VERSION: v1.2
-Widened some ranges slightly, hopefully it's a better progression.




Summary:
This mod increases the number of wound severity categories, and tweaks their values for slightly narrower ranges. The goal of this tweak is to adjust soldier recovery time to more closely match the amount of health they lost on mission.


Detailed Explanation:
From what I can surmise in the game scripts, soldiers wounded on missions are categorized by the percentage of health they lost out of their total (including the armor they were wearing). This percentage then puts them into a certain wound severity category, and each category has a minimum and maximum range. The game picks a number at random from this range, and that number is translated into a certain amount of days wounded, which also translates into wound severity (eg: lightly wounded, wounded, or gravely wounded).

The base game only ships with four wound severity categories, spanning from 1-20% health remaining, 21-50% health remaining, 51%-75% health remaining, and 76-99% health remaining. The points ranges for these categories overlap heavily - this means that a soldier who falls into the bottom category (less than 20% health) can actually roll a number only slightly higher than a soldier who falls into the top category (76-99% health), making their wounded times similar even though their wounds were not.

This mod overwrites the wound severity categories in XComGameData.ini, and then increases the number of categories from 4 to 10, in 10% increments. Additionally, each category has had it's minimum and maximum values narrowed slightly, so that a soldier who returns with only 25% health should always be wounded longer than a soldier who returned with 50% health. Under the default system these soldiers would be in the same category and thus it would be completely up to chance who was wounded longer.


I have tried to roughly follow the same scaling as the default game, please let me know in the feedback if you feel it's too far off in either direction.

Also note that this mod will NOT affect soldiers who are already wounded (as that would require a lot of code to dig through game history), it will only affect soldiers injured after the mod is installed.




Installation:
Unzip the contents to your ..\XCOM 2\XComGame\Mods\ folder.