Code Monkey home page Code Monkey logo

artillerycalculator's Introduction

ArtilleryCalculator

This is a simple artillery calculator for Hell Let Loose that runs on your desktop. By running on the desktop, this tool is able to use Windows hooks to monitor keyboard input. This allows you to quickly calculate the elevation for a given distance without alt-tabbing out of the game.

image

More information and screenshots here: https://www.hlltrainingcamp.com/forums/hell-let-loose/artillery-calculator-desktop-application

Windows hook

When the application is running, it will optionally install a hook that receives every keyboard events in the system. The code for this functionnality can be read in NumpadListener.cs. This can be used to monitor for numpad keypresses even when the game is focused. This is essentially the main reason why I made this tool, because I did not want to have to alt-tab out of my game or to use an app on my phone when playing on artillery. This is optional and unchecking the "Listen to numpad" option or closing the application will completely stop this monitoring.

Transparent mode

When enabled, the application will have a slightly reduced opacity, a smaller UI and it will be impossible to directly interact with it. When used with the "Stay on top" and "Listen to numpad" features, this makes the application behave more like a small overlay. Because the application will no longer be interactive when this is on, it will no longer be possible to accidentally click on it and lose game focus which was happening for some people (sorry🙃).

This new mode can be toggled via an hard-coded hotkey (Ctrl+Shift+K) or can be disabled by selecting the application window either via Alt+Tab or by clicking on its icon in the taskbar.

image

Future plans and contributing

If you find a bug or want to suggest a feature, please use the Github issues system. Here are a few ideas of thing I may work on in the future:

  • Showing a list of the last few conversions;
  • Offering an "overlay" mode that is simpler and meant to be displayed on top of the game.

Credits

Application developed by me, Oceantume.

A big thank you to Hell Let Loose Training Camp for your feedback, for sharing the distance to elevation formula and for being awesome!

The creator of this tool is in no ways affiliated with the creators of Hell Let Loose.

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.