Guest User

Untitled

a guest
Feb 9th, 2026
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.03 KB | None | 0 0
  1. "custom_progress_bar": {
  2.     "$update_string": "mana:",
  3.     "$max_string": "maxmana:",
  4.     "type": "panel",
  5.     "size": [70, 6],
  6.     "offset": [0, 110],
  7.     "controls": [
  8.         {
  9.             "bar_bg": {
  10.                 "type": "image",
  11.                 "texture": "textures/ui/experiencebarempty",
  12.                 "size": ["100%", "100%"],
  13.                 "controls": [
  14.                     {
  15.                         "progress": {
  16.                             "type": "image",
  17.                             "size": ["100%c", "100%"],
  18.                             "layer": 1,
  19.                             "texture": "textures/ui/experiencebarfull",
  20.                             "bindings": [
  21.                                 {
  22.                                     "binding_name": "#hud_title_text_string"
  23.                                 },
  24.                                 {
  25.                                     "binding_name": "#hud_subtitle_text_string"
  26.                                 },
  27.                                 {
  28.                                     "binding_type": "view",
  29.                                     "source_property_name": "((#hud_subtitle_text_string - $max_string) * 1.0)",
  30.                                     "target_property_name": "#max_val"
  31.                                 },
  32.                                 {
  33.                                     "binding_type": "view",
  34.                                     "source_property_name": "((#hud_title_text_string - $update_string) * 1.0)",
  35.                                     "target_property_name": "#cur_val"
  36.                                 },
  37.                                 {
  38.                                     "binding_type": "view",
  39.                                     "source_property_name": "(#cur_val / #max_val)",
  40.                                     "target_property_name": "#size_binding_x_multiplier"
  41.                                 }
  42.                             ]
  43.                         }
  44.                     }
  45.                 ]
  46.             }
  47.         }
  48.     ]
  49. }
Advertisement
Add Comment
Please, Sign In to add comment