This change includes the ability to add custom elements to the HUD.
Thanks to
@KingArthur for motivating me to finally implement this feature.
Example: (this is a but ugly but used for demonstration purposes)
There will now but a
button that will now appear in the "Custom Elements" section of the HUD. Clicking this button will add a row to the HUD that will allow you to define your own custom elements in columns.
There are two basic types of elements you can add to the HUD
- Label: Provides information based on the script
- Button: Can perform an action when clicked
The elements have a small amount of customization and can be conditionally displayed. Right now they are layed out in the HUD along rows and columns, the columns allow for resizing width. This works well for now but I might change this paradigm when I advance this feature further.
NOTE: The implementation includes some examples that are available when adding a blank row. Hopefully all the functionality is discoverable enough because I haven't written the documentation yet but if you have any questions please feel free to reach out to me.
Here are some examples of configuring different types of elements.
| Basic Label | Basic Label w/condition | Basic Button | Advanced Button | Advanced Button w/condition | Advanced Custom UI |
| | | | | |
As always, please let me know if you have any suggestions that you think would be an improvement. I use this tool personally so I try to make it as useful as possible.