www.quake.ie  

discord - the Ireland Gaming Club  
IEGC - www.irelandgamingclub.com  
Ireland Gaming Club - facebook  

Quake Live Server - quake.hagfish.ing  


search  
 quake.ie | anonymous | login | register

quake.ie columns quake scripts
 02/12/2002   quake scripts1768 views | 10 replies 
CoLdSaLmOn
Scott




posts : 23


/* note: i also put this on the help page but i dont think anyone looks at it :d */

i was trying to get this script going where q is my rail bind. i put this into railrainbow.cfg and at the base of q3config.cfg i put 'exec railrainbow.cfg' see if you can help me out
// 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 q "weapon 7; vstr rrail"
 
 

02/12/2002 18:14#1
Anarchy
James McCarthy




posts : 10


color isnt a valid command anymore? thought it was replaced by color1 and color2.. I
might be very wrong though.
 
 

03/12/2002 03:28#2
Jedi
jedi




posts : 240
administrator


I think Anarky is correct here. Seems like avery old script.
 
 

04/12/2002 18:39#3
S1lenCe
Chevy B.R.


Quaker since born

posts : 29


Yeah, is ./color1 x o ./color2 x for OSP (I think color x is for Quake without mods)

Anyway... strange script

Look at this one: it's not useful at all but it will help you to make scripts (is to toggle simple items on/off with a key)

bind z "vstr sitoggle" //
seta sitoggle "vstr simpleoff"
seta simpleoff "cg_simpleitems 0; set sitoggle vstr simpleon"
seta simpleon "cg_simpleitems 1; set sitoggle vstr simpleoff"





 
 

12/12/2003 00:12#4
anonymous





All you gotta do is chane the script slightly.
Example:

set rail0 "color 0; set rrail vstr rail1"

to

set rail0 "color1 "0"; set rrail vstr rail1"

Do that on every line, you get the idea, it will work now

funtcucker
 

17/01/2004 09:01#5
anonymous





funtcucker what u said still doesnt work for me why?!!?!?! i will show u mine :/


// Rail Rainbow
// ============
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 q "weapon 7; vstr rrail"




anonymous
 

03/08/2004 20:00#6
anonymous





// Rail Rainbow
// ============
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 MOUSE4 "weapon 7; vstr rrail"


Thats pasted from my autoexec.cfg

funtcucker
 

03/08/2004 20:02#7
anonymous





put it in its own config file called autoexec.cfg AND in you main config. Make sure you put copys of both of them in ALL your mod and gametype folders.

funtcucker
 

23/09/2004 06:57#8
anonymous





Hey guys! Interesting concept, I tried these out although it didn't work right from the get-go just a few minor adjustments and Bob's ur unlce!

Here's the script with alterations to make the (player) colour change every click/shot.

// Rail Rainbow (DWF-Edit)
// ============
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 mouse1 "+attack; vstr rrail"

This works fine for me, hope it goes OK for everyone else too.

GL.

daworfizm
 

23/09/2004 07:01#9
anonymous





(Note* The reason why the previous scripts may have failed I believe is the quotation marks, Quake3 prefers vars in a config [string] to be free of 'nested'/multiple quotes - I may be wrong on that so don't quote me... =] GL.)

daworfizm
 

23/09/2004 07:07#10
anonymous





// Rail Rainbow (DWF-Edit)
// ============
set rail0 "color1 0; color2 6; set rrail vstr rail1"
set rail1 "color1 1; color2 5; set rrail vstr rail2"
set rail2 "color1 2; color2 4; set rrail vstr rail3"
set rail3 "color1 3; color2 3; set rrail vstr rail4"
set rail4 "color1 4; color2 2; set rrail vstr rail5"
set rail5 "color1 5; color2 1; set rrail vstr rail6"
set rail6 "color1 6; color2 0; set rrail vstr rail0"
vstr rail0
set rrail vstr rail0
bind mouse1 "+attack; vstr rrail"

Just in case you want the 'wall-mark' colour opposite to the beam colour... =]

daworfizm
 
you must be logged in to post replies.
click here to login.
click here to become a member.
click here to search.