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?
< >
Se afișează 1-4 din 4 comentarii
Iridar  [dezvoltator] 26 oct. 2020 la 23:26 
It's not possible for mods to reliably change config of other mods due to mod load order issues.
Okay then. Thank you again, Iridar for your help and for the awesome mods!
Iridar  [dezvoltator] 29 oct. 2020 la 2:22 
Postat inițial de 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)
Postat inițial de Iridar:
Postat inițial de 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!
Editat ultima dată de DragonKingAbashī; 29 oct. 2020 la 13:29
< >
Se afișează 1-4 din 4 comentarii
Per pagină: 1530 50