Clarification Question

So, I think I just figured out from studying the code, what RotateColorsX(Variation, COLOR) does.

All this time, I thought it slightly varied the color, within a small margin of around the base color.

But now after looking at code, it seems that’s what’s needed to wrap around the color(s) to allow the Color Change wheel to function on the style. Is this correct?

That would be correct.

Color change modes (normally) change the variance variable, which is (normally) used to modify the hue of the color.

I’m using Fett’s Edit Mode prop, is there a way to enable it to do the whole gradual color wheel instead of the EDIT MODE Color list?

Another Q: It only seems to be effecting BASE_COLOR_ARG, even though I wrapped the other colors in the style with RotateColorsX<Variation, COLOR>, etc.

Does the function not take a COLOR input, rotate it by X and return the new Color?

What I did:

Replaced all instances of:

RgbArg<BASE_COLOR_ARG, Rgb<127, 0, 0>>
RgbArg<ALT_COLOR_ARG, Rgb<0, 127, 0>>
RgbArg<ALT_COLOR2_ARG, Rgb<0, 0, 127>>
RgbArg<ALT_COLOR3_ARG, Rgb<0, 127, 127>>

with:

RotateColorsX<Variation, RgbArg<BASE_COLOR_ARG, Rgb<127, 0, 0>>>
RotateColorsX<Variation, RgbArg<ALT_COLOR_ARG, Rgb<0, 127, 0>>>
RotateColorsX<Variation, RgbArg<ALT_COLOR2_ARG, Rgb<0, 0, 127>>>
RotateColorsX<Variation, RgbArg<ALT_COLOR3_ARG, Rgb<0, 127, 127>>>

But when I go and change the color (tap power 4 times while saber is ON) it only seems to change the BASE_COLOR_ARG style, the parts using the ALT Colors don’t change.

No, Color Editing (Arguments) is a very different mechanism from RotateColorsX, you can’t mix. To get the same “fine-tuning” in Color Editing you dial to the starting color, then use Color Zoom feature to dial to exact color.

Refer to Controls for Control Change in my prop:

See here for more info

ah, so if you use EDIT MODE Color ARGS, then the Color Change button only changes the BaseColor Arg?

Color Change = 4 Clicks PWR (parallel or down)

Color Change is controlled by the style code (hence all the notes under the control :wink:

Yes, Color Change only affects the Base Color, the other colors are edited via Edit Mode or ProffieOS Workbench

Color Change = 4 Clicks PWR (parallel or down)
Rotate Hilt to select color (unless ColorChange<> style is used with COLOR_CHANGE_DIRECT*)
If styles use Edit Mode Color Editing styles, Color List is used
If styles use ColorChange<> then colors within the style are used
*if COLOR_CHANGE_DIRECT is defined then each click will change color instead of turn
Otherwise ColorWheel is used per style set up.
Long Click PWR to revert
Click PWR to save
Color Zoom* = Double Click and Hold PWR, Release to Save
*For Color List or ColorWheel you can Hold PWR down to zoom in color for easier selection
Release PWR to save

Ok. Thank you :slight_smile:

You’re welcome