Rangefinders
Adds extra information to Night Vision Goggles.
Legion's "rangefinder framework" allows you to specify a custom display to be created when a player enables NVG or thermals.
1. Configuration
Here's an example of adding the rangefinder HUD from Legion to an NVG.
1.1 NVG Config
1.2 Creating your own HUD
To create your own HUD element, simply create a new display in configFile >> "RscTitles
". If you'd like to use the functionality of the LS rangefinder in your custom one, you can simply inherit from the ls_RscCloneRangefinder
class.
If you want to add further functionality, you can modify the onLoad
and onUnload
properties for the display itself. For example:
Last updated