XCOM 2
[WOTC] Damage Calculation Tweaks
49 kommentarer
Narlindir 1. juni kl. 6:03 
or am i umb and i just found what this mop changed in the highlander options?
Narlindir 1. juni kl. 5:31 
afaik in community highlander there is an option for this in the ini files
go to 1134256495\Config
or use the mod launcher to jump to "show in explorer"
then then XComGameCore.ini

you should find

Issue 743
; Set to false/commented out if you want damage to hit shields/ablative, then armor, then health (vanilla behaviour)
; Set to true/uncomment it if you want damage to hit armor, then shield/ablative, then health
;ARMOR_BEFORE_SHIELD=true
Oh Hello There 22. feb. kl. 18:58 
@HiertotheStar I think HP from bubble weave and ablative platings are both shields so they can't be separated from each other
HeirtotheStar 27. sep. 2024 kl. 7:19 
Anyway to separate shield hp from ablative hp ? I have Bubble Weave from Additional Vest Mod installed and would like to have damage done to shield then armor then ablative.

Thank you.
Austere Hare 30. sep. 2023 kl. 0:35 
do you know if this works alongside irridars armor overhaul 2.0? where armor hp is converted to ablative instead of hp? :lunar2020halodragon: :steamthumbsup:
Zigg Price 18. juli 2023 kl. 21:47 
Could this cause poison damage to be reduced by armor? I have been seeing that a lot in my campaign, and trying to track down the source.
Mustang0524 4. mar. 2023 kl. 8:13 
Will this conflict with EW aim mod?
Dęąth Viper 19. okt. 2022 kl. 16:58 
Just finished a campaign with about 685 mods, this one included, and had no major issues! Thanks for putting this up.
Kevin from HP Customer Service 8. nov. 2021 kl. 18:56 
Is there anything out there (or a possibility for this mod) to get the damage preview (aka the blinking health bars on enemies) to take into account these damage calc changes?

It's a non-issue really for relatively "vanilla" games, until you meet a shieldbearer, then the dmg previews are all off
jackito 18. maj 2021 kl. 5:18 
One of the best mod ever. Fully compatible with LWOTC. Gives very useful opportunity if you modify stats of armor as well as shields, both for XCOM and Advent.
Arkay 13. maj 2021 kl. 9:36 
Compatibility with LWOTC?
Dragonlord 12. feb. 2021 kl. 11:34 
Great mod overall. Only thing is that vipers are obsolete now since they can't bypass armor. Is there a way to make their attack ignore armor?
BlazinHothead 26. dec. 2020 kl. 11:34 
Oh man, I didn't even know this was a thing in the game. Nice!
President_Ex 1. dec. 2020 kl. 14:54 
Is there any way I could tweak this mod or the highlander itself to make all damage ignore armor?
NotSoLoneWolf  [ophavsmand] 8. nov. 2020 kl. 2:12 
Updated the mod requirements and description to the Stable highlander, the Beta highlander is no longer required.
Antinomy 4. nov. 2020 kl. 12:53 
@Burnout Thanks for the update about highlander.
Sweet6Shooter 23. okt. 2020 kl. 21:55 
@Burnout Thanks for the tip!
Burnout 23. okt. 2020 kl. 18:18 
The stable Community Highlander was updated on 22nd October to v1.21.1, so now this mod works with that version and no longer needs the beta.

Also, GraceCB, the Highlander allows that too, and I think it has for a while. Open the Highlander's XComGameCore.ini, set "POISONED_IGNORES_SHIELDS" to true and make sure the line is not commented (";" at the start).
Hotl3looded 17. sep. 2020 kl. 5:22 
I second GraceCB's suggestion. It would make more sense. Also, do status effects abide by the new rule of dmg < armor = 0? Would a unit on fire with 4 armor take 0 damage from the fire?
Sweet6Shooter 10. juli 2020 kl. 14:42 
Would you be able to change poison damage to bypassing ablative points somehow?
Deacon Ivory 19. juni 2020 kl. 4:03 
Works when added mid-campaign. I can't speak to specifics but I'm seeing the proper damage affects and pop ups and haven't noticed that it's broken any other mods. Running it with ESO, Iridar's DIO, Mitzruti's Additional Vests, and CDR. Nice work @NSLW, this is going to change up the tactical game in interesting ways.
miku567 18. juni 2020 kl. 0:40 
@NotSoLoneWolf I've narrowed it down to Avatar Project-based diffilcuty, Trooper custom soldier class, and Grim's Headhunter and Bruiser custom soldier classes.
NotSoLoneWolf  [ophavsmand] 17. juni 2020 kl. 19:13 
@miku567
Not to be dismissive but if another mod in your modlist doesn't like something added in the Beta Highlander, I can't really do anything about that. Try to narrow down which mod doesn't play nice, then contact either that mod's developer or the highlander people.
Malek Deneith 17. juni 2020 kl. 9:00 
The missing dependencies thing is on the beta AML right? It registers missing dependencies based on mod ID, you could replace the ID in XComMod file from that of beta highlander to that of standard one and it'll stop reporting them.

