This is a mod for BattleTech to display real hit chances in the UI.
In the release version of BattleTech, displayed attack hit chances are not accurate, because to-hit rolls are corrected before comparing to a hit chance. The effect of that correction is that easy attacks are actually easier than shown, and difficult attacks are more difficult.
Many players prefer to see actual hit chances though.
This mod only fixes the chance as displayed in the UI.
It does not (currently):
- change any to hit chances, or any other game logic
- fix AI estimation of hit chances to acount for correction
- provide options to use uncorrected rolls
- disable or display streak-breaking
Harmony mods like this one modify your game code at runtime. They inject arbitrary .NET code into Unity engine, that potentially could do harmful things to your computer.
By running mods of this kind you are trusting the authors of the mod, BTML and Harmony to the same extent as you are already trusting the authors of BattleTech game itself.
While every effort was made to keep this mod safe, author(s) cannot provide any warranty or accept any responsibility. It is provided "as is" and using it is at the user's own risk.
This mod uses Harmony and BTML.
- Download and install BTML
- Download the latest release of this mod from nexus or github
- Unpack AA.BT.RealHitChance.dll into BATTLETECH\Mods\
- After launching the game, check that BATTLETECH\Mods\BTModLoader.log has a line "Found DLL: AA.BT.RealHitChance.dll" and no errors
If you run into any issues, please include BTModLoader.log, a screenshot, a save game, a clear description etc with your report to make it easy to reproduce the issue.
If you are would like to build from source or contribute an improvement, you can!
- Clone this repository
- Link game and Unity dlls, e.g. by running "mklink /D BattleTech "C:\Program Files (x86)\Steam\steamapps\common\BATTLETECH\BattleTech_Data\Managed"" from "lib" folder
- Compile and run tests with Visual Studio