Config Accent Style Code Help

Hello there,

I had an installer write a style code for an accent light (red jewel on a TFU2). At the moment, he’s away and unreachable. For some reason, he made the light white. I thought i could swap “white” for “red” in the code but it didn’t work. Would someone be able to help me properly replace this code so that it pulses red instead of white? Code:

StylePtr<Layers<Pulsing<Black,RotateColorsX<Variation,Rgb<180,130,0>>,3000>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<White,Int<100>>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrInstant,TrInstant,Layers<Black,TransitionEffectL<TrConcat<TrInstant,RotateColorsX<Variation,White>,TrDelay<45000>,RotateColorsX<Variation,White>,TrFade<500>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrInstant,RotateColorsX<Variation,White>,TrDelay<45000>,RotateColorsX<Variation,White>,TrFade<500>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,RotateColorsX<Variation,White>,TrDelay<45000>,RotateColorsX<Variation,White>,TrFade<500>>,EFFECT_BOOT>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<RotateColorsX<Variation,Rgb<130,130,180>>,Int<100>>,TrFade<1200>>,EFFECT_RETRACTION>>>()},

Thank you!

Much of that up there doesn’t make sense. What is it you want the LED to actually do? Assuming it’s a pixel LED.

I think you want something like this:

StylePtr<Layers<
  Pulsing<Black,Red,3000>,
  TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,
  LockupL<AudioFlickerL<White>,AudioFlickerL<White>,Int<32768>,Int<32768>,Int<32768>>,
  LockupTrL<AudioFlickerL<White>,TrFade<100>,TrFade<100>,SaberBase::LOCKUP_MELT>,
  TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,
  TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<White,Int<100>>,TrFade<1200>>,EFFECT_IGNITION>,
  InOutTrL<TrInstant,TrInstant>,
  TransitionEffectL<TrConcat<TrInstant,Red,TrDelay<450>,Red,TrFade<500>>,EFFECT_RETRACTION>,
TransitionEffectL<TrConcat<TrInstant,Red,TrDelay<450>,Red,TrFade<500>>,EFFECT_NEWFONT>,
TransitionEffectL<TrConcat<TrInstant,Red,TrDelay<450>,Red,TrFade<500>>,EFFECT_BOOT>,
TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<Rgb<130,130,180>,Int<100>>,TrFade<1200>>,EFFECT_RETRACTION>>>()
1 Like

Thank you! Let me give this a shot and I’ll report back.

And correct, it is a pixel LED.

It worked! Thank you so much Brian!

1 Like