Difference between revisions of "Text formatting"
(Restore last known version from tm-wiki.org) |
m (Xymph moved page Text Formatting to Text formatting: caps convention) |
(No difference)
|
Revision as of 16:47, 3 June 2017
Text formatting and colour codes in Trackmania can be used for players' nicknames, track names, track comments, music file comments, server comments and in-game online chats.
Nicknames are limited to 20 characters in Original, Sunrise and Nations versions. In United, this limitation doesn't exist anymore.
You can also add special Unicode characters to your name (see here).
Colour Codes / Color Codes
To add a colour to your name simply put a $ followed by 3 numbers which represent red, green and blue. A small selection can be seen below.
$FFF | $CCC | $999 | $666 | $333 | $000 | $FC0 | $F90 | $F60 | $F30 | ||||||
$9C0 | $C90 | $FC3 | $FC6 | $F96 | $F63 | $C30 | $C03 | ||||||||
$CF0 | $CF3 | $330 | $660 | $990 | $CC0 | $FF0 | $CC0 | $C63 | $300 | $600 | $900 | $C00 | $F00 | $F36 | $F03 |
$9F0 | $CF6 | $9C3 | $663 | $993 | $CC3 | $FF3 | $960 | $930 | $633 | $933 | $C33 | $F33 | $C36 | $F69 | $F06 |
$6F0 | $9F6 | $6C3 | $690 | $996 | $CC6 | $FF6 | $963 | $630 | $966 | $C66 | $F66 | $903 | $C39 | $F6C | $F09 |
$3F0 | $6F3 | $390 | $6C0 | $9F3 | $CC9 | $FF9 | $C96 | $C60 | $C99 | $F99 | $F39 | $C06 | $906 | $F3C | $F0C |
$0C0 | $3C0 | $360 | $693 | $9C6 | $CF9 | $FFC | $FC9 | $F93 | $FCC | $F9C | $C69 | $936 | $603 | $C09 | $303 |
$3C3 | $6C6 | $0F0 | $3F3 | $6F6 | $9F9 | $CFC | $C9C | $969 | $939 | $909 | $636 | $606 | |||
$060 | $363 | $090 | $393 | $696 | $9C9 | $FCF | $F9F | $F6F | $F3F | $F0F | $C6C | $C3C | |||
$030 | $0C3 | $063 | $396 | $6C9 | $9FC | $CFF | $39F | $9CF | $CCF | $C9F | $96C | $639 | $306 | $90C | $C0C |
$0F3 | $3F6 | $093 | $0C6 | $3F9 | $9FF | $9CC | $06C | $69C | $99F | $99C | $93F | $60C | $609 | $C3F | $C0F |
$0F6 | $6F9 | $3C6 | $096 | $6FF | $6CC | $699 | $036 | $369 | $66F | $66C | $669 | $309 | $93C | $C6F | $90F |
$0F9 | $6FC | $3C9 | $3FF | $3CC | $399 | $366 | $069 | $039 | $33F | $33C | $339 | $336 | $63C | $96F | $60F |
$0F0 | $3FC | $0FF | $0CC | $099 | $066 | $033 | $39C | $36C | $00F | $00C | $009 | $006 | $003 | $63F | $30F |
$0C9 | $09C | $3CF | $6CF | $69F | $36F | $03C | $36C | ||||||||
$0CF | $09F | $06F | $03F |
The colour codes are the 3 numbers after the $ and have 16 values 0 to f (0123456789abcdef) The colours are made from red green & blue values ($RGB)
Other Text Formatting
Those codes are available in all TrackMania games:
$t Capitals
$i Italic
$s Shadowed
$w Wide spacing
$n Narrow spacing
$m Normal setting
$g Default color
$z Reset all
$$ Write a "$"
In TrackMania United, some new codes have been added:
$o Bold with semi-wide spacing
$h Internal link to a ManiaLink
$l External link to a website
Links' syntax is the same as in ManiaLinks.
In TrackMania Forever, another new code has been added:
$p Link with player parameters to a script that should return a ManiaLink
The parameters are: ?playerlogin=<login>&lang=<language>&nickname=<nickname>&path=<location> (see here for more info).