Crashing is a separate issue though, hard to tell what sort of conflict could be causing this without more info.
miku567 17. juni 2020 kl. 8:50 
Replacing normal highlander with beta one gives me 45 missing dependencies and crashes the game at load.
Malek Deneith 12. juni 2020 kl. 4:41 
For anyone that's watching the comments here, Beta Highlander just got an update that's supposed to fix the invisible grenade bug.
Zigg Price 6. juni 2020 kl. 17:07 
I dreamed of*
Zigg Price 6. juni 2020 kl. 17:06 
I decided to give this a try, and it's everything u dreamed of. Especially when combined with Scarier Faceless. They are finally the early-mid game nightmare they are meant to be.
starlancer 6. juni 2020 kl. 16:43 
@CptnHappyTime Pie thanks you for your research in the ini. I'll just wait for the next update of Lwotc using the Highlander 1.21.
Malek Deneith 6. juni 2020 kl. 9:36 
The answer lies in the text you quoted:

"Note: works only when playing with Community Highlander v1.21 or higher."

Iridar simply put in a compatibility feature for those who switched to Beta version, this ini option won't do anything if you turn it on while remaining on stable one.
Zigg Price 6. juni 2020 kl. 9:29 
Iridar's Defensive Item Overhaul has this line in it:
"[XComGame.X2Effect_ApplyWeaponDamage]
; In base game War of the Chosen, attacks that get fully absorbed by Ablative HP cannot Shred Armor.
; Config below aims to change that.

; If this is set to "true", it will be possible for Armor Points to be shredded while dealing damage to Ablative HP.
; Affects both XCOM and enemies.
; Note: works only when playing with Community Highlander v1.21 or higher.
ARMOR_BEFORE_SHIELD = true"

Your mod requires the beta highlander, his requires the standard highlander. They both seem to be trying to accomplish the same thing. Is there a difference to what is happening, here? Do I need to be careful with my load order to make sure something doesn't clash?
Malek Deneith 6. juni 2020 kl. 3:42 
Dang it. I only started my own campaign like a day or two ago so I didn't have a reason to fiddle with grenade pocket, but after checking this does happen on my install as well with the Beta and I don't run LWotC either. That's a shame :/
CptnHappyTimePie 6. juni 2020 kl. 3:08 
@Malek Deneith I'm not using Lwotc nor have I ever. I only remembered to mention that in my final comment so the issue is present in a campaign without lwotc installed :/
Malek Deneith 6. juni 2020 kl. 2:56 
Considering starlancer mentioned the issue in context of LWotC I'm not sure if this should even be trying this with LWotC. I mean it explicitly comes with it's own install of Highlander because LWotC devs had to add stuff to Highlander to make it work, it's possible that Beta Highlander still doesn't have some LWotC related changes merged and that's what causing the grenade issue.
CptnHappyTimePie 6. juni 2020 kl. 2:54 
And your changes here make so much more sense, hence why I always set these to true too.

[XComGame.X2Effect_Burning]
BURNED_IGNORES_SHIELDS=true ; Make burn and acid DOT ignore shields

[XComGame.X2StatusEffects]
POISONED_IGNORES_SHIELDS=true ; Make poison DOT ignore shields

Only thing different @starlancer is I'm not using LWoTC, just WoTC :/
CptnHappyTimePie 6. juni 2020 kl. 2:51 
@NotSoLoneWolf I'm sorry for the mass messaging and hijacking your comments. I just saw someone else with the same problem, got excited and figured you'd be experienced with the Highlander and it's code and might be able to offer insight :/

Would editing the Beta Highlanders XComGameCore.ini and toggling the changes you've implemented here to 'True' do the same thing as having this mod installed?

Like this;

[XComGame.X2Effect_ApplyWeaponDamage]
; Issue 321
; Set to false/commented out if you want to still damage the target by 1 even if armor is more than incoming damage (vanilla behaviour)
; Set to true/uncomment it if you want damage that is less than target armor to be completely neutralized
NO_MINIMUM_DAMAGE=true

