Page 1 of 1

RGB in .sab

Posted: Mon Nov 09, 2015 6:15 am
by Syrena Exan
While doing the saber pack and looking into what can be done with a .sab file, I noticed that JA+ managed to add new commands to it. So I've wondered, could we reprogram the 'saberColor' line to register rgb values rather than just the basic color names? This would allow us to program in our custom colors and not need to worry about fussing with rgb values when switching between hilts.

The format could be:

saberColor r000;g000;b000

or something similar.

Re: RGB in .sab

Posted: Mon Nov 09, 2015 6:16 am
by Cero Rooi
This would be awesome!

Re: RGB in .sab

Posted: Mon Nov 09, 2015 6:22 am
by Evanin Dawnstar
It's already possible with /rgb_saber1 and /rgb_saber2.
Example wrote:rgb_saber1 64,77,101 (How I got my Silver color)
That command line wouldn't work (the one you suggested) as using a semi-colon (;) causes the command line to register 'complete' so you end up with g000 and b000 posted in /say, useful if you want to backup several commands like /me folds her arms as she observes the students;emcrossarms.

Means however you can type /rgb_saber1 <Number>,<Number>,<Number>;rgb_saber2 <Number>,<Number>,<Number> in the console and it will register both together. (Won't work if you plan to bind it, you'd have to bind it to 2 buttons)

I asked about this before: Link

Re: RGB in .sab

Posted: Mon Nov 09, 2015 6:40 am
by Syrena Exan
I'm not talking about typing it in the console. I'm talking about putting an entry in the .sab file. Currently it lets you type a color name, but not put in specific rgb values. This is what I'm looking for.

Re: RGB in .sab

Posted: Mon Nov 09, 2015 7:20 am
by Zander-Bo Umra
What Syrena describes is essentially not having to muck around with rgb settings ever again until your saber is released. This makes passing on lightsabers a lot easier, as the color's simply coded into the blade beforehand.

Make it happen if possible.

Re: RGB in .sab

Posted: Mon Nov 09, 2015 12:25 pm
by Keth Flynn
+1