XCOM 2
[WOTC] Iridar's Armor Overhaul 2.0
DragonKingAbashī 2020 年 10 月 26 日 下午 5:16
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?
< >
目前顯示第 1-4 則留言,共 4
Iridar  [開發人員] 2020 年 10 月 26 日 下午 11:26 
It's not possible for mods to reliably change config of other mods due to mod load order issues.
DragonKingAbashī 2020 年 10 月 27 日 上午 4:08 
Okay then. Thank you again, Iridar for your help and for the awesome mods!
Iridar  [開發人員] 2020 年 10 月 29 日 上午 2:22 
引用自 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ī 2020 年 10 月 29 日 下午 1:17 
引用自 Iridar
引用自 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!
最後修改者:DragonKingAbashī; 2020 年 10 月 29 日 下午 1:29
< >
目前顯示第 1-4 則留言,共 4
每頁顯示: 1530 50