How to use color codes and formatting tags in TM

Answers to the most commonly asked questions with both user created and official tutorials

Moderator: TM-Patrol

Post Reply
User avatar
Acegikmo
TM-Patrol
TM-Patrol
Posts: 1167
Joined: 12 Aug 2005 19:53
Location: Sweden
Contact:

How to use color codes and formatting tags in TM

Post by Acegikmo » 15 Feb 2006 20:44

Coloring and formatting tags
Hi all.
Most of you old TM players knows how to use color tags, but for those that doesnt know, this is a great way to learn :)
First off, lets look at a basic tag:
$i
Every tag, no matter color or formatting, has a dollar sign in front of them, all the tags applies to the text right of the dollar sign.
Formatting tags has 8 different functions:
$i: italic
$s: shadowed
$w: wide
$n: narrow
$m: normal
$g: default color
$o: bold
$z: reset all
$t: Changes the text to capitals
$$: Writes a dollarsign

Examples:

Input: $iTrackmania$$---output: Trackmania$
Input: $wChicken---------output: c h i c k e n


Color coding
Color codes are not that hard to use :)
Don't worry, you'll understand ;)

ok, first, you need to know hex (Hexadecimal).
Hex is a value system where you can go over 10 using one number/letter.
Here are the values for all the hex numbers:

Code: Select all

HEX-----VALUE
0         0
1         1
2         2
3         3
4         4
5         5
6         6
7         7
8         8
9         9
a         10
b         11
c         12
d         13
e         14
f         15
Thats the numerical system.
lets have a look at a normal color code:

$RGB

As you can see, you have a dollar sign here too.
RGB, red, green and blue.
Its this simple:
Replace the R with the amount of red you want in the color using hex numbers.
Replace the G with the amount of green you want in the color using hex numbers.
Replace the B with the amount of blue you want in the color using hex numbers.

F is the most, and 0 is the least.
The closer to 0, the darker the color gets.
The closer to F, the brighter the color gets.

Examples:

Input: $f00Trackmania-------output: Trackmania
Input: $d00Trackmania------output: Trackmania
Input: $900Trackmania------output: Trackmania
Input: $600Trackmania------output: Trackmania
Input: $fa0BLaHiTis----------output: BLaHiTis
Input: $0ffNADEO------------output: NADEO

Image

How to code a gradient:

if you want a gradient from red to blue, you have to decrease the red value, and increase the blue value for each letter.
For red: $f00
For blue: $00f

If you start with red, write the tags in this order (with the letters between):
$f00
$d02
$b04
$906
$708
$50a
$30c
$10e
$00f

I chose to lower the value by 2 each time.
Of course you can use other colors as gradients, but it's all about increasing and/or decreasing a value.

Gradient Example:

Input: $0a0H$0b0e$0c0l$0d0l$0e0o-----output: Hello

You can also mix color tags with formatting tags:

Input: $i$d00Trackmania----output: Trackmania
Input: $00fTrack$imania----output: Trackmania

Thats about it! :)
Hope you got some more knowledge throughout this.
If you feel this is hard to learn, you can check out TMCC ;)

//Acegikmo
Last edited by Acegikmo on 25 Apr 2006 21:25, edited 4 times in total.

Florent
Developer
Developer
Posts: 1594
Joined: 09 Aug 2005 14:07
Contact:

Post by Florent » 15 Feb 2006 20:52

cool

User avatar
Acegikmo
TM-Patrol
TM-Patrol
Posts: 1167
Joined: 12 Aug 2005 19:53
Location: Sweden
Contact:

Post by Acegikmo » 15 Feb 2006 21:00

