Jump to content

Home

\color1 --> color cycling?


thaumaturgy

Recommended Posts

I figure this is the best place to ask about this console command, since it might get lost in General.

 

I know that if you use \color1 # in the console (where # = 0-6) that you can change the color of the saber in-game for MP. What I want to know is, based on the console scripting language, is there a way to set a variable that's incremental?

 

For example, if I were to do this in a pseudo-C++ type of language, it might look like:

 

\set mycolor 1;

 

bind a

"

\color1 mycolor;

\mycolor++;

"

 

Also, does anyone know a site that has all console commands?

 

Thanks,

Link to comment
Share on other sites

i once made a script like that, i also made one that changed thru the reborn model very fast, but it all ended up in crashing me and the server and the clients! so forget it! the servers now have floodprotection 1 and that is good.

Link to comment
Share on other sites

Originally posted by Subject452

u can't get it the way u described, u would want to make a script of some sort that toggles between colors everytime u press the button.

 

u can see all the commands with the command, cmdlist and then dump it 2 a doc file.

 

How do I dump it to a doc file?

Link to comment
Share on other sites

Try this:

 

open notepad then type:

 

//Start Script

set s_color0 "color1 0; bind pgdn vstr s_color1"

set s_color1 "color1 1; bind pgdn vstr s_color2"

set s_color2 "color1 2; bind pgdn vstr s_color3"

set s_color3 "color1 3; bind pgdn vstr s_color4"

set s_color4 "color1 4; bind pgdn vstr s_color5"

set s_color5 "color1 5; bind pgdn vstr s_color6"

set s_color6 "color1 6; bind pgdn vstr s_color0"

bind pgdn vstr s_color0

//End script

 

 

then save as colors.cfg

Place it in your BASE dir

Ingame open console the type exec colors.cfg then press Page Down to cycle colors

 

Hope that helps

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...