PDA

View Full Version : "Color-switching" saber color


Neon
10-08-2005, 03:46 PM
A long time ago in my first days in JA, I met a person online who was using a saber color, that switches to red, green, yellow, blue, purple and orange.
Very cool, I asked him how, and he gave me a whole code to type in the console.
I didn't realise how cool it was, so I forgot to remember the code.

So does anyone here knows that code to get a color switching lightsaber?
I know there is one in forcemod, but I need it for basejka and jedi academy +
-Thanks-

ZeroX2
10-08-2005, 04:44 PM
Read up on scripting. I don't script myself, but you'd probably need some sort of loop that just cycles through the saber colours.

Edit: Apparently this script will cycle through the saber colours with each press of a key. I'm sure you mean a script that cycles automatically, but maybe this'll do in the meantime?

set change1 "color1 1;;bind f12 vstr change2"
set change2 "color1 2;;bind f12 vstr change3"
set change3 "color1 3;;bind f12 vstr change4"
set change4 "color1 4;;bind f12 vstr change5"
set change5 "color1 5;;bind f12 vstr change1"
bind f12 vstr change1

razorace
10-08-2005, 05:43 PM
I don't know if JA+ has a the "pimp" saber colors. It's probably only for mods that have TCK's improved JKA saber colors (FM3 and OJP as far as I know).

Kurgan
10-08-2005, 06:48 PM
I would think it would be possible with a Script, since (IIRC) changing your saber color doesn't require your respawning for it to take effect (you just choose it in the profile menu and it changes instantly), unlike say your hilt model, and unlike your player model, that people can choose not to recognize until respawn (or they hit "TAB" to synchronize models).

So its probably possible even without a mod (though the Pimp saber does it nicely for you in OJP, heh).

ZeroX2
10-08-2005, 08:30 PM
Hah, I had a go at scripting it. >_> My script stops me moving while it changes the saber colours, and half of it doesn't work (because you can't change the saber colour repeatedly).

Here's what I had:
set colourchange1 "color1 1; wait 3; vstr colourchange2"
set colourchange2 "color1 2; wait 3; vstr colourchange3"
set colourchange3 "color1 3; wait 3; vstr colourchange4"
set colourchange4 "color1 4; wait 3; vstr colourchange5"
set colourchange5 "color1 5; wait 3; vstr colourchange1"
bind q vstr colourchange1

I don't think what you want would be possible. But then, I don't know much about scripting.

razorace
10-08-2005, 11:17 PM
Well, I'm wary to suggest such things because it could in theory lag the server by doing that.

