XCOM 2
[WOTC] Realistic Height Aim Modifiers
24 Comments
C7 11 Oct, 2023 @ 5:28am 
If the unit has the low profile perk (get high cover bonus if in low cover), then I guess this unit with height advantage and in low cover will get low cover + 2 * (high cover - low cover)?
C7 11 Oct, 2023 @ 4:47am 
Like the idea. Would be great if `added as +(high cover bonus - low cover bonus)` and `added as -low cover bonus` can be exposed as configurable values
davidtriune  [author] 14 Aug, 2023 @ 9:16pm 
@WaldoTheRanger nope i didn't do anything with the squadsight ability here.
WaldoTheRanger 13 Aug, 2023 @ 8:43am 
This doesn't happen to include a squadsight penalty does it?

Or would it mess with something that lowers squadsight penalty when on high ground?
Dragonlord 22 Dec, 2022 @ 4:29am 
@Rcoil personally I think it's the most realistic mod i have seen considering height
RCoil 16 Nov, 2022 @ 9:59am 
You are missing whole point of High Ground advantage, I think :))
davidtriune  [author] 1 Nov, 2022 @ 7:56am 
@RambelZambel thanks for catching that. I updated mod to ignore melee attacks.
MaCC165 1 Nov, 2022 @ 2:46am 
ok, i tested it, its not a vanilla thing, so beware this mod gives heightadvantage(-coverbonus) to melee attacks aswell, if u engage from high to low ground
Kawapatch 8 Jul, 2022 @ 3:29am 
Hey just wanted to let you guys know this unfortunately doesn't work with the jet shot ability from Iridar's Jet Packs. Not exactly sure why, but it's a shame it doesn't work as intended.
davidtriune  [author] 28 Jun, 2022 @ 2:04pm 
I rolled out a new update that correctly uses the formulas above. thanks Stukov81-T.TV.

(It was actually related to another bug from Community Highlander that erroneously reversed parameters Attacker and TargetUnit in the OverrideHasHeightAdvantage check. I am reporting this to the CH team.)
Stukov81-T.TV 28 Jun, 2022 @ 10:36am 
could you expose to config the amount of cover bonus it denies? As it is now it seems to deny the vanilla cover bonusses, so if you have increased or decreased those it gives a mismatch. Not too big an issue.

Another note: Cover still gives the Damage Reduction Bonus if you use that mod.
ZJwh5S 19 May, 2022 @ 8:36pm 
@davidtriune
Got it. Thanks.
davidtriune  [author] 19 May, 2022 @ 8:01pm 
i could probably check the length of the cover, but that makes it overly complex for gameplay
davidtriune  [author] 19 May, 2022 @ 7:57pm 
No to both. The main reason i dont mess with high cover is becuase it can be standing (e.g. pillars), and height pretty much doesnt change the fact it's still high cover.
ZJwh5S 19 May, 2022 @ 5:41pm 
@davidtriune
You covered two cases in your description.
But what if:
1. Target has height advantage and is behind high cover? If HA + LC already gets high cover bonus, is there any additional advantage to HA +HC?
2. Target has height disadvantage and behind high cover? If HD + LC = no cover bonus, then is HD + HC = low cover bonus or high cover bonus?
=[NK]= Col. Jack O'Neil 16 May, 2022 @ 6:26am 
Thanks :)
davidtriune  [author] 16 May, 2022 @ 6:01am 
So replacing the first point above with yours? Sure, just erase the lines in my XComAimRoll.ini and you'll be good to go. it should work with the other points above.
=[NK]= Col. Jack O'Neil 16 May, 2022 @ 5:35am 
So in EU aim rolls, the ini was open to the height. I see youve removed the 20 aim in the xcomgamecore. I had used these values in the other mod, so that each different height gave much more slight bonus, if I added this in that ini, would that screw up the balance horribly?

+HEIGHT_MODIFIER=(ZDiff=1, OffenseBonus=2, DefenseBonus=-2)
+HEIGHT_MODIFIER=(ZDiff=2, OffenseBonus=5, DefenseBonus=-5)
+HEIGHT_MODIFIER=(ZDiff=3, OffenseBonus=10, DefenseBonus=-10)
+HEIGHT_MODIFIER=(ZDiff=4, OffenseBonus=15, DefenseBonus=-15)
+HEIGHT_MODIFIER=(ZDiff=5, OffenseBonus=20, DefenseBonus=-20)
+HEIGHT_MODIFIER=(ZDiff=6, OffenseBonus=25, DefenseBonus=-25)
Taylem 10 May, 2022 @ 6:02am 
@Vael Bummer for you.
Nyx (She/Her) 9 May, 2022 @ 6:33pm 
Chris Kyle reference, kinda cringe
=[NK]= Col. Jack O'Neil 6 May, 2022 @ 6:42pm 
I've been waiting for this since I could use EU aim rolls with other mods! Thank you
Rebel Uccidere 6 May, 2022 @ 2:46pm 
In all fairness, tying this to the cover system does make at least some sense?
Syrett 6 May, 2022 @ 11:57am 
nice as ice.
[Dragunov37] 6 May, 2022 @ 8:02am 
okey, sounds logical