Text codes are used to add information to text or change the text style. You can add custom text codes to the system.
Text codes can be added to texts using the buttons above the text area while editing a text.
Text Styling #
Text codes used to alter the appearance and layout of your text (also called rich texts) are depending on the used UI module, e.g. in Unity the Unity UI module uses TextMesh Pro to display texts, using it’s rich texts for text styling.
Usually there are text codes for showing bold or italic text, change the font size or text/shadow colors. There might be additional text codes available for positioning text, using capitalization and other things.
Information #
ORK Framework offers a range of text codes to add content information to text, e.g. the name of an combatant or item, the value of a variable or a custom text code.
To add information text codes, use the Special, Custom, Data or Variable buttons above the text area. They’ll show content related options, e.g. selecting which data (like abilities or status values) and which content (e.g. name, description, etc.) to add.
Custom Text Codes #
The custom text code settings are found in Texts > Text Codes.
Custom text codes can be used to simplify often used styling or information text codes, as well as other often used content.
Object contents and their content types can also define custom text codes, overruling the default custom text codes when used in dialogues. E.g. if a dialogue uses a speaker, it can display the speaker’s custom text code (coming from object content) instead of the default one.
Context-Based Text Codes #
Often you’ll see an information text above text areas that list additional text codes.
These text codes are only available for the text areas below them and offer context-based text codes.
E.g. HUD text content offering the name, description and other content information of the content that’s dispalyed.



