Hello there-
I’m inexperienced with creating blade styles for proffieboard 2.2, and I am trying to make a custom profile for a lightsaber I’m making with a friend. They want the blade to look unstable with a blue-to-pink gradient, and the crystal to pulse blue and pink. We’re using Greyscale Fonts’ “Analog” sound font and a modded version of their pre-on effect. The blade style I’ve come up with is here, and it works in the style editor:
StylePtr<Layers<
Stripes<3000,-3500,RotateColorsX<Variation,Gradient<Blue,DeepSkyBlue,HotPink,DeepPink>>,RandomPerLEDFlicker<RotateColorsX<Variation,Gradient<Rgb<0,0,100>,Rgb<50,50,100>,Rgb<100,50,50>,HotPink>>,Black>,BrownNoiseFlicker<RotateColorsX<Variation,Gradient<Blue,DeepSkyBlue,HotPink,DeepPink>>,RotateColorsX<Variation,Gradient<Rgb<0,0,70>,Rgb<30,30,70>,Rgb<70,50,50>,Rgb<70,30,30>>>,200>,RandomPerLEDFlicker<RotateColorsX<Variation,Gradient<Rgb<0,0,100>,Rgb<50,50,100>,Rgb<100,50,50>,HotPink>>,RotateColorsX<Variation,Gradient<Rgb<0,0,70>,Rgb<30,30,70>,Rgb<70,50,50>,Rgb<70,30,30>>>>>,
TransitionLoopL<TrConcat<TrWaveX<AudioFlicker<RotateColorsX<Variation,Gradient<Blue,DeepSkyBlue,HotPink,DeepPink>>,BrownNoiseFlicker<RotateColorsX<Variation,GhostWhite>,Black,200>>,Int<400>,Int<100>,Int<200>,Int<0>>,AlphaL<DeepSkyBlue,Int<0>>,TrDelayX<Scale<SlowNoise<Int<1000>>,Int<100>,Int<1000>>>>>,
TransitionLoopL<TrConcat<TrWaveX<AudioFlicker<RotateColorsX<Variation,DeepSkyBlue>,BrownNoiseFlicker<Black,RotateColorsX<Variation,DeepPink>,300>>,Int<400>,Int<100>,Int<200>,Int<0>>,AlphaL<Gradient<Rgb<0,0,100>,Rgb<50,50,100>,Rgb<100,50,50>,HotPink>,Int<0>>,TrDelayX<Scale<SlowNoise<Int<1000>>,Int<200>,Int<1500>>>>>,
TransitionLoopL<TrConcat<TrInstant,AlphaL<Pulsing<Blue,DeepPink,800>,Bump<Int<0>,Int<800>>>,TrDelay<3200>>>,
TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Blue,300>,50,1>,TrConcat<TrInstant,White,TrFade<400>>,TrFade<100>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,
ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,
ResponsiveStabL<Orange>,
ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
ResponsiveClashL<White,TrInstant,TrFade<400>>,
LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Rgb<255,200,0>,DarkOrange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
OnSparkL<Pulsing<Stripes<3000,-3500,RandomPerLEDFlicker<White,Black>,White>,HumpFlicker<White,Gradient<Blue,DeepPink>,50>,800>,Int<500>>,
InOutTrL<TrWipeSparkTip<White,300>,TrCenterWipeSpark<BrownNoiseFlicker<White,Black,50>,700>>,
TransitionEffectL<TrConcat<TrFade<100>,AlphaL<Pulsing<White,Stripes<1000,-3000,Blue,DeepPink>,500>,Bump<Int<0>,Int<15000>>>,TrBoing<600,9>>,EFFECT_PREON>>>()
When I try to verify it in Arduino, it gives me an error message on the line for the ignition/retraction part of the code:
C:\Users\user\OneDrive\Desktop\ProffieOS\config\config.h:43:38: error: ‘TrCenterWipeSpark’ was not declared in this scope
43 | InOutTrL<TrWipeSparkTip<White,300>,TrCenterWipeSpark<BrownNoiseFlicker<White,Black,50>,700>>,
| ^~~~~~~~~~~~~~~~~~~
C:\Users\user\OneDrive\Desktop\ProffieOS\config\config.h:43:92: error: template argument 2 is invalid
43 | InOutTrL<TrWipeSparkTip<White,300>,TrCenterWipeSpark<BrownNoiseFlicker<White,Black,50>,700>>,
| ^~~
C:\Users\user\OneDrive\Desktop\ProffieOS\config\config.h:43:92: error: template argument 3 is invalid
C:\Users\user\OneDrive\Desktop\ProffieOS\config\config.h:43:95: error: template argument 14 is invalid
43 | InOutTrL<TrWipeSparkTip<White,300>,TrCenterWipeSpark<BrownNoiseFlicker<White,Black,50>,700>>,
| ^~
C:\Users\user\OneDrive\Desktop\ProffieOS\config\config.h:44:159: error: expected primary-expression before ‘)’ token
44 | TransitionEffectL<TrConcat<TrFade<100>,AlphaL<Pulsing<White,Stripes<1000,-3000,Blue,DeepPink>,500>,Bump<Int<0>,Int<15000>>>,TrBoing<600,9>>,EFFECT_PREON>>>()},
| ^
Using library Wire at version 1.0 in folder: C:\Users\user\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\2.2.0\libraries\Wire
exit status 1
Error compiling for board Proffieboard V2.
I would really appreciate any help to get this profile to work, or if there’s another way to get a similar effect.
Thanks,
-Ben