Jump to content

Home

"Color-switching" saber color


Neon

Recommended Posts

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-

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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"

Link to comment
Share on other sites

  • 1 month later...
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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...