Huge variety of name colors, and animation script

Locked
User avatar
DooMer
Posts: 3068
Joined: Thu Dec 23, 1999 8:00 am

Huge variety of name colors, and animation script

Post 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"
Don Carlos
Posts: 17509
Joined: Thu Jan 01, 1970 12:00 am

Post by Don Carlos »

nice :D
Where were you when the West was defeated?
[url=http://profile.mygamercard.net/doncarlos83][img]http://card.mygamercard.net/gbar/doncarlos83.gif[/img][/url]
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Post by R00k »

Nice, tons of color codes. :icon14:
[TJD]Rico
Posts: 109
Joined: Tue Oct 18, 2005 8:19 pm

Post 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?
rgoer
Posts: 798
Joined: Sun Aug 17, 2003 7:00 am

Post by rgoer »

yeah it's a bit quantized... 0 = 0 and 9 = 255
GhostThane
Posts: 367
Joined: Sat Jul 09, 2005 5:01 am

Post by GhostThane »

Very Cool!
<LoT>BodyCount
Http://Horkathane.com
ex-28
Posts: 49
Joined: Sat Oct 22, 2005 1:58 am

Post by ex-28 »

is there a way to have this auto activated when joining a game ?
Locked