#ifdef CONFIG_TOP #include "proffieboard_v2_config.h" #define NUM_BLADES 1 #define NUM_BUTTONS 1 #define VOLUME 1550 const unsigned int maxLedsPerStrip = 144; #define CLASH_THRESHOLD_G 3.0 #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SD #define BC_FORCE_PUSH #define ENABLE_AUTO_SWING_BLAST #define ENABLE_SERIAL #define COLOR_CHANGE_DIRECT #define DISABLE_DIAGNOSTIC_COMMANDS #define BC_SWING_ON #define BC_THRUST_ON #define FEMALE_TALKIE_VOICE #define VOLUME_MENU_CYCLE #define IDLE_OFF_TIME 60 * 5 * 1000 #define SPEAK_BLADE_ID #endif #ifdef CONFIG_PROP #include "../props/saber_BC_buttons.h" #include "../sound/sound_library.h" #endif #ifdef CONFIG_PRESETS Preset presets[] = { { "Blue;common", "tracks/JFO2.wav", StylePtr,Black,Blue>,Blue,800>,RgbArg>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<100>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,ResponsiveBlastL,Scale,Int<100>,Int<400>>>,ResponsiveClashL>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Red,Yellow>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>,InOutTrL,TrWipeIn<500>>>>()}, { "Green;common", "tracks/JFO1.wav", StylePtr,Black,Green>,Green,800>,Green>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<100>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,ResponsiveBlastL,Scale,Int<100>,Int<400>>>,ResponsiveClashL>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Red,Yellow>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>,InOutTrL,TrWipeIn<500>>>>()}, { "Dark;common", "tracks/Spark.wav", StylePtr,RotateColorsX>>,TransitionEffectL,StyleFire,Rgb<10,0,0>,BrownNoiseFlicker,70>,Rgb<128,0,0>>,Rgb<80,0,0>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrDelay<1500>,StyleFire,Rgb<10,0,0>,BrownNoiseFlicker,70>,Rgb<128,0,0>>,Rgb<80,0,0>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrFade<800>>,EFFECT_FORCE>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<100>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,ResponsiveBlastL,Scale,Int<100>,Int<400>>>,ResponsiveClashL>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Rgb<255,200,0>,DarkOrange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,Int<16000>>,Int<200>,Int<800>>>,TrWipeIn<500>>>>()}, { "Merc;common", "tracks/TFA_Battle.wav", StylePtr,Int<3000>,Int<7000>>,Scale,Int<75>,Int<125>>,StripesX,Int<1000>,Int<3000>>,Scale,Int<75>,Int<100>>,Pulsing,RotateColorsX>,1200>,Mix,RotateColorsX>,Black>>,RotateColorsX>,Pulsing>,StripesX,Int<2000>,Int<3000>>,Sin,Int<75>,Int<100>>,RotateColorsX,RotateColorsX>>,2000>,Pulsing>,RotateColorsX>,3000>>,AlphaL,RotateColorsX>,0,1,FireConfig<10,2000,2>,FireConfig<10,2000,2>,FireConfig<10,2000,2>,FireConfig<0,0,25>>,Int<10000>>,AlphaL,RotateColorsX>,Pulsing>,Black,800>>,SwingSpeed<375>>,AlphaL,Scale,Int<13600>>,Scale,Int<-17300>,Int<32768>>,Int<0>>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>,RgbArg,Mix,Black,RgbArg>>>,TrConcat,Mix,Int<26000>>,RgbArg,AlphaL,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrExtend<3000,TrFade<300>>,AlphaL,Mix,Black,RgbArg>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrFade<3000>>,TrConcat,Int<0>>,TrWaveX,Int<300>,Int<100>,Int<400>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Scale,Int<14000>,Int<18000>>>>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,AudioFlicker,Blue>,50,1>,TrConcat,Bump,Int<18000>>>,TrFade<200>>,TrConcat,Int<16000>>,30>,TrSmoothFade<600>>>,AlphaL,SmoothStep>,Int<1750>,Int<3750>>,Int<-4000>>>,ResponsiveStabL>,TrWipeInX,50>>,TrFadeX,50>>>,EffectSequence,Int<400>,Scale,Int<100>,Int<400>>>,LocalizedClashL,80,30,EFFECT_BLAST>,ResponsiveBlastWaveL,Scale,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,BlastL,200,200>,ResponsiveBlastFadeL,Scale,Int<6000>,Int<12000>>,Scale,Int<400>,Int<100>>>,ResponsiveBlastL,Scale,Int<400>,Int<100>>,Scale,Int<200>,Int<100>>,Scale,Int<400>,Int<200>>>>,Mix,Int<26000>>,TransitionEffectL,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,TransitionEffectL>,RandomPerLEDFlicker>,Black>,BrownNoiseFlicker>,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFadeX,65>>>,EFFECT_IGNITION>,TransitionEffectL,TrFadeX,125>>>,EFFECT_RETRACTION>,LockupTrL>,SmoothStep,Int<5000>>>,TrConcat>,AlphaL,Int<300>>,SmoothStep,Int<5000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,OrangeRed,DarkOrange>,Mix,OrangeRed,Orange>,0,3,5,3000,10>>,SmoothStep,Int<6000>>>,TrConcat,AlphaL,Int<8000>>>,TrExtend<2000,TrFade<300>>,AlphaL,Red,Orange>,SmoothStep,Int<8000>>>,TrFade<3000>>,TrFade<250>,SaberBase::LOCKUP_MELT>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,8>>,TrWaveX,25>,Int<300>,Percentage,8>,Int<0>>>,TrColorCycle<950,7500>>,TransitionEffectL,33>>,TransitionLoopL,TrSparkX,Int<425>,Int<142>,Int<32768>>>>,TrDelayX,67>>>,EFFECT_PREON>,TransitionEffectL,33>,Percentage,67>,Int<0>>,BrownNoiseFlicker,100>,RandomPerLEDFlicker,RotateColorsX>,BrownNoiseFlicker,RotateColorsX,RotateColorsX>>,RotateColorsX,50>>,SmoothStep,Int<17500>>,Int<-4000>>>,TrDelayX>>,EFFECT_PREON>,TransitionEffectL,Int<16500>,Int<14500>>,Sin,Int<10500>,Int<9500>>>>,TrDelayX>>,EFFECT_PREON>>>()}, { "Gray;common", "tracks/Fulcrum.wav", StylePtr,RotateColorsX>,TransitionEffectL,Scale,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Rgb<100,100,150>>,Stripes<1500,-2500,White,Rgb<100,100,150>>>,Int<16384>>,TrFade<800>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<100>,Scale,Int<10000>,Int<30000>>,Int<10000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,ResponsiveBlastWaveL,Scale,Int<100>,Int<400>>>,ResponsiveClashL,Scale,Int<10000>,Int<30000>>,Int<10000>>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Red,Orange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,Int<16000>>,Int<200>,Int<800>>>,TrWipeIn<500>>,TransitionEffectL,Black,TrFade<1000>,AlphaL,Bump,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,AlphaL>,Int<0>,Int<7500>>>>>()}, { "BD;common", "tracks/Empress.wav", StylePtr,RotateColorsX>,50>,AlphaL,Black>,Black,RotateColorsX,Black>>,SwingSpeed<350>>,AlphaL,RotateColorsX>,Pulsing>,Black,800>>,HoldPeakF,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>,Int<550>,Scale,Int<20000>,Int<10000>>>>,SmoothStep,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>,Int<15000>,Int<5000>>,Int<16000>>>,TransitionEffectL,Black>,BrownNoiseFlicker,200>,RandomPerLEDFlicker,Rgb<30,30,30>>>,TrFade<3000>,HumpFlicker,RotateColorsX>,50>,TrDelay<5000>,HumpFlicker,RotateColorsX>,50>,TrFade<5000>>,EFFECT_IGNITION>>,Layers,RotateColorsX>,50>,AlphaL,Black>,Black,RotateColorsX,Black>>,SwingSpeed<350>>,AlphaL,RotateColorsX>,Pulsing>,Black,800>>,HoldPeakF,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>,Int<550>,Scale,Int<20000>,Int<10000>>>>,SmoothStep,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>,Int<15000>,Int<5000>>,Int<16000>>>,TransitionEffectL,Black>,BrownNoiseFlicker,200>,RandomPerLEDFlicker,Rgb<30,30,30>>>,TrFade<3000>,HumpFlicker,RotateColorsX>,50>,TrDelay<5000>,HumpFlicker,RotateColorsX>,50>,TrFade<5000>>,EFFECT_IGNITION>>>,TransitionEffectL,StyleFire,Black,20>,RotateColorsX>,BrownNoiseFlicker>,70>,RotateColorsX>>,RotateColorsX>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrDelay<1000>,StyleFire,Black,20>,RotateColorsX>,BrownNoiseFlicker>,70>,RotateColorsX>>,RotateColorsX>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrFade<1000>,AlphaL,Black,20>,RotateColorsX>,BrownNoiseFlicker>,70>,RotateColorsX>>,RotateColorsX>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,Bump,Int<23384>>>,TrFade<600>>,EFFECT_FORCE>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>,RgbArg,Mix,Black,RgbArg>>>,AlphaL,Mix,Black,RgbArg>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg,AlphaL,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat,Int<0>>,TrWaveX,Int<300>,Int<100>,Int<400>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,50>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Scale,Int<14000>,Int<18000>>>>>,TrFade<350>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,AudioFlicker,Blue>,50,1>,TrConcat,Bump,Int<18000>>>,TrFade<200>>,TrConcat,Int<16000>>,30>,TrSmoothFade<600>>>,ResponsiveStabL>,TrWipeInX,50>>,TrFadeX,50>>>,ColorSelect,TrInstant,TransitionEffectL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,TrDelay<500>>,EFFECT_BLAST>,TransitionEffectL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,TrFade<500>,AlphaL,50>,Bump,Int<28000>,Int<8000>>>>,TrFade<350>>,EFFECT_BLAST>>,Mix,Int<26000>>,TransitionEffectL,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<940>>>,AlphaL,50>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>>,TrFade<350>>,EFFECT_CLASH>,TransitionEffectL,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,AlphaL,50>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>>,TrFade<350>>,EFFECT_CLASH>>,LockupTrL>,SmoothStep,Int<5000>>>,TrConcat>,AlphaL,Int<300>>,SmoothStep,Int<5000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,OrangeRed,DarkOrange>,Mix,OrangeRed,Orange>,0,3,5,3000,10>>,SmoothStep,Int<6000>>>,TrConcat,AlphaL,Int<8000>>>,TrExtend<2000,TrFade<300>>,AlphaL,Red,Orange>,SmoothStep,Int<8000>>>,TrFade<3000>>,TrFade<250>,SaberBase::LOCKUP_MELT>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,TrColorCycleX,500>>,EffectSequence,Int<30>>,SmoothStep>,Int<2000>,Int<4500>>,Int<-4000>>>,TrDelayX>,Black,TrDelay<897>,AlphaL,Black>,Bump,Int<11500>>>,TrDelay<150>>,EFFECT_RETRACTION>,TransitionEffectL,Int<30>>,SmoothStep>,Int<2000>,Int<4500>>,Int<-4000>>>,TrDelayX>,Black,TrDelay<897>,AlphaL,Black>,Bump,Int<11500>>>,TrDelay<150>>,EFFECT_RETRACTION>>,EffectSequence>,AlphaL,125>,SmoothStep,Int<15000>>,Int<-4000>>>,TrFadeX>>,EFFECT_RETRACTION>,TransitionEffectL>,AlphaL,125>,SmoothStep,Int<15000>>,Int<-4000>>>,TrFadeX>>,EFFECT_RETRACTION>>,TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,EffectSequence,Black,TrWaveX,Int<750>,Int<175>,Int<1575>,Int<-3000>>,Black,TrInstant,AlphaL,Black>,Bump,Int<11500>>>,TrDelay<150>>,EFFECT_PREON>,TransitionEffectL,Black,TrWaveX,Int<750>,Int<175>,Int<1575>,Int<-3000>>,Black,TrInstant,AlphaL,Black>,Bump,Int<11500>>>,TrDelay<150>>,EFFECT_PREON>>,TransitionEffectL,Int<10000>>,Int<-4000>>>,TrDelayX>>,EFFECT_PREON>>>()}, { "BL;common", "tracks/Binary.wav", StylePtr,RotateColorsX>,50>,AlphaL,Black>,Black,RotateColorsX,Black>>,SwingSpeed<350>>,AlphaL,RotateColorsX>,Pulsing>,Black,800>>,HoldPeakF,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>,Int<550>,Scale,Int<20000>,Int<10000>>>>,SmoothStep,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>,Int<15000>,Int<5000>>,Int<16000>>>,TransitionEffectL,Black>,BrownNoiseFlicker,200>,RandomPerLEDFlicker,Rgb<30,30,30>>>,TrFade<3000>,HumpFlicker,RotateColorsX>,50>,TrDelay<5000>,HumpFlicker,RotateColorsX>,50>,TrFade<5000>>,EFFECT_IGNITION>>,Layers,RotateColorsX>,50>,AlphaL,Black>,Black,RotateColorsX,Black>>,SwingSpeed<350>>,AlphaL,RotateColorsX>,Pulsing>,Black,800>>,HoldPeakF,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>,Int<550>,Scale,Int<20000>,Int<10000>>>>,SmoothStep,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>,Int<15000>,Int<5000>>,Int<16000>>>,TransitionEffectL,Black>,BrownNoiseFlicker,200>,RandomPerLEDFlicker,Rgb<30,30,30>>>,TrFade<3000>,HumpFlicker,RotateColorsX>,50>,TrDelay<5000>,HumpFlicker,RotateColorsX>,50>,TrFade<5000>>,EFFECT_IGNITION>>>,TransitionEffectL,StyleFire,Black,20>,RotateColorsX>,BrownNoiseFlicker>,70>,RotateColorsX>>,RotateColorsX>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrDelay<1000>,StyleFire,Black,20>,RotateColorsX>,BrownNoiseFlicker>,70>,RotateColorsX>>,RotateColorsX>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrFade<1000>,AlphaL,Black,20>,RotateColorsX>,BrownNoiseFlicker>,70>,RotateColorsX>>,RotateColorsX>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,Bump,Int<23384>>>,TrFade<600>>,EFFECT_FORCE>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>,RgbArg,Mix,Black,RgbArg>>>,AlphaL,Mix,Black,RgbArg>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg,AlphaL,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat,Int<0>>,TrWaveX,Int<300>,Int<100>,Int<400>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,50>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Scale,Int<14000>,Int<18000>>>>>,TrFade<350>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,AudioFlicker,Blue>,50,1>,TrConcat,Bump,Int<18000>>>,TrFade<200>>,TrConcat,Int<16000>>,30>,TrSmoothFade<600>>>,ResponsiveStabL>,TrWipeInX,50>>,TrFadeX,50>>>,ColorSelect,TrInstant,TransitionEffectL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,TrDelay<500>>,EFFECT_BLAST>,TransitionEffectL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,TrFade<500>,AlphaL,50>,Bump,Int<28000>,Int<8000>>>>,TrFade<350>>,EFFECT_BLAST>>,Mix,Int<26000>>,TransitionEffectL,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<940>>>,AlphaL,50>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>>,TrFade<350>>,EFFECT_CLASH>,TransitionEffectL,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,AlphaL,50>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>>,TrFade<350>>,EFFECT_CLASH>>,LockupTrL>,SmoothStep,Int<5000>>>,TrConcat>,AlphaL,Int<300>>,SmoothStep,Int<5000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,OrangeRed,DarkOrange>,Mix,OrangeRed,Orange>,0,3,5,3000,10>>,SmoothStep,Int<6000>>>,TrConcat,AlphaL,Int<8000>>>,TrExtend<2000,TrFade<300>>,AlphaL,Red,Orange>,SmoothStep,Int<8000>>>,TrFade<3000>>,TrFade<250>,SaberBase::LOCKUP_MELT>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,TrColorCycleX,500>>,EffectSequence,Int<30>>,SmoothStep>,Int<2000>,Int<4500>>,Int<-4000>>>,TrDelayX>,Black,TrDelay<897>,AlphaL,Black>,Bump,Int<11500>>>,TrDelay<150>>,EFFECT_RETRACTION>,TransitionEffectL,Int<30>>,SmoothStep>,Int<2000>,Int<4500>>,Int<-4000>>>,TrDelayX>,Black,TrDelay<897>,AlphaL,Black>,Bump,Int<11500>>>,TrDelay<150>>,EFFECT_RETRACTION>>,EffectSequence>,AlphaL,125>,SmoothStep,Int<15000>>,Int<-4000>>>,TrFadeX>>,EFFECT_RETRACTION>,TransitionEffectL>,AlphaL,125>,SmoothStep,Int<15000>>,Int<-4000>>>,TrFadeX>>,EFFECT_RETRACTION>>,TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,EffectSequence,Black,TrWaveX,Int<750>,Int<175>,Int<1575>,Int<-3000>>,Black,TrInstant,AlphaL,Black>,Bump,Int<11500>>>,TrDelay<150>>,EFFECT_PREON>,TransitionEffectL,Black,TrWaveX,Int<750>,Int<175>,Int<1575>,Int<-3000>>,Black,TrInstant,AlphaL,Black>,Bump,Int<11500>>>,TrDelay<150>>,EFFECT_PREON>>,TransitionEffectL,Int<10000>>,Int<-4000>>>,TrDelayX>>,EFFECT_PREON>>>()}, { "Rey;common", "tracks/Ascension.wav", StylePtr>,RotateColorsX>>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,TrWipe<600>>,ResponsiveBlastL,Scale,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>>,ResponsiveDragL>,TrWipeIn<400>,TrFade<400>>,ResponsiveMeltL,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,InOutTrL,TrWipeIn<800>,Black>,TransitionEffectL,Int<1>>>,TrDelay<50>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<35>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<30>>,EFFECT_PREON>>>()}, { "Graflex;common", "tracks/LvsV.wav", StylePtr,Black,Rgb16<0,17247,37981>>>,DeepSkyBlue>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,ResponsiveBlastL,Scale,Int<100>,Int<400>>>,ResponsiveClashL>,ResponsiveDragL>,TrWipeIn<400>,TrFade<400>>,ResponsiveMeltL,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,InOutTrL,TrWipeIn<800>>>>()}, { "BenFlex;common", "tracks/TFA_Duels.wav", StylePtr,Black,Rgb16<0,17247,37981>>>,DeepSkyBlue>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,ResponsiveBlastL,Scale,Int<100>,Int<400>>>,ResponsiveClashL>,ResponsiveDragL>,TrWipeIn<400>,TrFade<400>>,ResponsiveMeltL,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,InOutTrL,TrWipeIn<800>>>>()}, { "Kylo;common", "tracks/TFA_Battle.wav", StylePtr,StyleFire,Rgb<60,0,0>>,300>,Rgb<80,0,0>,0,6,FireConfig<10,1000,2>,FireConfig<0,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,StyleFire,300>,Rgb<128,0,0>,0,8,FireConfig<10,1200,1>,FireConfig<0,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>>,StyleFire,0,6>,TrInstant,TrSmoothFade<800>,EFFECT_IGNITION>,Mix,Int<16000>>,StyleFire,Rgb<60,0,0>>,200>,Rgb<80,0,0>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,RandomPerLEDFlicker>,TrConcat,Mix,Int<16000>>,StyleFire,Rgb<60,0,0>>,200>,Rgb<80,0,0>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,RandomPerLEDFlicker>,TrWipe<600>>,TrInstant,EFFECT_STAB>,BrownNoiseFlicker,TrInstant,TrSmoothFade<200>,EFFECT_LOCKUP_BEGIN>,Mix,Int<10000>>,StyleFire,Rgb<60,0,0>>,200>,Rgb<80,0,0>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,White>,TrInstant,TrFade<200>,EFFECT_DRAG_BEGIN>,Mix,Int<10000>>,StyleFire,Rgb<60,0,0>>,200>,Rgb<80,0,0>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,White>,TrInstant,TrFade<300>,EFFECT_DRAG_END>,Black,TrConcat,400>,40>,TrColorCycle<600>>,TrInstant,EFFECT_RETRACTION>,Mix,Int<44000>>,Mix,Int<44000>>,TransitionEffect,EFFECT_LOCKUP_END>,Stripes<1000,-1500,Red,BrownNoiseFlicker>>,Stripes<1000,1500,Red,BrownNoiseFlicker>>,TrInstant,TrSmoothFade<800>,EFFECT_LOCKUP_END>,Pulsing,400>,BrownNoiseFlicker,100>>,Gradient,100>,BrownNoiseFlicker,400>>,3500>,RandomPerLEDFlicker,400>,White>,Bump,Int<16000>>,Bump,Int<10000>>>,White>,White>,150,300,Black>>()}, }; BladeConfig blades[] = { { 0, WS281XBladePtr<132, bladePin, Color8::GRB, PowerPINS >(), CONFIGARRAY(presets) }, }; #endif #ifdef CONFIG_BUTTONS Button PowerButton(BUTTON_POWER, powerButtonPin, "pow"); #endif