Coloured names  (Read 26474 times)

[MiA]Raj

  • 1337
  • *
  • Posts: 1274
  • Country: ee
    • rajliv
Coloured names
« on: July 25, 2011, 09:54 »
Now you can use a coloured name on our ONS server.



To make your nickname coloured, you need to use a color code in your name. You can either google those codes, or download this utility: http://americasarmy.filefront.com/file/Hyrulians_UT2k4_Message_Colorizer;53593

The maximum length of player name is 20 characters. The lenght of color code is 4 chars, which means that if you use 1 color code in your name, you have 16 more letters left to use for your name letters.

Don't exceed the lenght or your name will be bugged.
« Last Edit: November 06, 2011, 21:17 by [MiA]Raj »

[MiA]Zaid

  • 1337
  • *
  • Posts: 339
  • Country: be
  • Boom headshot
    • Storm98
Re: Now coloured names and messages
« Reply #1 on: July 25, 2011, 10:51 »
Awesome , thx

[MiA]Zaid

  • 1337
  • *
  • Posts: 339
  • Country: be
  • Boom headshot
    • Storm98
Re: Now coloured names and messages
« Reply #2 on: July 25, 2011, 10:54 »
When i start it its saying " Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid "

Huh

N3Cr0

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Now coloured names and messages
« Reply #3 on: July 25, 2011, 11:50 »
Is there a way to enter these color codes manually?
Almost all websites link me to a program which changes the color. Then I found a tutorial which doesn't work for me:
I've read I have to enter it with 4 ASCII codes as prefix: (27)(red)(green)(blue). So I've tried holding [Alt] and entered some codes - I tried decimal and hexadecimal convertions on Windows and Linux (Windows uses the decimal format, Linux the hex format).
Nothing works  :(
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de

[MiA]Raj

  • 1337
  • *
  • Posts: 1274
  • Country: ee
    • rajliv
Re: Now coloured names and messages
« Reply #4 on: July 25, 2011, 12:46 »
I guess you gotta use some program. Or you could pick up some colours from server names (add a coloured server in your favourites, check user.ini file).

The colour codes alwas start with the Escape char - Chr(27). Rest of the 3 chars represent RGB values, but I have no idea how does that work.

When i start it its saying " Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid "

Huh

Solution:
http://devonenote.com/2010/02/register-comdlg32-ocx-on-x64-win7/
« Last Edit: July 25, 2011, 12:56 by [MiA]Raj »

N3Cr0

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Now coloured names and messages
« Reply #5 on: July 25, 2011, 12:54 »
Thanks a lot. I didn't notice the recent servers are stored in the user.ini.
Since I have a good template I'll find a way to manage it ;)
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de

Vanico

  • 1337
  • *
  • Posts: 336
  • Country: de
  • Loves KF and makes maps.
Re: Now coloured names and messages
« Reply #6 on: July 25, 2011, 13:50 »
"you need to use a color code in your name." Couldn't you be more specific?
No example?
Is "Vanico#7FE817" right?

N3Cr0

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Now coloured names and messages
« Reply #7 on: July 25, 2011, 17:29 »
"you need to use a color code in your name." Couldn't you be more specific?
No example?
Is "Vanico#7FE817" right?

All I know yet is the code must be in decimal format, not hexadecimal.
I will try the colorizer later.

EDIT:
Just found one of my former works:



Before I try the colorizer I'll try
Code: [Select]
^[
Let's say I want it in neon-green, it might be like this:
Code: [Select]
^[^@ÿ my_name
I'll see if that will work ;)
« Last Edit: July 25, 2011, 17:37 by N3Cr0 »
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de

N3Cr0

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Now coloured names and messages
« Reply #8 on: July 25, 2011, 18:56 »
Finally found out how it's working:
Well, my very first tries were almost right (holding [Alt]+entering a number between 000 and 255), but you cannot enter the lower values (I think between 000 and 099) - I don't know why.
Normally the code for light-green should be
Code: [Select]
[Alt]+027
[Alt]+000
[Alt]+255
[Alt]+000
Because of this Issue I think it's impossible to enter the color codes under Windows manually, but I hat a small success under Linux:
First of all the Linux Version of the game doesn't support the clipboard (copy&paste) function and this kind of entering chars -.- so I had to write it the kfmoduser.ini.
2nd fact to think about is to convert the code to hex format (  027 = 1B ; 000 = 00 ; 255 = FF ).
... and there's the issue with too low chars again >_<   => solution: replacing the 00 with 11 (this is still low enough)

And if someone wants to know what I did exactly under linux (I bet nobody wants to know that xD ):
I hold
Code: [Select]
[Ctrl]+[Shift]+[Alt] u1b
[Ctrl]+[Shift]+[Alt] u11
[Ctrl]+[Shift]+[Alt] uff
[Ctrl]+[Shift]+[Alt] u11 


Yay, It works!
« Last Edit: July 25, 2011, 19:00 by N3Cr0 »
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de

N3Cr0

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Now coloured names and messages
« Reply #9 on: July 25, 2011, 19:14 »
One more...
Just tried the colorizer on my main computer - I got the same error like Zaid^.
On my Laptop it's running fine - WinXp on both PCs

Anyway, he asked me for the code for this color.
Feel free to copy and paste:
Code: [Select]
Name=ÿM.Eat_Fresh
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de

[MiA]Raj

  • 1337
  • *
  • Posts: 1274
  • Country: ee
    • rajliv
Re: Now coloured names and messages
« Reply #10 on: July 26, 2011, 14:26 »
If the "Colorizer" app does not work, you can try this: http://www.tcpclan.net/dlmod/pafiledb.php?action=file&id=220

- edit -

Okay, those of you who don't/can't mess with those apps, can find some color codes here:
http://miasma.org/colors/
« Last Edit: December 25, 2011, 00:40 by [MiA]Raj »

Snipe34

  • 1337
  • *
  • Posts: 945
  • Country: au
Re: Now coloured names and messages
« Reply #11 on: July 27, 2011, 23:30 »
I used the colourizer ok, thx for that !

But only 16 character including the colour codes ARGH

Pikachu

  • Newbie
  • *
  • Posts: 4
  • Country: in
Re: Coloured names
« Reply #12 on: January 29, 2013, 18:07 »
Why color names r not working?

Pikachu

  • Newbie
  • *
  • Posts: 4
  • Country: in
Re: Coloured names
« Reply #13 on: January 29, 2013, 18:09 »
I have got new script 100% working color codes i will post it soon

Pikachu

  • Newbie
  • *
  • Posts: 4
  • Country: in
Re: Coloured names
« Reply #14 on: January 29, 2013, 19:35 »
U can download it here : http://forums.tripwireinteractive.com/showthread.php?t=31186
It works for the name also try it :)
Just select color and click select button on the top right u will see a code copy paste it before ur name in user ini file :)
And u can make ur server in color also and test it :)