Skip to reading
Progress Bars, Hints & Journals

4. Put useful text on the meter

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 4. The caption is edited in Text & Content. The brace tokens belong to the Progress Bar.

Source table from 4. Put useful text on the meter, page 7
CaptionAt a current value of 60 and Maximum 100
{value}/{max}60/100
Power {percent}%Power 60%
Power {percentage}%Power 60% - the longer token is an alias.
Gears fitted: {value} of {max}Gears fitted: 60 of 100; use Maximum 5 for a five-gear puzzle.
An empty captionThe fill remains visible without text.

The percent sign is ordinary text. {percent} supplies the number, so include % yourself if you want it. Whole numbers are shown without a decimal part; non-whole numbers use up to two decimal places.

These are the bar’s local tokens. Do not assume that the normal $$variable or @PlayerName expansion used by Labels also runs inside this caption. Use a separate Label for a player name, a long description or other changing text.

Keep the caption readable over both the filled and empty parts. Test 0%, a middle value and 100%; a color that looks good over one half may disappear over the other.

Page 7 of 53Permalink
Go to page