rofl florent :P
also, you can use the same type of thing in TM forum, but with 6 spaces and a # instead of $.
input: [ color=#ff0000 ]Florent rox[ /color ]---output: Florent rox
input: [ color=#ffffff ]Invisible[ /color ]---output: Invisible
Moderator of tm forum.

Racemaniac
TM-Patrol
TM-Patrol
Posts: 2480
Joined: 13 Aug 2005 10:57
Owned TM-games: all
Manialink(s): racemaniac
Location: Belgium
Contact:

Post by Racemaniac » 15 Feb 2006 21:10

or you could simply tell the people to read the readme that's put with tmn explaining this ^^

User avatar
Acegikmo
TM-Patrol
TM-Patrol
Posts: 1167
Joined: 12 Aug 2005 19:53
Location: Sweden
Contact:

Post by Acegikmo » 15 Feb 2006 21:15

I explained it more from the basics :P
Moderator of tm forum.

x[gunzor]
highway camper
highway camper
Posts: 1
Joined: 06 Feb 2006 01:27
Contact:

Post by x[gunzor] » 16 Feb 2006 08:57

This is seriously good info! STICKY THIS ONE!!!

User avatar
Acegikmo
TM-Patrol
TM-Patrol
Posts: 1167
Joined: 12 Aug 2005 19:53
Location: Sweden
Contact:

Post by Acegikmo » 18 Feb 2006 21:05

maybe it should be stickyed ^^
We'll see if someone agrees ;)
Moderator of tm forum.

User avatar
NGcs
speedy pilot
speedy pilot
Posts: 503
Joined: 13 Aug 2005 12:51
Owned TM-games: All
Location: Hungary
Contact:

Post by NGcs » 19 Feb 2006 07:55

Official Hungarian FAQ
http://tmn.uw.hu/faq.php :D
NGcs,
TM Hungary
TM Carpark

User avatar
Acegikmo
TM-Patrol
TM-Patrol
Posts: 1167
Joined: 12 Aug 2005 19:53
Location: Sweden
Contact:

Post by Acegikmo » 23 Feb 2006 12:00

I found a tag nadeo haven't told us about :)
it's $t
Its not so useful, since you can manually do it, but here's an example:
input: $tomgcool
output: OMGCOOL

It just makes a text caps locked :P
Moderator of tm forum.

bogyone
pedestrian
pedestrian
Posts: 12
Joined: 02 Mar 2006 19:52
Location: Lawton Oklahoma USA
Contact:

Post by bogyone » 02 Mar 2006 20:20

why cant i see my name colored ingame? i see it all formatted in the color code and my name
The One And Only
Bogyone

User avatar
Acegikmo
TM-Patrol
TM-Patrol
Posts: 1167
Joined: 12 Aug 2005 19:53
Location: Sweden
Contact:

Post by Acegikmo » 02 Mar 2006 21:08

how do you mean ingame?
Are you sure you colored the right way?
Tell me the code you used for your name, and take a screenshot.
Moderator of tm forum.

bogyone
pedestrian
pedestrian
Posts: 12
Joined: 02 Mar 2006 19:52
Location: Lawton Oklahoma USA
Contact:

Post by bogyone » 03 Mar 2006 04:56

Image


this is what i see in game but when i did it in setup i saw it colored.
The One And Only
Bogyone

User avatar
Acegikmo
TM-Patrol
TM-Patrol
Posts: 1167
Joined: 12 Aug 2005 19:53
Location: Sweden
Contact:

Post by Acegikmo » 03 Mar 2006 12:54

Are you sure you made a dollar sign?
Moderator of tm forum.

bogyone
pedestrian
pedestrian
Posts: 12
Joined: 02 Mar 2006 19:52
Location: Lawton Oklahoma USA
Contact:

Post by bogyone » 03 Mar 2006 19:41

i used this and i did it three times to make sure and all three times i saw my named colored then ii went into the game and saw it all jumbled


$f00bog$fffyo$00fne


i did this in the create account area after i did it i saw it colored red white and blue and spelled corectly without all the code then i go into the game and see it as shown in my screenshot what did i do wrong?
The One And Only
Bogyone

User avatar
Acegikmo
TM-Patrol
TM-Patrol
Posts: 1167
Joined: 12 Aug 2005 19:53
Location: Sweden
Contact:

Post by Acegikmo » 03 Mar 2006 21:05

This is really strange... :?
I'm sorry but I really can't help you... :(
Moderator of tm forum.

Post Reply