PDA

View Full Version : binding sabercolors


Dessan_E
04-26-2002, 01:46 AM
Can someone show me how to bind saber colours to a key...also how to bind models to a key would be helpful.

Thank you.

Sparks
04-26-2002, 07:23 PM
Hola!

Once again it is time for... da da da da!! (:p) [Sots]Sparks's wonderful saber color changing script!!! Well, here it is:

// Saber Color Changer
// Created by [SotS]-Sparks
// coolcommander@charter.net
//===================

// Red
set saber0 "color1 0; set scolor vstr saber1"

//Orange
set saber1 "color1 1; set scolor vstr saber2"

//Yellow
set saber2 "color1 2; set scolor vstr saber3"

//Green
set saber3 "color1 3; set scolor vstr saber4"

//Blue
set saber4 "color1 4; set scolor vstr saber5"

//Purple
set saber5 "color1 5; set scolor vstr saber0"

vstr saber0
set scolor vstr saber0
bind v "vstr scolor"

save it as scolor.cfg and place it in your base directory. During the game type exec scolor.cfg. Currently it is bound to v to change saber color.

Models would be the same but it would be like:
set model0 "model <model name>; set mymodel vstr model0"

set model1 "model <2nd model name>; set mymodel vstr model1"

vstr model0
set mymodel vstr model0
bind b "vstr mymodel"
hope that helped!!

SnowMongoose
04-27-2002, 12:45 AM
Bwahahahaha!!

I love pointless stuff like this!
woohoo!

Snow

Dessan_E
04-27-2002, 02:28 AM
Your post was most definitely very helpful Sparks thanks a lot, you saved me from binding a whole bunch of keys...I got the saber color to work perfectly but i'm having some difficulty with the models...I use the model config for the different reborn...i set the first one to boss and that's the model it starts with but i can't seem to cycle through the other 3...i used the code you posted.

Dessan_E
04-27-2002, 07:41 PM
Never mind got it to work now.

Sparks
04-28-2002, 08:37 PM
Wow!! I never knew i would become so famous :cool:. I havn't visted the fourms in a while which is why i didn't reply. I'm gald you figured it out!

[SotS]Sparks