Elements
JustHud allows you to create fully customized elements based on your needs
Last updated
JustHud allows you to create fully customized elements based on your needs
Last updated
Sometimes you need to use icons in elements or other components, there are currently only one option for icons, you should pass string to script to parse the icon.
You can choose many icons from
position is one of the options that is common to all elements, you can choose the default element position and enable the position editing option for this element in settings menu
using visibility option you can change default visibility, or add visibility option to settings menu
Status element is used to show a status percentage to user
Card element is used to show title & subtitle in card along with icon.
icon - The icon in card and settings menu title - Title of card, showed at top subtitle - Subtitle of card, showed at bottom
Text element is used to show title & subtitle along with one or two icons.
icon - The icon in settings menu leftIcon - The icon which is showed on left of the text. rightIcon - The icon which is showed on right of the text. title - The title of text. subtitle - The subtitle of text.
Branding text with two colors, same as Text element without Icons.
active - The icon is on danger color by default, for active you need to define a condition
all logical conditions are usable (<,>,<=, ...). for instance, "%cash%>1000%
The following icon would be active when player has more than 1000$ cash.
With image element you can add custom image files (png,jpg,webp or even gif) to player HUD.
image - The image path in web/ folder or direct link to image. width - The image width in screen scale (1 would be 1% and 100 would be 100%) or auto for auto scaling with height. height- The image height in screen scale (1 would be 1% and 100 would be 100%) or auto for auto scaling with width. Note: if you set both width & height to auto, HUD will show the image on its original width and height, that may cause problems for players with different resolutions.
Some of the elements that are defined in default config are with static type, you should not change their ids, simply change what it is exist on their config already.
data - Should be a placeholder or a static value. read about placeholders on . icon - The icon at center of the element Note: In all elements, icon which is provided in icon field will be showed on settings page too.
Just a simple icon from .