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?
< >
Menampilkan 1-4 dari 4 komentar
Iridar  [pengembang] 26 Okt 2020 @ 11:26pm 
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  [pengembang] 29 Okt 2020 @ 2:22am 
Diposting pertama kali oleh 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)
Diposting pertama kali oleh Iridar:
Diposting pertama kali oleh 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!
Terakhir diedit oleh DragonKingAbashī; 29 Okt 2020 @ 1:29pm
< >
Menampilkan 1-4 dari 4 komentar
Per halaman: 1530 50