KROKODOVE / EXPLAINED
What Formula is for
The Resolve 21.1 table places Formula under Text Modifiers and briefly compares it to Custom Tool. That is not a basis for substituting numeric Expression syntax or putting the modifier between an image and Merge.
The author’s 4.15 manual explains the practical role: assemble one string from fixed text, numbers, coordinates and text values. A score and a status word can change while Text+ continues to own the completed label’s styling.
KROKODOVE / EXPLAINED
The text dependency and its owning node
Start with Text+ and the fixed label SCORE 7 / READY. Check font, size and position on the actual background. Then open Modify With on Styled Text and check whether Formula is available in your version; modifier settings are in the owner’s Modifiers tab.
The data path is values → Formula → the Text+ text control → image → Merge. Direct control of Blend or Size needs a numeric result; use Calculation or Expression for that separate calculation.
KROKODOVE / EXPLAINED
Substitution in 4.15 and checking your version
In the historical Inspector, Base text is a template: n1, n2… substitute numbers, p1x/p1y… substitute coordinates, and t1, t2… substitute text. Separate settings control precision and padding with spaces or zeros. This is the author-documented 4.15 contract.
Before repeating that template in 21.1, compare the actual fields and help with the source. If the contract differs, do not try arbitrary Lua substitutions; first obtain a constant string and one substitution using the controls your build provides.
KROKODOVE / EXPLAINED
Formatting, sequencing or calculation
| Tool | Task | Result owner |
|---|---|---|
| Formula | Assemble a string from separate values; a score and status are the historical example. | A compatible text control. |
| From File | Display prepared lines in a planned sequence. | Line content and timing, not score calculation. |
| Write | Add typing reveal, a cursor and a persistent prefix. | A separate text effect; a Formula → Write chain is not assumed. |
| Calculation / Expression | Calculate a number for Blend, Size or another numeric control. | A numeric parameter. Its syntax does not become Formula syntax. |
KROKODOVE / EXPLAINED
A 4.15 example: a score and status label
For an interface with the documented Base text, Number In and Text In fields, use the template below. Set the first number to 7, the first text to READY, and fractional precision to zero. The expected string is SCORE 7 / READY. In a newer build, use this syntax only after verifying its field compatibility.
SCORE n1 / t1| Change | Expected result |
|---|---|
| n1 = 7, t1 = READY | SCORE 7 / READY |
| n1 = 12, t1 = READY | SCORE 12 / READY |
| n1 = 12, t1 = DONE | SCORE 12 / DONE |
| Longest label | The string stays within the allocated space and alignment matches the design. |
KROKODOVE / EXPLAINED
Five steps to a checkable label
This exercise separates content from styling. The n1 and t1 steps use the documented 4.15 contract and require compatibility checks when migrating.
Prepare a fixed reference
Create Text+ with SCORE 7 / READY and Merge it over the background. Check: the label is readable and its size and alignment are settled before the modifier.
Attach the text modifier
Check Formula in Modify With on Styled Text. Compare your Inspector with the description above. Check: the owner receives text and the interface accepts a constant string; missing controls are not replaced by guesses.
Substitute one number
For the 4.15 contract, replace only the number with n1 and change the first Number In between 7 and 12. Check integer formatting. Check: the digits change while the fixed wording remains.
Add the status
For the same contract, replace READY with t1 and switch the first Text In between READY and DONE. Check: only the status changes, the table matches and no literal t1 remains.
Accept the layout and value source
Check the smallest and longest production numbers, a negative value if allowed, and both status words. If the numeric input is animated, check rounding. Save the template, version and input values with the design.
KROKODOVE / EXPLAINED
When you actually need a numeric result
To map a 0–1 number to Blend 0.25–0.75, use the core Expression modifier through Modify With. Its manual documents Number In 1 as n1 and the Number Out field. At n1 ≤ 0 the result is 0.25, at 0.5 it is 0.5, and at n1 ≥ 1 it is 0.75. This calculation is separate from Formula’s text formatting.
0.25 + 0.5 * min(max(n1, 0), 1)KROKODOVE / EXPLAINED
Diagnose the observed result
| Observation | What to check |
|---|---|
| Formula is not offered | Check Styled Text rather than numeric Blend, then the version and available toolset. |
| Literal n1 or t1 appears | The template may be in ordinary Text+, or your Formula may use a different contract. Check the owner, modifier and version-specific documentation. |
| Unexpected zeros, decimals or spaces | In the older Inspector, check precision and padding separately; in the current one, check equivalent formatting. Do not repair data by changing Tracking. |
| A revised label shifts the layout | Compare the longest number, its sign and status. Check Text+ alignment and, if necessary, choose a font with suitable digit widths. |
KROKODOVE / EXPLAINED
Version and reproduction scope
The text role is grounded in the current Text Modifiers category and the detailed author manual for 4.15. The template, n1/t1 and formatting settings above are documented for 4.15. These sources do not establish identical Inspector controls, parsing or serialization in integrated 21.1.