Giter Club home page Giter Club logo

bt-real-hit-chance's Introduction

BattleTech Real Hit Chance

This is a mod for BattleTech to display real hit chances in the UI.

Motivation

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.

Scope

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

Security Notice & Disclaimer

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.

Usage

This mod uses Harmony and BTML.

  1. BTML should now be installed through ModTek
  2. Download the latest release of this mod from github
  3. Unpack AA.BT.RealHitChance.zip into BATTLETECH\Mods\

Reporting issues

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.

Building

If you are would like to build from source or contribute an improvement, you can!

  1. Clone this repository
  2. 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
  3. Compile and run tests with Visual Studio

bt-real-hit-chance's People

Contributors

alexanderabramov avatar shivix avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.