Custom HUD Icon
This will add a custom HUD icon to the game using BeardLib's HUDIconModule, mainly to use for custom special equipment, waypoints or maybe other purposes.
Shortcuts:
XML structure
XML (Custom XML)Put the hudicon tag inside your level tag in your main.xml file to make sure it's only loaded when playing your heist:
XML (Custom XML)Add addional hudicon tags if you need more icons:
XML (Custom XML)If you add your lootbag using Beardlib's XML Module, the tag needs to be written like this:
XML (Custom XML)id
StringThe ID for your hud icon. Has to be unique.
texture
StringThe path to your texture file. Needs to be added via AddFiles first.
*HUD icons for special equipment are always 32x32 pixels.
<texture_rect>
TableTable with pixel coordinates for atlas textures with multiple icons in one texture file.
Has 4 value_node tags nested.
XML (Custom XML)