Found this little script over at thebind that says it will change your rail color every shot. I can't get it working, can someone confirm that the below does work?
// Rail Rainbow
// ============
set rail0 "color 0; set rrail vstr rail1"
set rail1 "color 1; set rrail vstr rail2"
set rail2 "color 2; set rrail vstr rail3"
set rail3 "color 3; set rrail vstr rail4"
set rail4 "color 4; set rrail vstr rail5"
set rail5 "color 5; set rrail vstr rail6"
set rail6 "color 6; set rrail vstr rail0"
vstr rail0
set rrail vstr rail0
bind x "weapon 7; vstr rrail"
SOAPboy wrote:Manually bind the key in your q3config and ditch that bind x line.. had to do that with that script..
hmm, what is there to manually bind? All I see is the line you are saying to do away with... so all I do is throw all that mess in my config and delete the bind line, and that should work? :icon32:
SOAPboy wrote:Manually bind the key in your q3config and ditch that bind x line.. had to do that with that script..
hmm, what is there to manually bind? All I see is the line you are saying to do away with... so all I do is throw all that mess in my config and delete the bind line, and that should work? :icon32:
If i remember correctly, i had to make a rail.cfg for the script and bind x to "call" that cfg
so like make the file rail.cfg and add the whole script to it
make the bind x weapon line in it just weapon 7; vstr rrail
then in your q3config, rebind your railgun key, to exec rail.cfg
should work..
[size=75][i]I once had a glass of milk.
It curdled, and then I couldn't drink it. So I mixed it with some water, and it was alright again.
I am now sick.
[/i][/size]
[img]http://img162.imageshack.us/img162/3631/171164665735hk8.png[/img]
set rail0 "color 0; set rrail vstr rail1"
set rail1 "color 1; set rrail vstr rail2"
set rail2 "color 2; set rrail vstr rail3"
set rail3 "color 3; set rrail vstr rail4"
set rail4 "color 4; set rrail vstr rail5"
set rail5 "color 5; set rrail vstr rail6"
set rail6 "color 6; set rrail vstr rail0"
vstr rail0
set rrail vstr rail0
set rail0 "color 0; set rrail vstr rail1"
set rail1 "color 1; set rrail vstr rail2"
set rail2 "color 2; set rrail vstr rail3"
set rail3 "color 3; set rrail vstr rail4"
set rail4 "color 4; set rrail vstr rail5"
set rail5 "color 5; set rrail vstr rail6"
set rail6 "color 6; set rrail vstr rail0"
vstr rail0
set rrail vstr rail0
set rail0 "color1 "0"; set rrail vstr rail1"
set rail1 "color1 "1"; set rrail vstr rail2"
set rail2 "color1 "2"; set rrail vstr rail3"
set rail3 "color1 "3"; set rrail vstr rail4"
set rail4 "color1 "4"; set rrail vstr rail5"
set rail5 "color1 "5"; set rrail vstr rail6"
set rail6 "color1 "6"; set rrail vstr rail0"
vstr rail0
set rrail vstr rail0
bind c "weapon 7; vstr rrail"
Change C with whatever button..
i assume your not playing baseq3 =P
[size=75][i]I once had a glass of milk.
It curdled, and then I couldn't drink it. So I mixed it with some water, and it was alright again.
I am now sick.
[/i][/size]
[img]http://img162.imageshack.us/img162/3631/171164665735hk8.png[/img]
Here's my version (made this one myself about a year ago):
set cg_oldrail 1
set cg_railtrailtime 100
set rc "color1 7; set rc vstr r1"
set r1 "color1 1; set rc vstr r2"
set r2 "color1 2; set rc vstr r3"
set r3 "color1 3; set rc vstr r4"
set r4 "color1 4; set rc vstr r5"
set r5 "color1 5; set rc vstr r6"
set r6 "color1 6; set rc vstr r7"
set r7 "color1 7; set rc vstr r1"
bind mouse1 "+attack; vstr rc"
EDIT: that +attack thingy could be bad for online play; every shot enlarges the snapshot by about 10 bytes (configstring with the new rail color).