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?
< >
Viser 1-4 af 4 kommentarer
Iridar  [udvikler] 26. okt. 2020 kl. 23:26 
It's not possible for mods to reliably change config of other mods due to mod load order issues.
DragonKingAbashī 27. okt. 2020 kl. 4:08 
Okay then. Thank you again, Iridar for your help and for the awesome mods!
Iridar  [udvikler] 29. okt. 2020 kl. 2:22 
Oprindeligt skrevet af 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. okt. 2020 kl. 13:17 
Oprindeligt skrevet af Iridar:
Oprindeligt skrevet af 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!
Sidst redigeret af DragonKingAbashī; 29. okt. 2020 kl. 13:29
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50