XCOM 2
[WOTC] Realistic Height Aim Modifiers
24 comentarios
C7 11 OCT 2023 a las 5:28 
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 a las 4:47 
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  [autor] 14 AGO 2023 a las 21:16 
@WaldoTheRanger nope i didn't do anything with the squadsight ability here.
WaldoTheRanger 13 AGO 2023 a las 8:43 
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 DIC 2022 a las 4:29 
@Rcoil personally I think it's the most realistic mod i have seen considering height
RCoil 16 NOV 2022 a las 9:59 
You are missing whole point of High Ground advantage, I think :))
davidtriune  [autor] 1 NOV 2022 a las 7:56 
@RambelZambel thanks for catching that. I updated mod to ignore melee attacks.
MaCC165 1 NOV 2022 a las 2:46 
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 a las 3:29 
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  [autor] 28 JUN 2022 a las 14:04 
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 a las 10:36 
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 a las 20:36 
@davidtriune
Got it. Thanks.
davidtriune  [autor] 19 MAY 2022 a las 20:01 
i could probably check the length of the cover, but that makes it overly complex for gameplay
davidtriune  [autor] 19 MAY 2022 a las 19:57 
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 a las 17:41 
@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 a las 6:26 
Thanks :)
davidtriune  [autor] 16 MAY 2022 a las 6:01 
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 a las 5:35 
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 a las 6:02 
@Vael Bummer for you.
Nyx (She/Her) 9 MAY 2022 a las 18:33 
Chris Kyle reference, kinda cringe
=[NK]= Col. Jack O'Neil 6 MAY 2022 a las 18:42 
I've been waiting for this since I could use EU aim rolls with other mods! Thank you
Rebel Uccidere 6 MAY 2022 a las 14:46 
In all fairness, tying this to the cover system does make at least some sense?
Syrett 6 MAY 2022 a las 11:57 
nice as ice.
[Dragunov37] 6 MAY 2022 a las 8:02 
okey, sounds logical