Miasma Community

Miasma Site => Site Info => Topic started by: [MiA]Raj on July 25, 2011, 09:54

Title: Coloured names
Post by: [MiA]Raj on July 25, 2011, 09:54
Now you can use a coloured name on our ONS server.

(http://i.imgur.com/FPfhz.png)

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.
Title: Re: Now coloured names and messages
Post by: [MiA]Zaid on July 25, 2011, 10:51
Awesome , thx
Title: Re: Now coloured names and messages
Post by: [MiA]Zaid 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
Title: Re: Now coloured names and messages
Post by: N3Cr0 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  :(
Title: Re: Now coloured names and messages
Post by: [MiA]Raj 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.

Quote from: [MiA]Zaid^ 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

Solution:
http://devonenote.com/2010/02/register-comdlg32-ocx-on-x64-win7/
Title: Re: Now coloured names and messages
Post by: N3Cr0 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 ;)
Title: Re: Now coloured names and messages
Post by: Vanico 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?
Title: Re: Now coloured names and messages
Post by: N3Cr0 on July 25, 2011, 17:29
Quote from: Vanico 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?

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:

[linkimg]http://farm2.static.flickr.com/1381/5169166943_1018042a69_b.jpg[/linkimg]

Before I try the colorizer I'll try
^[

Let's say I want it in neon-green, it might be like this:
^[^@ÿ my_name

I'll see if that will work ;)
Title: Re: Now coloured names and messages
Post by: N3Cr0 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
[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 [Ctrl]+[Shift]+[Alt] u1b
[Ctrl]+[Shift]+[Alt] u11
[Ctrl]+[Shift]+[Alt] uff
[Ctrl]+[Shift]+[Alt] u11 



Yay, It works!
Title: Re: Now coloured names and messages
Post by: N3Cr0 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:
Name=ÿM.Eat_Fresh
Title: Re: Now coloured names and messages
Post by: [MiA]Raj 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/
Title: Re: Now coloured names and messages
Post by: Snipe34 on July 27, 2011, 23:30
I used the colourizer ok, thx for that !

But only 16 character including the colour codes ARGH
Title: Re: Coloured names
Post by: Pikachu on January 29, 2013, 18:07
Why color names r not working?
Title: Re: Coloured names
Post by: Pikachu on January 29, 2013, 18:09
I have got new script 100% working color codes i will post it soon
Title: Re: Coloured names
Post by: Pikachu 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 :)