Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef CONFIG_TOP
- #include "proffieboard_v2_config.h"
- #define NUM_BLADES 2
- #define NUM_BUTTONS 1
- const unsigned int maxLedsPerStrip = 144;
- #define VOLUME 1200
- #define CLASH_THRESHOLD_G 3.0
- #define AUDIO_CLASH_SUPPRESSION_LEVEL 1
- #define ENABLE_AUDIO
- #define ENABLE_MOTION
- #define ENABLE_WS2811
- #define ENABLE_SD
- #define KILL_OLD_PLAYERS
- #define FILTER_CUTOFF_FREQUENCY 100
- #define FILTER_ORDER 8
- #define MOTION_TIMEOUT 60 * 2 * 1000
- #define IDLE_OFF_TIME 60 * 1 * 1000
- #define DISABLE_BASIC_PARSER_STYLES
- //#define DISABLE_DIAGNOSTIC_COMMANDS
- //#define ENABLE_DEVELOPER_COMMANDS
- #define ENABLE_ALL_EDIT_OPTIONS
- #define SAVE_PRESET
- #define NO_REPEAT_RANDOM
- #define FETT263_EDIT_MODE_MENU
- #define FETT263_CLASH_STRENGTH_SOUND
- #define FETT263_MAX_CLASH 10
- #define FETT263_SPIN_MODE
- #define FETT263_SAY_BATTERY_VOLTS
- #define FETT263_HOLD_BUTTON_OFF
- #define FETT263_SAVE_GESTURE_OFF
- #define FETT263_DISABLE_CHANGE_FONT
- #define FETT263_DISABLE_CHANGE_STYLE
- #define FETT263_DISABLE_COPY_PRESET
- #define FETT263_DISABLE_BM_TOGGLE
- //#define FETT263_DISABLE_MULTI_BLAST_TOGGLE
- #define FETT263_DISABLE_QUOTE_PLAYER
- #define FETT263_LOCKUP_DELAY 700
- #define FETT263_BM_CLASH_DETECT 16
- #define FETT263_BM_DISABLE_OFF_BUTTON
- #define FETT263_SWING_ON_SPEED 300
- #define FETT263_SWING_ON
- #define FETT263_THRUST_ON
- #define FETT263_TWIST_OFF
- #define FETT263_FORCE_PUSH
- #define FETT263_FORCE_PUSH_LENGTH 6
- #endif
- #ifdef CONFIG_PROP
- #include "../props/saber_fett263_buttons.h"
- #endif
- #ifdef CONFIG_PRESETS
- Preset presets[] = {
- { "OneXW;common", "OneXW/tracks/XwingTrk.wav",
- /* copyright Fett263 Visions (Primary Blade) OS6 Style
- https://fett263.com/fett263-proffieOS6-style-library.html#Visions
- OS6.7 v4.021
- Single Style
- Base Style: The Duel: Ronin
- Base Color: Rgb<40,255,4> (Gradient Dim Up = Gradient: 7000)
- --Effects Included--
- Ignition Effect: Standard Ignition
- PowerUp Effect: Power Flash
- Retraction Effect: Wipe In + Fade
- Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb
- LightningBlock Effect: Responsive Lightning Block
- Drag Effect: Sparking Drag
- Melt Effect: Intensity Melt
- Stab Effect: AudioFlicker Stab
- Blast Effect: Blast Wave (Sound Based)
- Clash Effect: Responsive Clash
- Emitter Effect: Emitter Heat Up
- */
- StylePtr<Layers<HumpFlicker<Stripes<20000,-800,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<40,255,4>>,Mix<Int<7000>,Black,RgbArg<BASE_COLOR_ARG,Rgb<40,255,4>>>>,Mix<Int<12000>,Black,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<40,255,4>>,Mix<Int<7000>,Black,RgbArg<BASE_COLOR_ARG,Rgb<40,255,4>>>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<40,255,4>>,Mix<Int<7000>,Black,RgbArg<BASE_COLOR_ARG,Rgb<40,255,4>>>>,50>,AlphaL<TransitionEffect<RgbArg<EMITTER_COLOR_ARG,Rgb<255,199,40>>,AlphaL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,199,40>>,Int<0>>,TrInstant,TrConcat<TrFade<1000>,Red,TrFade<1000>,Orange,TrFade<1000>>,EFFECT_IGNITION>,SmoothStep<IntArg<EMITTER_SIZE_ARG,717>,Int<-6000>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<IgnitionTime<300>>,TrInstant>,RgbArg<IGNITION_COLOR_ARG,Rgb<255,199,80>>,TrFade<800>>,EFFECT_IGNITION>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<WavLen<>>,TrWipeIn<200>>,AlphaL<AudioFlickerL<RgbArg<STAB_COLOR_ARG,Rgb<255,199,40>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,199,40>>,Scale<WavLen<>,Int<100>,Int<400>>,Int<100>,Scale<WavLen<>,Int<100>,Int<400>>,Scale<EffectPosition<EFFECT_BLAST>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,199,40>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<-10000>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrJoin<TrDelay<50>,TrInstant>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,14619>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,199,40>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<255,199,40>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<255,199,40>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,199,40>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,199,40>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,199,40>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrWipeIn<200>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeX<IgnitionTime<300>>,TrJoin<TrWipeInX<RetractionTime<0>>,TrSmoothFadeX<RetractionTime<0>>>,Black>>>(),
- /* copyright Fett263 Rotoscope (Accent LED / PCB) OS6 Style
- https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
- OS6.7 v4.021
- Single Style
- Base Style: Rotoscope - Two Color (Sequels)
- Off Behavior: Off
- Base Color: Rgb<53,204,33> (Gradient Color Up = Gradient: 2000)
- --Effects Included--
- Ignition Effect: Cycle Up
- Retraction Effect: Run Up + Fade
- */
- StylePtr<Layers<RandomFlicker<Stripes<14000,-4000,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Gradient<RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>,RotateColorsX<Int<2000>,RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Mix<Int<16448>,Black,Gradient<RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>,RotateColorsX<Int<2000>,RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>>,InOutTrL<TrColorCycleX<IgnitionTime<0>>,TrJoin<TrWipeX<RetractionTime<0>>,TrSmoothFadeX<RetractionTime<0>>>,Black>>>()
- },
- {"GreyPal;common", "",
- /* copyright Fett263 FallenOrder (Primary Blade) OS6 Style
- https://fett263.com/fett263-proffieOS6-style-library.html#FallenOrder
- OS6.7 v4.021
- Single Style
- Base Style: Fallen Order Cal Kestis
- Base Color: Rgb<255,90,0> (Gradient Color Up = Gradient: 31530)
- --Effects Included--
- Ignition Effect: Standard Ignition
- PowerUp Effect: Power Surge (Unstable V1)
- Retraction Effect: Blink Off
- Lockup Effect: Intensity Lockup V1, Begin Effect: Full Blade Flash, End Effect: Full Blade Absorb
- LightningBlock Effect: Responsive Lightning Block
- Drag Effect: Intensity Sparking Drag
- Melt Effect: Intensity Melt
- Blast Effect: Blast Ripple Fade
- Clash Effect: Responsive Clash with Ripple
- Emitter Effect: Emitter Heat Up
- */
- StylePtr<Layers<Stripes<16000,-1000,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<255,90,0>>,RotateColorsX<Int<31530>,RgbArg<BASE_COLOR_ARG,Rgb<255,90,0>>>>,Pulsing<Mix<Int<11565>,Black,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<255,90,0>>,RotateColorsX<Int<31530>,RgbArg<BASE_COLOR_ARG,Rgb<255,90,0>>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<255,90,0>>,RotateColorsX<Int<31530>,RgbArg<BASE_COLOR_ARG,Rgb<255,90,0>>>>,800>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<255,90,0>>,RotateColorsX<Int<31530>,RgbArg<BASE_COLOR_ARG,Rgb<255,90,0>>>>>,AlphaL<TransitionEffect<RgbArg<EMITTER_COLOR_ARG,Rgb<191,255,255>>,AlphaL<RgbArg<EMITTER_COLOR_ARG,Rgb<191,255,255>>,Int<0>>,TrInstant,TrConcat<TrFade<1000>,Red,TrFade<1000>,Orange,TrFade<1000>>,EFFECT_IGNITION>,SmoothStep<IntArg<EMITTER_SIZE_ARG,430>,Int<-6000>>>,TransitionEffectL<TrConcat<TrInstant,Stripes<3000,-3500,RgbArg<IGNITION_COLOR_ARG,Rgb<191,255,255>>,RandomPerLEDFlicker<Mix<Int<7710>,Black,RgbArg<IGNITION_COLOR_ARG,Rgb<191,255,255>>>,Black>,BrownNoiseFlicker<RgbArg<IGNITION_COLOR_ARG,Rgb<191,255,255>>,Mix<Int<7710>,Black,RgbArg<IGNITION_COLOR_ARG,Rgb<191,255,255>>>,200>,RandomPerLEDFlicker<Mix<Int<16384>,Black,RgbArg<IGNITION_COLOR_ARG,Rgb<191,255,255>>>,Mix<Int<7710>,Black,RgbArg<IGNITION_COLOR_ARG,Rgb<191,255,255>>>>>,TrFade<1200>>,EFFECT_IGNITION>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<BLAST_COLOR_ARG,Rgb<191,255,255>>,Bump<Scale<EffectPosition<EFFECT_BLAST>,Int<3000>,Int<29000>>,Int<6000>>>,TrCenterWipeX<Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<3000>,Int<29000>>>,AlphaL<Remap<CenterDistF<Scale<EffectPosition<EFFECT_BLAST>,Int<3000>,Int<29000>>>,Stripes<1600,-2000,RgbArg<BLAST_COLOR_ARG,Rgb<191,255,255>>,Mix<Int<2096>,Black,RgbArg<BLAST_COLOR_ARG,Rgb<191,255,255>>>>>,Bump<Scale<EffectPosition<EFFECT_BLAST>,Int<3000>,Int<29000>>,Int<32000>>>,TrJoin<TrSmoothFade<50>,TrCenterWipeX<Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<3000>,Int<29000>>>>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<191,255,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Int<6000>>>,TrCenterWipeX<Int<100>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>>,AlphaL<Remap<CenterDistF<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>>,Stripes<1400,-2000,RgbArg<CLASH_COLOR_ARG,Rgb<191,255,255>>,Mix<Int<2096>,Black,RgbArg<CLASH_COLOR_ARG,Rgb<191,255,255>>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Int<38000>>>,TrJoin<TrSmoothFade<50>,TrCenterWipeX<Int<100>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>>>>,EFFECT_CLASH>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<191,255,255>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<191,255,255>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<191,255,255>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<191,255,255>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<191,255,255>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<191,255,255>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<191,255,255>>,TrFade<300>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<191,255,255>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<191,255,255>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<191,255,255>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,31382>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,31382>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,31382>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeX<IgnitionTime<300>>,TrJoin<TrBoingX<RetractionTime<0>,3>,TrWipeInX<RetractionTime<0>>>,Black>>>(),
- /* copyright Fett263 Rotoscope (Accent LED / PCB) OS6 Style
- https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
- OS6.7 v4.021
- Single Style
- Base Style: Rotoscope - Two Color (Sequels)
- Off Behavior: Off
- Base Color: Rgb<53,204,33> (Gradient Color Up = Gradient: 2000)
- --Effects Included--
- Ignition Effect: Cycle Up
- Retraction Effect: Run Up + Fade
- */
- StylePtr<Layers<RandomFlicker<Stripes<14000,-4000,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Gradient<RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>,RotateColorsX<Int<2000>,RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Mix<Int<16448>,Black,Gradient<RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>,RotateColorsX<Int<2000>,RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>>,InOutTrL<TrColorCycleX<IgnitionTime<0>>,TrJoin<TrWipeX<RetractionTime<0>>,TrSmoothFadeX<RetractionTime<0>>>,Black>>>()
- },
- {"Mystic;common", "",
- /* copyright Fett263 CustomBlade (Primary Blade) OS6 Style
- https://fett263.com/fett263-proffieOS6-style-library.html#CustomBlade
- OS6.7 v4.021
- Single Style
- Interactive Impact Instability
- Default: AudioFlicker (Single Color (25%))
- 1: Energy Saw
- Base Color: Rgb<255,0,0> (0)
- Each Blast, Clash or Lockup with apply Style 2 (Instability) in increasing levels based on strength of the clash, allowing time to pass between impacts allows the blade to re-stabilize. (approx 5 seconds)
- --Effects Included--
- Ignition Effect: Wipe + Fade
- PowerUp Effect: Power Flash
- Retraction Effect: Blink Off
- Lockup Effect: Intensity Lockup V1, Begin Effect: Full Blade Flash, End Effect: Full Blade Absorb
- LightningBlock Effect: Responsive Lightning Block
- Drag Effect: Intensity Sparking Drag
- Melt Effect: Intensity Melt
- Blast Effect: Blast Wave (Large)
- Clash Effect: Responsive Clash
- Emitter Effect: Unstable Flare
- */
- StylePtr<Layers<Mix<HoldPeakF<IncrementWithReset<Sum<EffectPulseF<EFFECT_BLAST>,EffectPulseF<EFFECT_CLASH>,EffectPulseF<EFFECT_LOCKUP_BEGIN>>,ThresholdPulseF<IncrementWithReset<ThresholdPulseF<BlinkingF<Int<1000>,Int<500>>,Int<32000>>,Sum<EffectPulseF<EFFECT_BLAST>,EffectPulseF<EFFECT_CLASH>,EffectPulseF<EFFECT_LOCKUP_BEGIN>>,Int<32768>,Int<8000>>,Int<32000>>,Int<32768>,Scale<ClashImpactF<>,Int<2000>,Int<8000>>>,Int<2000>,Int<10000>>,AudioFlicker<RgbArg<BASE_COLOR_ARG,Rgb<0,255,40>>,Mix<Int<8192>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,40>>>>,Pulsing<Stripes<3000,-3000,RgbArg<BASE_COLOR_ARG,Rgb<112,255,191>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<112,255,191>>>,Mix<Int<6425>,RgbArg<BASE_COLOR_ARG,Rgb<112,255,191>>,White>,Mix<Int<16384>,Black,RgbArg<BASE_COLOR_ARG,Rgb<112,255,191>>>>,Stripes<3000,3000,RgbArg<BASE_COLOR_ARG,Rgb<112,255,191>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<112,255,191>>>,Mix<Int<6425>,RgbArg<BASE_COLOR_ARG,Rgb<112,255,191>>,White>,Mix<Int<16384>,Black,RgbArg<BASE_COLOR_ARG,Rgb<112,255,191>>>>,3000>>,AlphaL<RandomPerLEDFlickerL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,244,157>>>,SmoothStep<Scale<NoisySoundLevel,IntArg<EMITTER_SIZE_ARG,2098>,Sum<IntArg<EMITTER_SIZE_ARG,2098>,Int<6000>>>,Int<-6000>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<IgnitionTime<0>>,TrInstant>,RgbArg<IGNITION_COLOR_ARG,Rgb<255,244,157>>,TrFade<1000>>,EFFECT_IGNITION>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,244,157>>,Int<200>,Int<100>,Int<400>,Scale<EffectPosition<EFFECT_BLAST>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,TrFade<300>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<255,244,157>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<255,244,157>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,244,157>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,244,157>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,244,157>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,244,157>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrJoinR<TrWipeX<IgnitionTime<0>>,TrSmoothFadeX<IgnitionTime<0>>>,TrJoin<TrBoingX<RetractionTime<0>,3>,TrWipeInX<RetractionTime<0>>>,Black>>>(),
- /* copyright Fett263 Rotoscope (Accent LED / PCB) OS6 Style
- https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
- OS6.7 v4.021
- Single Style
- Base Style: Rotoscope - Two Color (Sequels)
- Off Behavior: Off
- Base Color: Rgb<53,204,33> (Gradient Color Up = Gradient: 2000)
- --Effects Included--
- Ignition Effect: Cycle Up
- Retraction Effect: Run Up + Fade*/
- StylePtr<Layers<RandomFlicker<Stripes<14000,-4000,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Gradient<RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>,RotateColorsX<Int<2000>,RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>,Mix<Int<16448>,Black,Gradient<RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>,RotateColorsX<Int<2000>,RgbArg<ALT_COLOR_ARG,Rgb<255,225,77>>>>>>,Gradient<RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>,RotateColorsX<Int<2000>,RgbArg<BASE_COLOR_ARG,Rgb<53,204,33>>>>>,InOutTrL<TrColorCycleX<IgnitionTime<0>>,TrJoin<TrWipeX<RetractionTime<0>>,TrSmoothFadeX<RetractionTime<0>>>,Black>>>()
- }
- };
- /* Custom LED structs defined here! Comment out if not used.
- WhiteLEDRing is a 20mA thing I found on eBay. */
- struct WhiteLEDring {
- static constexpr float MaxAmps = 1.0;
- static constexpr float MaxVolts = 1000.0;
- static constexpr float P2Amps = 0.0;
- static constexpr float P2Volts = 0.0;
- static constexpr float R = 100000; //No thermal protection
- static const int Red = 255;
- static const int Green = 255;
- static const int Blue = 255;
- };
- BladeConfig blades[] = {
- { 0, WS281XBladePtr<121, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
- SimpleBladePtr <WhiteLEDring, NoLED, NoLED, NoLED, bladePowerPin5, -1, -1, -1 >(),
- CONFIGARRAY(presets)
- },
- };
- #endif
- #ifdef CONFIG_BUTTONS
- PullDownButton PowerButton(BUTTON_POWER, auxPin, "pow"); //this works great, thank god
- #endif
Advertisement
Add Comment
Please, Sign In to add comment