Page 1 of 1

Huge variety of name colors, and animation script

Posted: Wed Oct 19, 2005 4:10 am
by DooMer
Stolen out of rgoers config. You could use any color you can imagine with this, I reckon.

// Dear q4 community:
//
// Please enjoy Dube's new RGB color-codes.
// They are of the format ^c<R><G><B> where <R>, <G>, and <B> are values 0-9.
// Have fun with super-colorful names/clan tags.
//
// Love,
// rgoer

Example script to animate your name. Press home to activate it. Though, when I tried this it sort of lagged my shit up. No impact on framerate, but it takes a few seconds for the chat prompt to pop up, and what not.

Code: Select all

bind "HOME" "ui_clan '^c910<^c950r^c990a^c091v^c095e^c099n^c109>^0' ; set ua_nameAnimator 'vstr ua_rainbowAnimator'; vstr ua_nameAnimator"

set ua_rainbowAnimator "ui_name '^c910rgoer^0'; wait 10; ui_name '^c950rgoer^0'; wait 10; ui_name '^c990rgoer^0'; wait 10; ui_name '^c091rgoer^0'; wait 10; ui_name '^c095rgoer^0'; wait 10; ui_name '^c099rgoer^0'; wait 10; ui_name '^c109rgoer^0'; wait 10; ui_name '^c509rgoer^0'; wait 10; ui_name '^c909rgoer^0'; wait 10; vstr ua_nameAnimator"

Posted: Wed Oct 19, 2005 4:11 am
by Don Carlos
nice :D

Posted: Wed Oct 19, 2005 4:42 am
by R00k
Nice, tons of color codes. :icon14:

Posted: Wed Oct 19, 2005 3:57 pm
by [TJD]Rico
Does 9 equate to 255 in normal RGB triplet terms? Normally one would specifiy RGB in terms of 0-255, 0-255, 0-255 (or 00-FF for HTML). So, would 1 be 28, 2 be 57, 3 be 85 etc. up to 9 being 255?

Posted: Wed Oct 19, 2005 4:02 pm
by rgoer
yeah it's a bit quantized... 0 = 0 and 9 = 255

Posted: Wed Oct 19, 2005 8:03 pm
by GhostThane
Very Cool!

Posted: Mon Oct 24, 2005 6:50 am
by ex-28
is there a way to have this auto activated when joining a game ?