Skip to content
kromster80 edited this page Jan 5, 2025 · 2 revisions

How to stylize the text in the game

There are three supported tags for now:

Colors

The game allows to color any text (except players name in multiplayer) with the following tag: [$BBGGRR] where BB is hex value for blue component, GG - hex for green and RR hex for red. [/$] ends the color and reverts to default white.

For example: [$FF00FF]One [$00FF0F]Two [$808080]Three[] Four will print One in violet, Two in yellow, Three in grey and Four in default white color.

Text coloring is commonly used in multiplayer server names (list in lobby), multiplayer server greetings. However one can you use to say colored chat messages or mission texts.

Note that text coloring works multiplicatively, so if you take font which is normally yellow in game and apply [$FF0000] to a text rendered with it, it will look black, because original font has no blue component in it.

Strikethrough

[s] - will start the striked out text
[/s] - will end the striked out text

Underline

[u] - will start the underlined text
[/u] - will end the underlined text

End all

[] - will end all styles and revert text to default style