View Full Version : "Binding Keys" question

06-30-2003, 04:25 PM
Hey dudes, I'm back with another question on binding keys :p

Here's what I want to do:
1. Change the player model to the green Reborn.

2. Change my name to BLaCKouT 1138

3. Change my saber colour to green.

Now I can bind them a key at a time (to 'G' for example) by typing:
1. \bind g model reborn/fencer
2. \bind g set name ^2BLaCKouT ^31138
3. I don't know the MP command for this one.

But when I try to combine the commands to one key, it doesn't work.
What would the /bind line be to do all three in one keypress?

Also, how can I bind the commands to one of the Function keys, eg F12? When I've tried in the past, it won't have it. :(

You can't say I let you get bored... ;)
Cheers in advance,

Sam Fisher
06-30-2003, 04:29 PM
To chain them together I think you do this.

bind g model reborn/fencer; bind g set name ^2BLaCKouT ^31138

I'll have to look around for the last one.

06-30-2003, 04:44 PM
Alright Sam :D

It doesn't seem to work I'm afraid. All it does is bind the second one over the top of the first one.

But if you could keep searching for the saber change, I'd appreciate that!

I've got the F-Keys sorted, I don't know why it wouldn't let me do it before...


Sam Fisher
06-30-2003, 04:50 PM
bind g model reborn/fencer; set name ^2BLaCKouT ^31138

Try that.

06-30-2003, 04:53 PM
Nah :(

It sets the bind for the model, but after the ; it treats it as a separate command, and not as part of the bind.

Which is to say it instantly renames the player, but doesn't add that action into the bind.

The line works fine when put in as a command, just not as a bind. The damn computer's being too logical :p


Sam Fisher
06-30-2003, 04:59 PM
I think a way to change it is to type

sabercolor green

I do not know of any others at the time.

06-30-2003, 05:03 PM
Doesn't want that, mate :( I think that only works in SP.

I have got the commands bound though. I created a txt file in my ...base folder, antered the command in there as follows:
model reborn/fencer
set name ^2BLaCKouT ^31138
renamed the file as a .cfg and consoled the following:
\bind F12 exec filename.cfg

All I need now is the MP saber change code and I'll be sorted. :D

Cheers for your help so far Sam,


Sam Fisher
06-30-2003, 05:08 PM
Well, I searched all over, and nothing came up, execpt for SP, sorry I coulden't help more.

06-30-2003, 05:32 PM
Alright then folks,
To bring you up to speed:

Does anyone know the MP console command for changing the lightsaber colour?

Cheers in advance, :D

07-01-2003, 02:19 AM
What you want to do is make a script for this in a .cfg file. In order to have spaces in your name you have to use "" which means it has to be scripted via a .cfg file. I personally use 9 different profiles with 3 different names which I have scripted via only 2 keys & 9 .cfg files. If you want to use multiple profiles, let me know & I can go into how all that works.

Anyways, for just a single profile here's what I would do. Go in your "base" folder, then copy & paste the "jk2mpconfig.cfg" in the "base" folder, then rename the file to "Blackout.cfg".

Next, you want to open the .cfg file with a text editor like Notepad or Wordpad (both of which comes with all Windows OS's), I use Wordpad myself. Select everything (ctrl & a) & delete it. Lastly, copy & paste the following in the file (yes, even the lines that begin with //).

model reborn/fencer
color1 3
name "^2BLaCKouT ^31138^7"
// The last line of .cfg files does not get used with all quake engine based games like JK2.model reborn/fencer
This changes the model & skin.

color1 3
This sets the saber color to green.

name "^2BLaCKouT ^31138^7"
This changes the name. I added the ^7 at the end because it looks better on the versus screen.

I also recommend you color code your name differently for servers with stats (so no one else can mess up your stats); Example, instead of "^2BLaCKouT ^31138^7" you can do "^3^2BLaCKouT ^1^31138^7" & no one will know your code except for you & the admin of the server(s).

// The last line of .cfg files does not get used with all quake engine based games like JK2.
Self-explanitory. You can leave the last line blank but I use this with all the .cfg files (except for my personal) with Duelers Full so everyone knows not to leave anything you want to be used on the last line.

Also, this is just 1 line so make sure that when you put it in the .cfg file, it is 1 line only.

07-01-2003, 02:22 AM
There you go B :D Fiannly got your answer! w00t!

07-01-2003, 02:38 AM
Originally posted by Marker0077
color1 3
This sets the saber color to green.

I thank you. You are the man. :D
You can have some points for that.

Cheers again,

07-01-2003, 09:54 AM
Thats a hell of a lot of playing around for three things no?

07-01-2003, 10:27 AM
Yes it is...Glad you got it figured out though!

BTW...Nice Glowy BB :)

07-01-2003, 11:05 AM
I use a script

*crowd goes wild, screaming "OMG U F*CK1NG SCR1PT0R!!"*

Shhht... I use a script to change my sabercolor :) Whenever I press the key, it goes to the next sabercolor :D Handy huh!!

//Saber color changer
// Red
set saber0 "color1 0; set scolor vstr saber1"

set saber1 "color1 1; set scolor vstr saber2"

set saber2 "color1 2; set scolor vstr saber3"

set saber3 "color1 3; set scolor vstr saber4"

set saber4 "color1 4; set scolor vstr saber5"

set saber5 "color1 5; set scolor vstr saber0"

set scolor vstr saber0
bind ins "vstr scolor"

Now you just press insert and hooray!! Your saber color changes :) I find it very amusing to change colors very fast, then your opponent is confused, whahahahaaa!! :p

07-01-2003, 11:39 AM
Originally posted by Semicolon
Yes it is...Glad you got it figured out though!

BTW...Nice Glowy BB :)
Ta Semi!