View Full Version : SaberColor Script?

06-08-2002, 02:05 PM
I remember that one time I saw a sabercolor changing script in these forums but I can't find it anymore. Does anyone have it? I'm not talking about RGB Sabers.

06-09-2002, 10:59 PM

06-10-2002, 09:04 AM
How to easily change saber color in a single player game...

A) Temporary Cheat - must be done each level

1. Hit SHIFT+`(tilde key, usually above TAB) for the console.
2. Type HelpUsObi 1
3. Type sabercolor red
4. Type HelpUsObi 0
5. Hit SHIFT+` to close the console.

B) Semi-permanent Script - using a hotkey

1. Open Notepad in your Start>rograms>Accessories menu
2. Type this exactly...

bind DEL "vstr r_saber"
set r_saber "HelpUsObi 1; sabercolor red; wait 30; HelpUsObi 0"

3. Now save the file as autoexec.cfg in your Gamedata/Base folder of your Jedi Outcast program (probably in Program Files>LucasArts>Jedi Knight II... or wherever you installed the game). BE SURE that the "save as type" field in the save window says "All Files" instead of "Text Documents," or it will be saved as autoexec.cfg.txt, and won't work.

4. Now everytime you press the DELETE key in a SP game, it will set your saber color to red.

If you've already created an autoexec.cfg file, just add those lines to it.

C) If you want to cycle the colors, type this instead...

bind DEL "vstr r_saber"
set r_saber "HelpUsObi 1; sabercolor red; wait 30; HelpUsObi 0; bind DEL vstr g_saber"
set g_saber "HelpUsObi 1; sabercolor green; wait 30; HelpUsObi 0; bind DEL vstr o_saber"
set o_saber "HelpUsObi 1; sabercolor orange; wait 30; HelpUsObi 0; bind DEL vstr p_saber"
set p_saber "HelpUsObi 1; sabercolor purple; wait 30; HelpUsObi 0; bind DEL vstr y_saber"
set y_saber "HelpUsObi 1; sabercolor yellow; wait 30; HelpUsObi 0; bind DEL vstr b_saber"
set b_saber "HelpUsObi 1; sabercolor blue; wait 30; HelpUsObi 0; bind DEL vstr r_saber"

This cycles the saber colors with the DELETE key.

D) And if you want to start a brand new game from scratch with a lightsaber and force powers, add this to the autoexec.cfg file...

bind INS "vstr jedi_cool"
set jedi_cool "HelpUsObi 1; setforceall 5; give weaponnum 1; wait 30; HelpUsObi 0"

When the game starts, hit the INSERT key. Then press "1" for the lightsaber. You won't see it, but hit your Alt Attack key to throw it, and it will light up. You also have force level 5 of all powers, with two new stances that are really fun. Now when you press the DELETE key, the saber color will change too. BE SURE that the word "weaponnum" has two N's in it, or it won't work.

E) An excerpt from a JKII.net forum post by AKPiggott...

SP Saber Colour: The Definitive Guide!

Mike Gummelt and myself have finally worked out an effective way to change the saber colour for your SP level!

OK first of all create a directory under the "gamedata" folder. This will be your mod directory.

Now open up Notepad and type the following:

map pit
helpusobi 1
wait 60
sabercolor red
helpusobi 0

Save this file in your mod directory as "gamestart.cfg".

Now, open up assets1.pk3 in the "base" directory. Extract the file "ui\newgame.menu" into your mod directory.

Now open this file and search for the following line:

uiScript startgame

Delete this line and replace it with the following:

exec "exec gamestart.cfg"

Now create a new PK3 file with this modified file in under the "ui" directory. Make sure this PK3 file is saved under your mod directory.

Now load jk2sp.exe. Go to options, then mods. If you have the patched version of the game, your mod directory name should appear in the mod list. Click on your mod and click "load mod".

Now go to "New Game", select your difficulty and then begin. The level will load the "pit" map. Get your saber out... and... huzzah... it's red!

If you want to change the saber colour or the map that's loaded, simply open up "gamestart.cfg" and change the "sabercolor" and "map" command extensions.

[edit: mistake fixed, "newgame.menu" not "main.menu", sorry about that...]