Neon
10-09-2005, 08:08 AM
Ok, but you sayd OJP has it. Does that mean that when I download a OJP basic or enhanced (I don't know wich one) I can use that?

razorace
10-09-2005, 03:36 PM
OJP and FM3 use a different saber blade color system. In this different system, there's a dedicated blade color called "pimp" that constantly shifts colors.

shukrallah
10-22-2005, 09:15 PM
Yeah, I remember when they used this "pimp" saber back in JK2... everyone was like "WHOA!!! KOOLLLL D0000D!!!11"

marvidchano
10-23-2005, 09:49 AM
wow i have got to try that!

BuZZes
10-23-2005, 12:18 PM
here is my saber color switching script
its some kind of a huge loop using the moving keys
-> theory: every time u press a w-a-s-d key the loop moves 1 step forward
just try :P
it included a switcher too, so u can switch it off if u want to

//on-off switch key
bind L "vstr rac_on"

//ur moving-keys
bind A "+moveleft;vstr rac"
bind D "+moveright;vstr rac"
bind W "+forward;vstr rac"
bind S "+back;vstr rac"

set rac_on "vstr rac_on_1"
set rac_on_1 "set rac vstr leer;echo ^7s^2aber ^7c^2olor ^7s^2cript ^7----^1DEACTIVATED^7----;set rac_on vstr rac_on_2"
set rac_on_2 "set rac vstr rac_w_1;echo ^7s^2aber ^7c^2olor ^7s^2cript ^7----^2ACTIVATED^7----;set rac_on vstr rac_on_1"

set rac "vstr rac_w_1"
set rac_w_1 "set rac vstr rac_w_2"
set rac_w_2 "set rac vstr rac_w_3"
set rac_w_3 "set rac vstr rac_w_4"
set rac_w_4 "set rac vstr rac_w_5"
set rac_w_5 "set rac vstr rac_w_6"
set rac_w_6 "set rac vstr rac_w_7"
set rac_w_7 "set rac vstr rac_w_8"
set rac_w_8 "set rac vstr rac_w_9"
set rac_w_9 "set rac vstr rac_w_10"
set rac_w_10 "set rac vstr rac_w_11"
set rac_w_11 "set rac vstr rac_w_12"
set rac_w_12 "set rac vstr rac_w_13"
set rac_w_13 "set rac vstr rac_w_14"
set rac_w_14 "set rac vstr rac_w_15"
set rac_w_15 "set rac vstr rac_w_16"
set rac_w_16 "set rac vstr rac_w_17"
set rac_w_17 "set rac vstr rac_w_18"
set rac_w_18 "set rac vstr rac_w_19"
set rac_w_19 "set rac vstr rac_w_20"
set rac_w_20 "set rac vstr rac_w_100"

set rac_w_100 "set rac vstr rac_w_110"
set rac_w_110 "set rac vstr rac_w_120"
set rac_w_120 "set rac vstr rac_w_130"
set rac_w_130 "set rac vstr rac_w_140"
set rac_w_140 "set rac vstr rac_w_150"
set rac_w_150 "set rac vstr rac_w_160"
set rac_w_160 "set rac vstr rac_w_170"
set rac_w_170 "set rac vstr rac_w_180"
set rac_w_180 "set rac vstr rac_w_190"
set rac_w_190 "set rac vstr rac_w_200"
set rac_w_200 "set rac vstr rac_w_21"


set rac_w_21 "set rac vstr rac_w_22"
set rac_w_22 "set rac vstr rac_w_23"
set rac_w_23 "set rac vstr rac_w_24"
set rac_w_24 "set rac vstr rac_w_25"
set rac_w_25 "set rac vstr rac_1"

set rac_1 "seta color1 0;seta color2 5;set rac_w_25 vstr rac_2;set rac vstr rac_w_1"
set rac_2 "seta color1 1;seta color2 4;set rac_w_25 vstr rac_3;set rac vstr rac_w_1"
set rac_3 "seta color1 2;seta color2 3;set rac_w_25 vstr rac_4;set rac vstr rac_w_1"
set rac_4 "seta color1 3;seta color2 2;set rac_w_25 vstr rac_5;set rac vstr rac_w_1"
set rac_5 "seta color1 4;seta color2 1;set rac_w_25 vstr rac_6;set rac vstr rac_w_1"
set rac_6 "seta color1 5;seta color2 0;set rac_w_25 vstr rac_1;set rac vstr rac_w_1"

Kurgan
10-23-2005, 05:24 PM
Yeah, it's in OJP Basic... (http://strategy.jediknight.net/jka/downloads.shtml)

PoiuyWired
12-06-2005, 08:28 PM
how do you activate pimp saber in OJP, can't get it to work
actually, I can't get the rgb_saber1 codes to work in ~tabs also, help?

Lathain Valtiel
12-06-2005, 09:15 PM
O Kurgan, update that page. Your version is behind.

This guy probably has the shader conflict dealie.

razorace
12-06-2005, 10:07 PM
how do you activate pimp saber in OJP, can't get it to work
actually, I can't get the rgb_saber1 codes to work in ~tabs also, help?

Pimp saber is one of the possible saber options while selecting a saber color/hilt. It's the icon with a multicolored saber.

StaffSaberist
12-06-2005, 10:11 PM
O Kurgan, update that page. Your version is behind.

This guy probably has the shader conflict dealie.

You mean the one with the White and Black sabers not showing up? I still do, since I couldn't find the update. :(

Lathain Valtiel
12-06-2005, 11:30 PM
It's on pcgamemods at the moment.

razorace
12-07-2005, 12:27 AM
ojp.jediknight.net, you can always find the lastest releases from there.

Kurgan
12-07-2005, 08:03 AM
Sorry I'm behind on my updating. Maybe I'll fix that tonight in between studying for finals. :P

PoiuyWired
12-07-2005, 03:11 PM
Well, not much is changed I think... is there any new OJP enhanced?

razorace
12-07-2005, 05:39 PM
Not much has changed?! Have you even checked it out? I got the holstered weapon code to work without using special models!

And, no, there hasn't been an Enhanced release for a while now.