XCOM 2
[WOTC] LWoTC Aim Rolls
26 Comments
Dragonlord 10 Nov, 2024 @ 4:24am 
Missed it sorry thanks
Dragon32 8 Nov, 2024 @ 11:36am 
@Dragonlord
Re-read the Description
Dragonlord 8 Nov, 2024 @ 6:08am 
So eu aim rolls had settings for different height bonuses. Don't see anything like that in this mod is that correct?
XpanD 13 Aug, 2024 @ 12:43pm 
I removed it for a bit on mine (and then later added it back) and noticed no ill effects. Make sure you aren't in a mission when you do it, though.

(and also, consider using the in-game mod config menu to modify the graze band if that's what's tripping you up -- it's all configurable)
havokscorp 13 Aug, 2024 @ 12:18pm 
safe to remove mid campaign?
Haywire 23 Jul, 2024 @ 4:32pm 
Cool. Thank you for the quick reply! Enjoy the day! 😊
Tedster  [author] 23 Jul, 2024 @ 3:54pm 
It likely is, I'd just need to look into the implementation, as this started as a port of LWOTC's functionality itself.
Haywire 23 Jul, 2024 @ 3:33pm 
Will it be possible to implement Absolutely Critical back into the Second Wave options? The old EU Aim Rolls included it. Just wondering. 🙂
Vaultwulf 19 Jul, 2024 @ 8:13pm 
@Tedster Nice job! Awesome mod! :steamthumbsup: :steamthis:
Tedster  [author] 6 Feb, 2024 @ 9:10am 
LWoTC already uses this look, I pulled the code straight from LWoTC. LWoTC incorporates XModBase, which swaps out the X2AbilityToHitCalc_StandardAim which is a separate issue. I'd probably have to incorporate configurable aiming angles into XModBase.
MrMister 6 Feb, 2024 @ 1:06am 
Huh; shame this can't be used to hook in aiming angles then.

On another note - @Tedster , will you be switchng LWOTC's to this hook instead of overriding X2AbilityToHitCalc_StandardAim ? Or do you need to keep it as is for now for stuff like disabling Good Angle bonuses?
Zelfana 5 Feb, 2024 @ 12:26pm 
You can't reuse your EUAR config for this mod, they're completely different. You'll have to open the config and check if there is anything you want to tweak manually.
LeyShade 5 Feb, 2024 @ 10:41am 
@Tedster and @Zelfana - thank you for your detailed explainations from the code side.
LeyShade 5 Feb, 2024 @ 10:39am 
@MrMister - What we mean is does it use the same [headerslike.thisone], or is it necessary to go through all other mods looking for the others and replace their headers with these.
Zelfana 5 Feb, 2024 @ 9:14am 
@MrMister

That isn't possible to implement with this hook due to the same reason that height modifiers are not possible; the hook does not actually provide attacker and target information to use for calculating extra things.
Tedster  [author] 5 Feb, 2024 @ 8:48am 
For better or worse it is not a 1:1 replacement due to the limitations Zelfana pointed out, there's no way to do that with less unobtrusive methods beyond giving hidden abilities to everything, which is bad for performance.
MrMister 5 Feb, 2024 @ 8:34am 
@Zelfana

I meant this Aiming Angles , which integrates vertical and horizontal angles into a joint calculation for aim and/or defense bonuses/maluses, plus "far cover". I'd like a version of that for LWOTC/MJ, so it'd have to include the graze band and also apply correctly to abilities with custom calculations (for instance, in the past I realized that it didn't apply correctly to MJ's Strike Rifle's Quisckope ability).
Zelfana 5 Feb, 2024 @ 7:35am 
Btw, Aiming Angles is literally just vanilla config that LWOTC happens to also use so any mod with that config loading before LWOTC will just not apply. You don't need to (and can't) use this CHL hook to implement that feature as it's literally built into the game itself and LWOTC simply configures it to not be used.
Zelfana 5 Feb, 2024 @ 7:24am 
There are some features of EUAR that this does not have as this is first and foremost not an update to that mod and just the LWOTC system as a standalone mod.

One such feature is the customizable height modifiers. Those are not possible to implement with the hook this mod is using. Stuff like that will need a new hook or change in the existing hook on CHL's side. Or they can be achieved with an unoptimal solution of having a hidden ability on all units that will add hit modifiers.
MrMister 5 Feb, 2024 @ 7:15am 
@LeyShade it should be fine, but to completely mimic EU's behaviour you'll need to set the Graze Band to 0 in MCM (or just uncheck it if Tedster added a checkbox), and leave the rest as-is.
LeyShade 5 Feb, 2024 @ 6:52am 
@Tedster - Can this be used to replace EU Aim Rolls 1:1, or does that task require completely shifting config from EUAR to this one?
copyrite 5 Feb, 2024 @ 5:09am 
wow, that calculator seems super handy
MrMister 5 Feb, 2024 @ 1:07am 
>Instead of overriding the X2AbilityToHitCalc_StandardAim class, instead this uses a newer OverideFinalHitChance hook added by Highlander, allowing for this to work with more things.

Ohhhhhh, so using that I may be able to make a version of Aiming Angles that works with LWOTC without having to account for Graze band and any other ability with custom hit formulae?
Tedster  [author] 4 Feb, 2024 @ 3:39pm 
@AKA Illogical good question, I didn't actually add any failsafes,so it technically will, and I have no clue what it will do to the calcs lol.
AKA Illogical 4 Feb, 2024 @ 3:22pm 
But Does this work with LWOTC?
RustyDios 4 Feb, 2024 @ 2:56pm 
Congrats on the release !!!