Library allowing modders to create complex HUDs in an easy way

API / Library

Download (19 KB)

How do I install this?

The library creates a custom panel object which can be implemented in any mod.

Have a read at the DOCS to understand how it works, it also contains an example file.

- new({params}): creates a new panel
- show(): makes the panel appear
- hide(): makes the panel disappear (but it's still assigned to the player)
- remove(): deletes it
- update(panel_params, txt_elems, img_elems): updates only the mentioned parameters
- (and more)

- panel_lib.get_panel(player_name): returns the panel associated with a player
- panel_lib.has_panel(player_name, panel_name): returns true if the player has the specified panel



Do you recommend this mod?

  • No reviews, yet.

Used By