XCOM 2
91 个评价
[WOTC] LWoTC Aim Rolls
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
201.151 KB
2024 年 2 月 4 日 下午 2:48
2024 年 7 月 20 日 下午 1:24
2 项改动说明 ( 查看 )

订阅以下载
[WOTC] LWoTC Aim Rolls

描述
What Is This?
This is an alternative implementation of EU Aim Rolls with similar goals of making the hit results more logical. This version uses the implementation currently used by Long War of The Chosen, made standalone. The implementation used by EU Aim Rolls is very intrusive and bad for compatibility, such as not working with XModBase, including mods such as LW2 Classes and Perks, Shadow Ops classes, Extended Perk Pack, and more. This version uses a newer Highlander hook to maintain compatibility. It is not a 1:1 replacement for EU Aim Rolls as it doesn't have the configurable height adjustments, those cannot be implemented without additional CHL changes

Features:
  • Hit/Crit/Dodge merged together so no more "all hits are crits" for lower percentage shots.
  • Implements LW's Graze Band. Can be adjusted or turned off via Mod Config Menu.
  • Better compatibility with other mods by being less intrusive.
  • Debug logging available if you want to see behind the scenes in your own game.
  • Config toggles for Negative Dodge behavior and whether Dodge can convert grazes to misses (more in the next section).
How Does It Work?
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. There are some differences from EU Aim Rolls, so here's how the calculations work:
  1. Graze Band: Graze band takes equally from the hit chance and miss chances. With the default parameters, that means 10% from each side, so net +10% chance to deal damage. Extremely high or extremely low hit chances can negate the graze band.
  2. Crit (and negative Dodge) provide a chance for normal hits to be upgraded into crits, and grazes upgraded into normal hits. E.G. 10% crit chance equals 10% of the normal hit bar becoming crit and 10% of the graze section becoming normal hit.
  3. Positive Dodge demotes hits by one roll based on its value. E.G, with 10 dodge, 10% of the crit bar gets turned back into normal hit, 10% of normal hit gets turned into graze, and 10% of graze gets turned into a miss. Whether dodge can demote grazes into misses is open to configuration. Basically, LW's implementation forces the HYBRID_CRIT_DODGE config option of EU aim rolls on.
  4. The result of this is the hit chances you see.

Copyrite has implemented a calculator[copyrite.github.io] that implements the hit chance calculation and provides a good visual explanation of how the system works.

Compatibility:
This should work fine with most other mods, don't use this with EU Aim Rolls for obvious reasons. Also not needed with LWoTC itself.

Credits:
RustyDios for the preview image, Iridar, Zelfana, and SwfDelicious for helping out with my questions on MCM and various other things.


28 条留言
Rtma Eros Paragon 8 月 3 日 上午 5:22 
Is this compatible with Improved Smoke Defense WOTC? cause I am not seeing the 35% bonuses from the mod showing up on the targeting info.
Rtma Eros Paragon 7 月 30 日 上午 12:50 
Soooo, what does this graze band suppose to emulate? other then that it effectively works like EU aim rolls with Hybrid/Crit/Dodge without it? I assume, cause I love the countering mechanics between crits/hits/dodge/miss.
Dragonlord 2024 年 11 月 10 日 上午 4:24 
Missed it sorry thanks
Dragon32 2024 年 11 月 8 日 上午 11:36 
@Dragonlord
Re-read the Description
Dragonlord 2024 年 11 月 8 日 上午 6:08 
So eu aim rolls had settings for different height bonuses. Don't see anything like that in this mod is that correct?
XpanD 2024 年 8 月 13 日 下午 12:43 
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 2024 年 8 月 13 日 下午 12:18 
safe to remove mid campaign?
Haywire 2024 年 7 月 23 日 下午 4:32 
Cool. Thank you for the quick reply! Enjoy the day! 😊
Tedster  [作者] 2024 年 7 月 23 日 下午 3:54 
It likely is, I'd just need to look into the implementation, as this started as a port of LWOTC's functionality itself.
Haywire 2024 年 7 月 23 日 下午 3:33 
Will it be possible to implement Absolutely Critical back into the Second Wave options? The old EU Aim Rolls included it. Just wondering. 🙂