Rainbow Rails for Quake 4, and Useful Cvars 'n Shit!
Posted: 2005-11-24 05:05am
I'm looking to convert my Q3 Rail Rainbow script to run on Quake 4.
Apparently the Q4 engine uses HSV colorspace instead of assigning a color to a number..
I'm thinking something maybe like
And yes, right here is the first place this code was written. So, how 'bout the Rainbow Rails Script? Also, anyone else with Q4 got any useful cvars 'n shit to post?
Code: Select all
//Rail Rainbow (Yes, this one works, as the <-gLu-> PeepZ know. :D )
set d1 "set color1 1; set color2 3; set changecolor vstr d2"
set d2 "set color1 3; set color2 2; set changecolor vstr d3"
set d3 "set color1 2; set color2 4; set changecolor vstr d4"
set d4 "set color1 4; set color2 6; set changecolor vstr d5"
set d5 "set color1 6; set color2 5; set changecolor vstr d6"
set d6 "set color1 5; set color2 7; set changecolor vstr d7"
set d7 "set color1 7; set color2 1; set changecolor vstr d1"
set changecolor "vstr d1"
bind mouse1 "+attack; vstr changecolor"
I'm thinking something maybe like
Code: Select all
set d1 "set ui_HitScantint 0 1 1; set changecolor vstr d2" //bright red
set d2 "set ui_HitScantint 30 1 1; set changecolor vstr d3" //b. orange
set d3 "set ui_HitScantint 60 1 1; set changecolor vstr d4" //yellow
set d4 "set ui_HitScantint 90 1 1; set changecolor vstr d5" //yellow green
set d5 "set ui_HitScantint 120 1 1; set changecolor vstr d6" //bright green
set d6 "set ui_HitScantint 150 1 1; set changecolor vstr d7" //greener-than-cyan
set d7 "set ui_HitScantint 180 1 1; set changecolor vstr d8" //cyan
set d8 "set ui_HitScantint 210 1 1; set changecolor vstr d9" // darksky blue
set d9 "set ui_HitScantint 240 1 1; set changecolor vstr d10" //pure blue
set d10 "set ui_HitScantint 270 1 1; set changecolor vstr d11" //bluepurple
set d11 "set ui_HitScantint 300 1 1; set changecolor vstr d12" //magenta purple
set d12 "set ui_HitScantint 330 1 1; set changecolor vstr d1" //redpurple
set changecolor "vstr d1"
bind mouse1 "+attack; vstr changecolor"