Show how many seconds are left
07 / THE RESERVE
1. Add a bar to the existing HUD. Open the same GUI that shows the controls from Part 1. Click Add Element › Progress and select the new element. In General name it Lift Reserve, ID reserve. Use the Top Left anchor, X 20, Y 100, width 320, height 32.
2. Set the scale and label. In Type Settings set Maximum to 30 and Preview Value to 0. Choose a visible fill color. In Text & Content enter Lift reserve {value}/{max} s. Keep the braces. In play the display will read, for example, “Lift reserve 24/30 s”.
[1] Maximum is the full reserve. [2] Preview Value is just the editor’s sample.
3. Connect the live number. With the bar still selected, open its Raw JSON (Advanced) tab. In Raw Element JSON, find the first opening brace. Immediately below it, add the single line shown here. If a "variable" entry already exists, change its value instead. Keep the rest of the element.
"variable": "lift_seconds",Click Validate and Apply Element JSON (Advanced), then Save Project. The comma separates this new setting from the next one. Make sure the field is on the progress element itself. When Kit charges the reserve later, the fill should jump from empty to full.
The charged reserve in Kit’s HUD [1]. The same bar follows Pip when you switch characters.
The button that applies the edited element [1]. Save the project afterward.
