|
Weston Graves
Werebeagle
Join date: 24 Mar 2007
Posts: 2,059
|
06-05-2008 14:27
Does anyone know what the code is for the exact color of the names that normally float over our heads? I'm trying to name my horse and I've come close with <1,0.7,0>, but that's a little too yellow. Anyone know the exact number?
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
06-05-2008 14:45
take a screen shot, drop it in a decent paint program, and use the color picker to get the exact color... then translate it from rgb0-255 to sl's 0.0-1.0 by dividing by 255....
...then realise that float text gets different aliasing applied to it than names, which don't change change size on screen like float text and particles...
.. translation: it'll never be perfect.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
06-05-2008 14:55
From colors_base.xml we have <AvatarNameColor value="251, 175, 93, 255" />
So, <0.984, 0.686, 0.364> in LSLese. It still might look a little off without the bezel though.
|
|
Atom Burma
Registered User
Join date: 30 May 2006
Posts: 685
|
06-05-2008 14:59
|
|
Weston Graves
Werebeagle
Join date: 24 Mar 2007
Posts: 2,059
|
06-05-2008 20:47
These methods all worked perfectly - or close enough for horseshoes, or horses. I'll keep the divide by 255 in mind and bookmark the lslwiki link. Thanks!
|