XCOM 2
[WOTC] Damage Calculation Tweaks
49 件のコメント
Narlindir 6月1日 6時03分 
or am i umb and i just found what this mop changed in the highlander options?
Narlindir 6月1日 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 2月22日 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 2024年9月27日 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.
古代 2023年9月30日 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 2023年7月18日 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 2023年3月4日 8時13分 
Will this conflict with EW aim mod?
Dęąth Viper 2022年10月19日 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 2021年11月8日 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 2021年5月18日 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 2021年5月13日 9時36分 
Compatibility with LWOTC?
Dragonlord 2021年2月12日 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 2020年12月26日 11時34分 
Oh man, I didn't even know this was a thing in the game. Nice!
President_Ex 2020年12月1日 14時54分 
Is there any way I could tweak this mod or the highlander itself to make all damage ignore armor?
NotSoLoneWolf  [作成者] 2020年11月8日 2時12分 
Updated the mod requirements and description to the Stable highlander, the Beta highlander is no longer required.
Antinomy 2020年11月4日 12時53分 
@Burnout Thanks for the update about highlander.
Sweet6Shooter 2020年10月23日 21時55分 
@Burnout Thanks for the tip!
Burnout 2020年10月23日 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 2020年9月17日 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 2020年7月10日 14時42分 
Would you be able to change poison damage to bypassing ablative points somehow?
Deacon Ivory 2020年6月19日 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 2020年6月18日 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  [作成者] 2020年6月17日 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 2020年6月17日 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 2020年6月17日 8時50分 
Replacing normal highlander with beta one gives me 45 missing dependencies and crashes the game at load.
Malek Deneith 2020年6月12日 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 2020年6月6日 17時07分 
I dreamed of*
Zigg Price 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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 2020年6月6日 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://steamproxy.net/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 2020年6月5日 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 2020年6月5日 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  [作成者] 2020年6月5日 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 2020年6月3日 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 2020年6月3日 16時11分 
How did you give advent ablative armor?
starlancer 2020年6月3日 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  [作成者] 2020年6月2日 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 2020年6月2日 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 2020年6月2日 4時36分 
Would I be right in assuming this would work.with the CI highlander?
ZiggyTouyeul 2020年6月1日 20時07分 
Nice, looking forward to try it out in the future once the changes are passed into the stable branch of Highlander.
VoidLight 2020年6月1日 18時30分 
I like the change but not ready to use the beta version of highlander on my large mod list.