XCOM 2
[WOTC] Iridar's Armor Overhaul 2.0
Modded Armor Configurations
I do have another question. To get this mod to work with other armors (Hive, Psi, Chosen armor, etc.), we will need to make additions to the XcomDefensiveOverhaul.ini and XcomGameCore.ini. Something similar to this?:

For XcomDefensiveOverhaul

+PatchArmorStatAbilities = "PsiArmorBonusStats"
+PatchArmorStatAbilities = "TitanArmorStats"
+PatchArmorStatAbilities = "GrandTitanArmorStats"
+PatchArmorStatAbilities = "MetionBattlesuitStats"
+PatchArmorStatAbilities = "HiveQueenArmorStats"
+PatchArmorStatAbilities = "FortressArmorStats"
+PatchArmorStatAbilities = "ShadeArmorStats"
+PatchArmorStatAbilities = "OrionArmorStats"


For XcomGameCore.ini

;[EUPsiArmor.X2Item_PsiArmor]
-PSI_SUIT_HP_BONUS = 5
+PSI_SUIT_HP_BONUS = 2

;[PlayableTitanArmor.X2Item_TitanArmor]
-TITAN_ARMOR_HEALTH_BONUS = 8
+TITAN_ARMOR_HEALTH_BONUS = 1

-GRAND_TITAN_ARMOR_HEALTH_BONUS = 10
+GRAND_TITAN_ARMOR_HEALTH_BONUS = 2

;[CustodianPack.X2Ability_MetionBattleSuit]
-METION_HEALTH_BONUS=8
+METION_HEALTH_BONUS=2

;[TheHive.X2Item_HiveArmor]
-CX_QUEEN_HEALTH_BONUS = 8
+CX_QUEEN_HEALTH_BONUS = 2

;Fortress Armor Stats
-FORTRESS_HEALTH_BONUS=7
+FORTRESS_HEALTH_BONUS=2

;Shade Armor Stats
-SHADE_HEALTH_BONUS=7
+SHADE_HEALTH_BONUS=2

;Orion Armor Stats
-ORION_HEALTH_BONUS=7
+ORION_HEALTH_BONUS=2


I tried these changes and it didn't seem to apply at all for these armors (both HP changes and Plating). Did I do something wrong with the code or am I overlooking something?
< >
Showing 1-4 of 4 comments
Iridar  [developer] 26 Oct, 2020 @ 11:26pm 
It's not possible for mods to reliably change config of other mods due to mod load order issues.
DragonKingAbashī 27 Oct, 2020 @ 4:08am 
Okay then. Thank you again, Iridar for your help and for the awesome mods!
Iridar  [developer] 29 Oct, 2020 @ 2:22am 
Originally posted by DragonKingAbashī:
Okay then. Thank you again, Iridar for your help and for the awesome mods!
If you are interested in providing config for mod-added armors, I can create a way to override HP granted by specific armor through script. It would work through config for Armor Overhaul, something like:

+OVERRIDE_ARMOR_HEALTH_BONUS = (Ability = "PsiArmorBonusStats", Health = 2)
DragonKingAbashī 29 Oct, 2020 @ 1:17pm 
Originally posted by Iridar:
Originally posted by DragonKingAbashī:
Okay then. Thank you again, Iridar for your help and for the awesome mods!
If you are interested in providing config for mod-added armors, I can create a way to override HP granted by specific armor through script. It would work through config for Armor Overhaul, something like:

+OVERRIDE_ARMOR_HEALTH_BONUS = (Ability = "PsiArmorBonusStats", Health = 2)

That would be great! But that is up to you if you want to add that feature.

Sadly, my knowledge for modding only extends to some of the configs, so I wouldn't be much help with anything else. But I am willing to help out in what I can do!
Last edited by DragonKingAbashī; 29 Oct, 2020 @ 1:29pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50