; Issue 743
; Set to false/commented out if you want damage to hit shields/ablative, then armor, then health (vanilla behaviour)
; Set to true/uncomment it if you want damage to hit armor, then shield/ablative, then health
ARMOR_BEFORE_SHIELD=true
CptnHappyTimePie 6. juni 2020 kl. 2:45 
@starlancer With the stable release I can select and choose which grenade, ammo or vest to equip. With the Beta it just defaults to a random one for each slot, and selecting them to change just brings up the blank black screen :/

I've yet to go back and try troubleshoot it though any insight anyone would have is appreciated. I did see the following in the Highlander and guess (noob know nothing honestly) these lines might do something....maybe...oh my...

In Highlanders XComGame.ini

[XComGame.CHHelpers]
;GrenadeRespectUniqueRule=false ; Set to true to make grenade slot respect unique items rule.
;AmmoSlotBypassUniqueRule=false ; Set to true to make ammo slot ignore unique items rule.
CptnHappyTimePie 6. juni 2020 kl. 2:41 
@starlancer I have the exact same problem with the latest Beta and it's killing me becauseI reallywish I could use this mod's changes :(

I've it set up so that all soldiers have a grenade, ammo and vest slot. Vest slot is from https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1293714688&searchtext=vest and the ammo & grenade slots are through class abilities unlocking them using the Highlander.

In an XCom.GameData.ini file I put the following to provide the Ammo & Grenade slots:

[XComGame.X2AbilityTemplateManager]

; Example Grenadier
+AbilityUnlocksAmmoPocket="LaunchGrenade"
+AbilityUnlocksGrenadePocket="LaunchGrenade"
+AbilityUnlocksExtraUtilitySlot="LaunchGrenade"

; Example Templar
+AbilityUnlocksAmmoPocket="Rend"
+AbilityUnlocksGrenadePocket="Rend"
;+AbilityUnlocksExtraUtilitySlot="Rend"
starlancer 5. juni 2020 kl. 11:19 
Speaking too fast .. I've trouble with the last Highlander release. When I would equipped a Grenadier with some others grenades , I've just a choice of a black window without choice of grenades. :)
Not your fault absolutly. So I'm back to the the highlander 1.20 and waiting to my guys in predator armor having a new mission to see if your mod is still working. I guess not, i suppose it's a new adding to the last release of Highlander. But well it's working with recommended , I can wait for the future. Still, i'll still thanks you for this mod.
Ulfur 5. juni 2020 kl. 1:34 
@NotSoLoneWolf That was the only concern I had about this mod. Gonna put it on favourite so I can find it once its ready for the stable version of the highlander, grats on making armour so much more useful for both XCOM and ADVENT alike
NotSoLoneWolf  [ophavsmand] 5. juni 2020 kl. 0:26 
@Ulfur
Shredding will still occur even if your attack is completely deflected by armour.

@Cody Bayliss
I simply edited the trooper and captain configs in XComGameData_CharacterStats.ini to give them a few points of the ShieldHP stat.
Ulfur 3. juni 2020 kl. 18:41 
So how would this work when it comes to say the shredder perk. Would it still shred armour even if the attack does 0 damage or would it need to be able to deal at minimum one point of damage for the shred to occur?
Cody Bayliss 3. juni 2020 kl. 16:11 
How did you give advent ablative armor?
starlancer 3. juni 2020 kl. 7:41 
Seems to work fine so far in my current Lwotc campaign with the last Highlander (1.21 Rc). Thanks you very much.
NotSoLoneWolf  [ophavsmand] 2. juni 2020 kl. 9:32 
@MrCloista
The Covert Infiltration Beta 2.5 highlander isn’t updated with the latest stuff. When we get the Beta 3 highlander together we’ll include all the things that were just added to the official beta highlander.
Malek Deneith 2. juni 2020 kl. 7:28 
Ooooh. I'll probably wait for stable Highlander release (esp. considering that on github there's already one fix to something in the current beta), but this looks like exactly something I could use, given that I run with armor HP turned to ablative.
MrCloista 2. juni 2020 kl. 4:36 
Would I be right in assuming this would work.with the CI highlander?
ZiggyTouyeul 1. juni 2020 kl. 20:07 
Nice, looking forward to try it out in the future once the changes are passed into the stable branch of Highlander.
VoidLight 1. juni 2020 kl. 18:30 
I like the change but not ready to use the beta version of highlander on my large mod list.