Lil__Nicky

Untitled

Apr 6th, 2025
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.92 KB | None | 0 0
  1. #ifdef CONFIG_TOP
  2. #include "proffieboard_v3_config.h"
  3. #define DISABLE_DIAGNOSTIC_COMMANDS
  4. #define NUM_BLADES 1
  5. #define NUM_BUTTONS 2
  6. #define VOLUME 2100
  7. const unsigned int maxLedsPerStrip = 144;
  8. #define COLOR_CHANGE_DIRECT
  9. #define CLASH_THRESHOLD_G 3.0
  10. #define ENABLE_AUDIO
  11. #define ENABLE_MOTION
  12. #define ENABLE_WS2811
  13. #define ENABLE_SD
  14. #define IDLE_OFF_TIME 60 * 1 * 1000
  15. #define NO_REPEAT_RANDOM
  16. #define DISABLE_BASIC_PARSER_STYLES
  17. #endif
  18.  
  19. #ifdef CONFIG_PROP
  20. #include "../props/saber_fett263_buttons.h"
  21. #endif
  22.  
  23. #ifdef CONFIG_PRESETS
  24. Preset presets[] = {
  25.  
  26. // Blade of Talzin V3
  27. { "GreatMother", "tracks/thmkr.wav",
  28. StylePtr<Layers<Black,
  29. AlphaL<Mix<HoldPeakF<SwingSpeed<100>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<30000>,Int<10000>>>,StaticFire<Mix<Int<16000>,Black,Green>,Mix<Int<16000>,Black,Rgb16<0,18927,65535>>,0,1,10,3000,2>,StaticFire<Mix<Int<16000>,Black,Green>,Mix<Int<16000>,Black,Rgb16<0,18927,65535>>,0,3,10,3000,2>>,IsGreaterThan<BladeAngle<>,Int<16384>>>,AlphaL<Mix<HoldPeakF<SwingSpeed<100>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<30000>,Int<10000>>>,Remap<InvertF<RampF>,StaticFire<Mix<Int<16000>,Black,Green>,Mix<Int<16000>,Black,Rgb16<0,18927,65535>>,0,1,10,3000,2>>,Remap<InvertF<RampF>,StaticFire<Mix<Int<16000>,Black,Green>,Mix<Int<16000>,Black,Rgb16<0,18927,65535>>,0,3,10,3000,2>>>,IsLessThan<BladeAngle<>,Int<16384>>>,AlphaL<Black,LayerFunctions<Bump<Sin<Int<10>,Int<-10000>,Int<33000>>,Sin<Int<10>,Int<58000>,Int<48000>>>,Bump<Sin<Int<7>,Int<-1000>,Int<37000>>,Sin<Int<50>,Int<47000>,Int<38000>>>,Bump<Sin<Int<8>,Int<35000>,Int<-8000>>,Sin<Int<15>,Int<43000>,Int<35000>>>>>,
  30. SparkleL<SpringGreen,150,50>,
  31. EffectSequence<EFFECT_FORCE,TransitionEffectL<TrConcat<TrSmoothFadeX<Percentage<WavLen<EFFECT_FORCE>,20>>,Strobe<Black,Rgb<0,0,80>,30,30>,TrFadeX<Percentage<WavLen<EFFECT_FORCE>,60>>,StaticFire<Blue,Strobe<Black,Cyan,30,30>,0,3,300>,TrFadeX<Percentage<WavLen<EFFECT_FORCE>,20>>>,EFFECT_FORCE>,TransitionEffectL<TrConcat<TrSmoothFadeX<Percentage<WavLen<EFFECT_FORCE>,20>>,Strobe<Black,Rgb<0,80,0>,30,30>,TrFadeX<Percentage<WavLen<EFFECT_FORCE>,60>>,StaticFire<Green,Strobe<Black,GreenYellow,30,30>,0,3,300>,TrFadeX<Percentage<WavLen<EFFECT_FORCE>,20>>>,EFFECT_FORCE>>,
  32. EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<0>>>,
  33. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<TransitionEffect<BrownNoiseFlicker<Rgb<155,250,0>,Black,50>,White,TrInstant,TrFadeX<Percentage<WavLen<>,35>>,EFFECT_CLASH>,Bump<Scale<BladeAngle<>,Int<25000>,Int<8000>>,Scale<ClashImpactF<>,Int<4000>,Int<32768>>>>,TrFadeX<Percentage<WavLen<>,65>>>,EFFECT_CLASH>,
  34. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrWipeInX<Percentage<WavLen<EFFECT_STAB>,30>>,AlphaL<Stripes<5000,1000,GreenYellow,DodgerBlue,Green,Chartreuse,Black,Green>,SmoothStep<Int<20000>,Int<20000>>>,TrJoin<TrSmoothFadeX<Percentage<WavLen<EFFECT_STAB>,90>>,TrWipeX<Percentage<WavLen<EFFECT_STAB>,70>>>>,EFFECT_STAB>,
  35. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>>,EFFECT_BLAST>,
  36. BlastL<DeepSkyBlue,850,250,351>,
  37. AlphaL<TransitionEffectL<TrConcat<TrFade<300>,Cyan,TrFade<300>>,EFFECT_BLAST>,BlastF<700,250,100000>>,
  38. BlastL<SpringGreen,300,350,100000>,
  39. TransitionEffectL<TrConcat<TrInstant,Strobe<GreenYellow,Black,20,30>,TrFade<200>,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<5000>>,TrJoinR<TrWipe<200>,TrWipeIn<200>,TrFade<300>>>,EFFECT_LOCKUP_END>,
  40. LockupTrL<Layers<AlphaL<TransitionLoopL<TrConcat<TrDelayX<Scale<SlowNoise<Int<3000>>,Int<30>,Int<800>>>,Mix<SlowNoise<Int<1000>>,Black,Black,White,Black>,TrDelayX<Scale<SlowNoise<Int<1000>>,Int<10>,Int<50>>>>>,Int<32768>>,AlphaL<Blinking<Green,Strobe<Yellow,Black,15,30>,60,500>,Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Scale<SlowNoise<Int<3000>>,Int<8000>,Int<18000>>>>,AlphaL<Blinking<BrownNoiseFlicker<White,Black,50>,BrownNoiseFlicker<Yellow,Green,50>,100,500>,Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Int<9000>>>>,TrConcat<TrInstant,AlphaL<Blinking<White,Strobe<BrownNoiseFlicker<Yellow,Black,500>,Black,15,30>,60,500>,Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Scale<SlowNoise<Int<3000>>,Int<25000>,Int<32000>>>>,TrFade<500>>,TrSmoothFade<900>,SaberBase::LOCKUP_NORMAL>,
  41. TransitionEffectL<TrConcat<TrInstant,AlphaL<Strobe<GreenYellow,Black,20,30>,Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Int<15000>>>,TrFade<600>>,EFFECT_LOCKUP_BEGIN>,
  42. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>,HumpFlickerL<Strobe<AlphaL<White,Int<20000>>,Black,20,30>,30>,TrSmoothFade<225>>,EFFECT_LOCKUP_BEGIN>,
  43. LockupTrL<AlphaL<AudioFlicker<BrownNoiseFlicker<Strobe<Black,OrangeRed,20,25>,Yellow,200>,White>,SmoothStep<Int<30000>,Int<2000>>>,TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrFade<150>>,TrColorCycle<1500,-2000,100>,SaberBase::LOCKUP_DRAG>,
  44. LockupTrL<Layers<AlphaL<Black,Int<16000>>,AlphaL<White,StrobeF<Scale<SlowNoise<Int<1000>>,Int<1>,Int<6>>,Scale<SlowNoise<Int<1000>>,Int<10>,Int<50>>>>,AlphaL<RandomFlicker<Strobe<White,Rgb<83,0,255>,50,10>,BrownNoiseFlicker<Rgb<83,0,255>,Black,500>>,LayerFunctions<Bump<Scale<SlowNoise<Int<2000>>,Int<3000>,Int<16000>>,Scale<BrownNoiseF<Int<10>>,Int<14000>,Int<8000>>>,Bump<Scale<SlowNoise<Int<2300>>,Int<26000>,Int<8000>>,Scale<NoisySoundLevel,Int<5000>,Int<10000>>>,Bump<Scale<SlowNoise<Int<2300>>,Int<20000>,Int<30000>>,Scale<IsLessThan<SlowNoise<Int<1500>>,Int<8000>>,Scale<NoisySoundLevel,Int<5000>,Int<0>>,Int<0>>>>>>,TrConcat<TrInstant,GreenYellow,TrDelay<25>,BrownNoiseFlicker<Rgb<83,0,255>,Black,500>,TrFade<100>>,TrConcat<TrInstant,GreenYellow,TrDelay<25>,BrownNoiseFlicker<Rgb<83,0,255>,Black,500>,TrFade<150>,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrJoinR<TrWipe<200>,TrWipeIn<200>,TrFade<400>> >,SaberBase::LOCKUP_LIGHTNING_BLOCK>,
  45. LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,Rgb16<20393,93,93>,DarkOrange>,Mix<TwistAngle<>,Rgb16<20393,93,93>,Orange>,0,4,5,4000,10>>,SmoothStep<Scale<TwistAngle<>,Int<24000>,Int<29000>>,Int<4000>>>,TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrWipeIn<600>,AlphaL<Red,SmoothStep<Scale<TwistAngle<>,Int<24000>,Int<29000>>,Int<2000>>>,TrExtend<3000,TrFade<300>>,AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Scale<TwistAngle<>,Int<24000>,Int<29000>>,Int<2000>>>,TrFade<3000>>,TrColorCycle<1500,-2000>,SaberBase::LOCKUP_MELT>,
  46. InOutTrL<TrWipe<1800>,TrWipe<1000>>,
  47. TransitionEffectL<TrConcat<TrJoin<TrCenterWipeInX<Int<200>>,TrJoin<TrWaveX<SpringGreen,Int<200>,Int<200>,Sum<Int<200>,Int<200>>,Int<0>>,TrWaveX<SpringGreen,Int<200>,Int<300>,Sum<Int<200>,Int<200>>,Int<32768>>>>,SparkleL<SpringGreen,650,80>,TrFade<3000>>,EFFECT_IGNITION>,
  48. TransitionEffectL<TrConcat<TrExtendX<Int<1000>,TrSmoothFade<200>>,AlphaL<Gradient<Blue,Green>,SmoothStep<VolumeLevel,Int<-1>>>,TrSmoothFade<500>>,EFFECT_VOLUME_LEVEL>,
  49. AlphaL<TransitionEffectL<TrConcat<TrSmoothFade<500>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Scale<BatteryLevel,Int<0>,Int<35000>>,Int<-1>>>,TrDelay<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Scale<BatteryLevel,Int<0>,Int<35000>>,Int<-1>>>,TrSmoothFade<1000>>,EFFECT_BATTERY_LEVEL>,Ifon<Int<0>,Int<32768>>>
  50. >>(),"green"},
  51.  
  52. // KSITH HALFLEX TRAINING
  53. // Rey Blue w/yellow blaster
  54. { "Fart", "tracks/tros.wav",
  55.  
  56. StylePtr<InOutHelper<OnSpark<LocalizedClash<Lockup<Blast<AudioFlicker<DodgerBlue,SteelBlue>,Yellow>,Pulsing<Gradient<AudioFlicker<DodgerBlue,SteelBlue>,AudioFlicker<DodgerBlue,SteelBlue>,BrownNoiseFlicker<Yellow,Strobe<Red,Yellow,50,1>,100>,AudioFlicker<DodgerBlue,SteelBlue>,AudioFlicker<DodgerBlue,SteelBlue>,AudioFlicker<DodgerBlue,SteelBlue>>,Gradient<AudioFlicker<DodgerBlue,SteelBlue>,AudioFlicker<DodgerBlue,SteelBlue>,BrownNoiseFlicker<Yellow,Strobe<Red,Yellow,50,1>,100>,AudioFlicker<DodgerBlue,SteelBlue>,AudioFlicker<DodgerBlue,SteelBlue>>,3500>,RandomPerLEDFlicker<White,DodgerBlue>>,Yellow,70>,HumpFlicker<DodgerBlue,White,40>,1500>,200,600>>(), "cyan"},
  57.  
  58.  
  59. // Goldblade
  60. { "ASSidious", "tracks/fear.wav",
  61.  
  62. StylePtr<Layers<
  63. RandomFlicker<RotateColorsX<Variation,Rgb16<65535,18927,0>>,RotateColorsX<Variation,Rgb16<24485,7465,0>>>,
  64. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<Red,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  65. ResponsiveLockupL<Strobe<Blue,BrownNoiseFlicker<White,Red,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>>>,
  66. 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>>>,
  67. AlphaL<StyleFire<Blue,White>,SmoothStep<Scale<SlowNoise<Int<3000>>,Int<1000>,Int<5000>>,Int<-4000>>>,
  68. ResponsiveStabL<BrownNoiseFlicker<Blue,White,500>>,
  69. ResponsiveBlastL<Blue,Int<500>,Scale<SwingSpeed<200>,Int<10>,Int<150>>>,
  70. ResponsiveClashL<Blue,TrInstant,TrFade<400>>,
  71. TransitionEffectL<TrConcat<TrInstant,AlphaL<AudioFlicker<Blue,SteelBlue>,Bump<Int<0>,Int<8000>>>,TrFade<600>>,EFFECT_IGNITION>,
  72. TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,
  73. LockupTrL<AlphaL<Mix<TwistAngle<>,White,Yellow>,SmoothStep<Int<30000>,Int<3000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
  74. LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Yellow>,SmoothStep<Int<30000>,Int<3000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
  75. InOutTrL<TrWipeSparkTip<White,300>,TrWipeIn<500>>>>(), "gold"},
  76.  
  77. //Ignition
  78. { "Ignition", "tracks/fear.wav",
  79. StylePtr<
  80. Layers<
  81. Stripes<2000,-2500,RotateColorsX<Variation,Red>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<60,0,0>>,Black>,BrownNoiseFlicker<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<30,0,0>>,200>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<80,0,0>>,RotateColorsX<Variation,Rgb<30,0,0>>>>,
  82. TransitionLoopL<TrConcat<TrWaveX<RandomFlicker<RotateColorsX<Variation,Red>,BrownNoiseFlicker<RotateColorsX<Variation,Rgb<80,0,0>>,Black,300>>,Int<400>,Int<100>,Int<200>,Int<0>>,AlphaL<Red,Int<0>>,TrDelayX<Scale<SlowNoise<Int<1500>>,Int<200>,Int<1200>>>>>,
  83. AlphaL<BrownNoiseFlicker<Red,Black,300>,SwingSpeed<400>>,
  84. // Dim Blade 50% "Power Save" button combo
  85. EffectSequence<EFFECT_POWERSAVE,
  86. AlphaL<Black,Int<16384>>,
  87. AlphaL<Black,Int<0>>>,
  88. // Clash
  89. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<TransitionEffect<BrownNoiseFlicker<Rgb<255,150,0>,Black,50>,Moccasin,TrInstant,TrFade<300>,EFFECT_CLASH>,Bump<Scale<BladeAngle<>,Int<25000>,Int<8000>>,Int<18000>>>,TrFade<600>>,EFFECT_CLASH>,
  90. // Stab
  91. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrWipeIn<300>,AlphaL<Stripes<5000,1000,DarkOrange,Rgb<80,60,0>,Orange,Rgb<60,30,0>,Black,DarkOrange,Orange>,SmoothStep<Int<20000>,Int<2000>>>,TrJoin<TrSmoothFade<900>,TrWipe<700>>>,EFFECT_STAB>,
  92. // Universal color blade Blast
  93. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>>,EFFECT_BLAST>,
  94. BlastL<ColorSequence<300,White,DarkOrange>,400,250,401>,
  95. AlphaL<White,BlastF<300,300,100000>>,
  96. // Lockup
  97. LockupTrL<Layers<
  98. AlphaL<Blinking<Tomato,Strobe<Yellow,Black,15,30>,60,500>, Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Scale<SlowNoise<Int<3000>>,Int<8000>,Int<18000>>>>,
  99. AlphaL<BrownNoiseFlicker<Yellow,Black,50>, Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Int<10000>>>>,
  100. TrConcat<TrInstant,
  101. AlphaL<Blinking<White,Strobe<BrownNoiseFlicker<Yellow,Black,500>,Black,15,30>,60,500>,Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Scale<SlowNoise<Int<3000>>,Int<25000>,Int<32000>>>>,TrFade<500>>,TrSmoothFade<900>,SaberBase::LOCKUP_NORMAL>,
  102. TransitionEffectL<TrConcat<TrInstant,AlphaL<Strobe<GreenYellow,Black,20,30>, Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Int<15000>>>,TrFade<600>>,EFFECT_LOCKUP_BEGIN>,
  103. TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<Strobe<AlphaL<White,Int<20000>>,Black,20,30>,30>,TrSmoothFade<250>>,EFFECT_LOCKUP_BEGIN>,
  104. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>>,EFFECT_LOCKUP_BEGIN>,
  105. TransitionEffectL<TrConcat<TrInstant,Strobe<GreenYellow,Black,20,30>,TrFade<200>,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrJoinR<TrWipe<200>,TrWipeIn<200>,TrFade<300>>>,EFFECT_LOCKUP_END>,
  106. // Non-Responsive Drag
  107. LockupTrL<AlphaL<AudioFlicker<BrownNoiseFlicker<Strobe<Black,OrangeRed,20,25>,Yellow,200>,White>,SmoothStep<Int<30000>,Int<2000>>>,TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrFade<150>>,TrColorCycle<1500,-2000,100>,SaberBase::LOCKUP_DRAG>,
  108. // Lightning Block
  109. ResponsiveLightningBlockL<RandomFlicker<Strobe<White,Rgb16<21301,0,65535>,50,10>,BrownNoiseFlicker<Rgb16<21301,0,65535>,Black,500>>,
  110. //Begin Lightning Transition
  111. TrConcat<TrInstant,GreenYellow,TrDelay<25>,BrownNoiseFlicker<Rgb16<21301,0,65535>,Black,500>,TrFade<100>>,
  112. //End Lightning Transition
  113. TrConcat<TrInstant,GreenYellow,TrDelay<25>,BrownNoiseFlicker<Rgb16<21301,0,65535>,Black,500>,TrFade<150>,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrJoinR<TrWipe<200>,TrWipeIn<200>,TrFade<400>> >>,
  114. // Melt
  115. LockupTrL<
  116. // Melt Colors
  117. AlphaL<Mix<TwistAngle<>,Yellow,RandomPerLEDFlicker<Orange,OrangeRed>,BrownNoiseFlicker<Rgb16<20095,128,128>,Rgb16<35103,8175,298>,150>,StyleFire<Rgb16<20393,93,93>,Red,0,4,FireConfig<0,2000,0>,FireConfig<3000,0,0>,FireConfig<0,4000,0>>>,
  118. // Melt Shape
  119. SmoothStep<Scale<TwistAngle<>,Int<24000>,Int<29000>>,Int<2000>>>,
  120. //Melt Begin and End transitions
  121. TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrWipeIn<600>>,TrColorCycle<1500,-2000,100>,SaberBase::LOCKUP_MELT>,
  122. TransitionEffectL<TrConcat<TrDelay<150>,AlphaL<Black,Int<0>>,TrFade<500>,AlphaL<Strobe<White,Black,40,40>,Bump<Int<0>,Int<80000>>>,TrDelay<350>>,EFFECT_RETRACTION>,
  123. AlphaL<Black,SmoothStep<Scale<SlowNoise<Int<1800>>,Int<22000>,Int<40000>>,Int<24000>>>,
  124. InOutTrL<
  125. TrConcat<TrInstant,BrownNoiseFlicker<White,DarkOrange,300>,TrDelay<20>,Black,TrWipe<300>,StyleFire<Stripes<2500,5000,BrownNoiseFlicker<RotateColorsX<Variation,Red>,Black,20>,RotateColorsX<Variation,Rgb<10,1,0>>,BrownNoiseFlicker<Black,RotateColorsX<Variation,Rgb<255,20,0>>,70>,RotateColorsX<Variation,Rgb<128,34,0>>>,RotateColorsX<Variation,Rgb<80,11,0>>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrWipe<100>,Black,TrBoing<300,3>>,
  126. TrConcat<TrInstant,BrownNoiseFlicker<White,DarkOrange,300>,TrFade<250>,AlphaL<Black,Int<0>>,TrJoin<TrWipeInX<Int<1200>>,TrWaveX<White,Int<2000>,Int<400>,Int<700>,Int<32768>>>>>,
  127. // Comment out this following line for non-stutter on actual ignition
  128. //TransitionEffectL<TrConcat<TrWaveX<White,Int<800>,Int<200>,Int<300>,Int<0>>,BrownNoiseFlicker<White,DarkOrange,300>,TrDelay<20>,Black,TrDelay<650>,BrownNoiseFlicker<White,DarkOrange,300>,TrDelay<20>,Black,TrDelay<100>,BrownNoiseFlicker<White,Red,70>,TrFade<500>,Black,TrInstant>,EFFECT_IGNITION>,
  129. TransitionEffectL<TrConcat<TrDelay<1000>,BrownNoiseFlicker<White,DarkOrange,300>,TrDelay<50>>,EFFECT_RETRACTION>,
  130. TransitionEffectL<TrConcat<
  131. TrInstant,AlphaL<BrownNoiseFlicker<Red,Black,100>,Bump<Int<0>,Int<30000>>>,TrDelay<100>,AlphaL<BrownNoiseFlicker<Red,Black,100>,Bump<Int<0>,Int<30000>>>,TrFade<100>,Black,
  132. TrDelay<50>,AlphaL<BrownNoiseFlicker<White,Black,100>,Bump<Int<0>,Int<50000>>>,TrDelay<150>,AlphaL<BrownNoiseFlicker<White,DarkOrange,300>,Bump<Int<0>,Int<70000>>>,TrFade<150>,Black,
  133. TrFade<100>,AlphaL<BrownNoiseFlicker<Rgb<255,100,100>,Black,40>,Bump<Int<0>,Int<40000>>>,TrFade<400>,AlphaL<BrownNoiseFlicker<Red,Black,40>,Bump<Int<0>,Int<20000>>>,TrFade<400>,Black,
  134.  
  135. TrInstant,AlphaL<BrownNoiseFlicker<White,Black,100>,Bump<Int<0>,Int<70000>>>,TrDelay<250>,AlphaL<BrownNoiseFlicker<White,DarkOrange,300>,Bump<Int<0>,Int<50000>>>,TrFade<200>,Black,
  136. TrFade<100>,AlphaL<BrownNoiseFlicker<Rgb<255,100,100>,Black,40>,Bump<Int<0>,Int<40000>>>,TrFade<500>,AlphaL<BrownNoiseFlicker<Red,Black,40>,Bump<Int<0>,Int<20000>>>,TrFade<600>,Black,
  137.  
  138. TrInstant,AlphaL<BrownNoiseFlicker<White,Black,100>,Bump<Int<0>,Int<10000>>>,TrDelay<100>,AlphaL<BrownNoiseFlicker<White,Red,300>,Bump<Int<0>,Int<5000>>>,TrFade<150>,Black,
  139. TrDelay<300>,Black,
  140. TrInstant,AlphaL<BrownNoiseFlicker<White,Black,100>,Bump<Int<0>,Int<10000>>>,TrDelay<70>,AlphaL<BrownNoiseFlicker<White,Red,300>,Bump<Int<0>,Int<5000>>>,TrFade<40>,Black,
  141. TrDelay<20>,Black,
  142.  
  143. TrInstant,AlphaL<BrownNoiseFlicker<Red,Black,100>,Bump<Int<0>,Int<30000>>>,TrDelay<100>,AlphaL<BrownNoiseFlicker<Red,Black,100>,Bump<Int<0>,Int<30000>>>,TrFade<100>,Black,
  144. TrDelay<50>,AlphaL<BrownNoiseFlicker<White,Black,100>,Bump<Int<0>,Int<50000>>>,TrDelay<150>,AlphaL<BrownNoiseFlicker<White,DarkOrange,300>,Bump<Int<0>,Int<70000>>>,TrFade<150>,Black,
  145. TrFade<100>,AlphaL<BrownNoiseFlicker<Rgb<255,100,100>,Black,40>,Bump<Int<0>,Int<40000>>>,TrFade<300>,AlphaL<BrownNoiseFlicker<Red,Black,40>,Bump<Int<0>,Int<20000>>>,TrFade<100>,
  146.  
  147. AlphaL<BrownNoiseFlicker<White,Red,100>,Bump<Int<0>,Int<10000>>>,
  148. TrFade<180>,AlphaL<BrownNoiseFlicker<White,DarkOrange,300>,Bump<Int<0>,Int<20000>>>,TrFade<180>,AlphaL<BrownNoiseFlicker<White,Red,100>,Bump<Int<0>,Int<10000>>>,
  149. TrFade<115>,AlphaL<BrownNoiseFlicker<White,DarkOrange,100>,Bump<Int<0>,Int<40000>>>,TrFade<115>,AlphaL<BrownNoiseFlicker<White,Red,300>,Bump<Int<0>,Int<20000>>>,
  150. TrFade<100>,AlphaL<BrownNoiseFlicker<White,DarkOrange,100>,Bump<Int<0>,Int<80000>>>,TrFade<100>,AlphaL<BrownNoiseFlicker<White,Red,300>,Bump<Int<0>,Int<40000>>>,
  151. TrFade<125>,BrownNoiseFlicker<White,DarkOrange,300>,
  152. TrInstant>,EFFECT_PREON>,
  153. AlphaL<Black,Scale<IsLessThan<BatteryLevel,Int<11000>>,Int<0>,Int<16384>>>
  154. >>(), "red"},
  155.  
  156. //Purple Powerup
  157. { "Proto1v1", "tracks/sidious.wav",
  158. StylePtr<Layers<
  159. Stripes<16000,-1000,RotateColorsX<Variation,Rgb16<28268,0,65535>>,Pulsing<RotateColorsX<Variation,Rgb16<4569,0,7816>>,RotateColorsX<Variation,Rgb16<28268,0,65535>>,800>,RotateColorsX<Variation,Rgb16<28268,0,65535>>>,
  160. TransitionEffectL<TrConcat<TrFade<600>,RandomFlicker<RotateColorsX<Variation,Rgb16<28268,0,65535>>,RotateColorsX<Variation,Rgb16<4569,0,7816>>>,TrDelay<30000>,RotateColorsX<Variation,Rgb16<28268,0,65535>>,TrFade<800>>,EFFECT_FORCE>,
  161. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  162. ResponsiveLockupL<Strobe<Green,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>>>,
  163. 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>>>,
  164. AlphaL<Blue,SmoothStep<Scale<SlowNoise<Int<2000>>,Int<1000>,Int<4000>>,Int<-4000>>>,
  165. ResponsiveStabL<Red>,
  166. ResponsiveBlastL<Green,Int<10000>,Scale<SwingSpeed<200>,Int<80>,Int<150>>>,
  167. ResponsiveClashL<Green,TrInstant,TrFade<400>>,
  168. TransitionEffectL<TrConcat<TrInstant,Stripes<3000,-3500,White,RandomPerLEDFlicker<Rgb<60,60,60>,Black>,BrownNoiseFlicker<White,Rgb<30,30,30>,200>,RandomPerLEDFlicker<Rgb<80,80,80>,Rgb<30,30,30>>>,TrFade<1500>>,EFFECT_IGNITION>,
  169. TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1600>>,EFFECT_RETRACTION>,
  170. LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<30000>,Int<3000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
  171. LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<30000>,Int<3000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
  172. InOutTrL<TrWipeSparkTip<White,300>,TrWipeInSparkTip<White,1500>>,
  173. TransitionEffectL<TrConcat<TrInstant,AlphaL<White,Bump<Int<0>,Int<10000>>>,TrFade<3000>,AlphaL<Orange,Bump<Int<0>,Int<8000>>>,TrFade<3000>,AlphaL<Red,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_RETRACTION>,
  174. TransitionEffectL<TrConcat<TrFade<1800>,AlphaL<HumpFlickerL<Red,10>,Bump<Int<0>,Int<4000>>>,TrFade<1800>,AlphaL<HumpFlickerL<Orange,15>,Bump<Int<0>,Int<8000>>>,TrFade<1800>,AlphaL<HumpFlickerL<White,20>,Bump<Int<0>,Int<12000>>>,TrBoing<1000,3>>,EFFECT_PREON>>>(), "purple"},
  175.  
  176. // Zing Fireblade
  177. { "ASKross", "tracks/thmkr.wav",
  178.  
  179. StylePtr<Blast<LocalizedClash<Lockup<StyleFire<Gradient<StyleFire<Orange,Yellow,0,2,FireConfig<0,2000,25>,FireConfig<3000,0,0>,FireConfig<0,5000,10>,FireConfig<0,0,5>>,Red,Red>,Red,0,2,FireConfig<40,2000,8>,FireConfig<3000,0,0>,FireConfig<0,5000,10>,FireConfig<0,0,5>>,Gradient<StyleFire<Orange,Yellow,0,2,FireConfig<0,2000,25>,FireConfig<3000,0,0>,FireConfig<0,5000,10>,FireConfig<0,0,5>>,AudioFlicker<Red,Yellow>,RandomPerLEDFlicker<White,Red>,AudioFlicker<Red,Yellow>,Strobe<Red,Orange,25,10>>,Strobe<Red,Orange,25,10>>,White,80>,White>>(), "fire"},
  180.  
  181. //DARK SABER Responsive
  182. { "DkSaber", "tracks/cwars.wav",
  183.  
  184. StylePtr<Layers<
  185. AudioFlicker<BrownNoiseFlicker<Mix<SwingSpeed<400>,RotateColorsX<Variation,Rgb<100,100,150>>,RotateColorsX<Variation,Rgb<150,150,225>>>,Stripes<5000,-300,RotateColorsX<Variation,Rgb<25,25,55>>,RotateColorsX<Variation,Rgb<75,75,120>>,RotateColorsX<Variation,Rgb<10,10,20>>,RotateColorsX<Variation,Rgb<50,50,75>>>,300>,RotateColorsX<Variation,Rgb<35,35,75>>>,
  186. AlphaL<StrobeL<White,Int<20>,Int<1>>,SwingSpeed<400>>,
  187. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  188. ResponsiveLockupL<Strobe<Red,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<200>>,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,
  189. 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>>>,
  190. TransitionLoopL<TrConcat<TrWipeX<Scale<SlowNoise<Int<2500>>,Int<150>,Int<300>>>,StrobeL<RandomPerLEDFlickerL<Rgb<175,175,175>>,Int<50>,Int<125>>,TrDelayX<Scale<SlowNoise<Int<1200>>,Int<300>,Int<80>>>,AlphaL<White,Int<0>>,TrDelay<300>>>,
  191. AlphaL<White,SmoothStep<Scale<SlowNoise<Int<2000>>,Int<1000>,Int<4000>>,Int<-4000>>>,
  192. ResponsiveBlastL<Red,Int<800>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
  193. ResponsiveClashL<Red,TrInstant,TrFade<400>>,
  194. TransitionEffectL<TrConcat<TrInstant,AlphaL<AudioFlicker<Blue,SteelBlue>,Bump<Int<0>,Int<8000>>>,TrFade<600>>,EFFECT_IGNITION>,
  195. TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1000>>,EFFECT_RETRACTION>,
  196. ResponsiveStabL<Red>,
  197. ResponsiveDragL<BrownNoiseFlickerL<Red,Int<600>>,TrWipeIn<400>,TrFade<400>>,
  198. ResponsiveMeltL<Mix<TwistAngle<>,Red,Orange>,TrWipeIn<500>,TrSmoothFade<500>>,
  199. InOutTrL<TrWipeSparkTip<Blue,400>,TrWipeInSparkTip<SteelBlue,900>>>>(), "white and blue"},
  200.  
  201. //KSITH VADER ROGUE ONE
  202. { "ASVader", "tracks/rogue_hallway.wav",
  203.  
  204. StylePtr<InOutHelper<OnSpark<LocalizedClash<Lockup<Blast<AudioFlicker<Red,Rgb<120,0,0>>,DeepSkyBlue>,Pulsing<Gradient<AudioFlicker<Red,Rgb<120,0,0>>,AudioFlicker<Red,Rgb<120,0,0>>,BrownNoiseFlicker<White,Strobe<SteelBlue,White,50,1>,100>,AudioFlicker<Red,Rgb<120,0,0>>,AudioFlicker<Red,Rgb<120,0,0>>,AudioFlicker<Red,Rgb<120,0,0>>>,Gradient<AudioFlicker<Red,Rgb<120,0,0>>,AudioFlicker<Red,Rgb<120,0,0>>,BrownNoiseFlicker<White,Strobe<SteelBlue,White,50,1>,100>,AudioFlicker<Red,Rgb<120,0,0>>,AudioFlicker<Red,Rgb<120,0,0>>>,3500>,AudioFlicker<Red,White>>,White,80>,HumpFlicker<MistyRose,Red,80>,1600>,800,500>>(), "red"},
  205.  
  206. // Savage
  207. { "ESword", "tracks/sidious.wav",
  208.  
  209. StylePtr<Layers<
  210. StyleFire<Strobe<RotateColorsX<Variation,Green>,Strobe<Green,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb16<3,9500,0>>,Black>,50,1>,100,1>,RotateColorsX<Variation,Green>,0,5,FireConfig<50,1000,5>,FireConfig<2,1000,5>,FireConfig<2,1000,5>,FireConfig<2,1000,5>>,
  211. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  212. ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<200>>,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,
  213. 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>>>,
  214. ResponsiveBlastL<White,Int<2000>,Scale<SwingSpeed<20>,Int<10>,Int<150>>>,
  215. ResponsiveClashL<White,TrInstant,TrFade<400>>,
  216. ResponsiveStabL<Red>,
  217. ResponsiveDragL<Mix<TwistAngle<>,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,
  218. ResponsiveMeltL<Mix<TwistAngle<>,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,
  219. InOutTrL<TrWipe<300>,TrWipeIn<500>>>>(),
  220. "green"},
  221.  
  222. // Seismic Charge
  223. { "Slave1_2.1","tracks/Pursuit.wav",
  224.  
  225. StylePtr<Layers<
  226. Mix<SmoothStep<Int<16384>,Int<4000>>,Stripes<10000,500,Rgb<0,30,80>,Rgb<0,60,180>>,Stripes<10000,-500,Rgb<0,30,80>,Rgb<0,60,180>>>,
  227. // Dim Blade 50% "Power Save" button combo
  228. EffectSequence<EFFECT_POWERSAVE,
  229. AlphaL<Black,Int<16384>>,
  230. AlphaL<Black,Int<0>>>,
  231. // Clash - 3 stage fading impact spot
  232. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<TransitionEffect<BrownNoiseFlicker<Rgb<255,150,0>,Black,50>,Moccasin,TrInstant,TrFade<300>,EFFECT_CLASH>,Bump<Scale<BladeAngle<>,Int<25000>,Int<8000>>,Int<18000>>>,TrFade<600>>,EFFECT_CLASH>,
  233. // Stab
  234. TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrWipeIn<300>,AlphaL<Stripes<5000,1000,DarkOrange,Rgb<80,60,0>,Orange,Rgb<60,30,0>,Black,DarkOrange,Orange>,SmoothStep<Int<20000>,Int<2000>>>,TrJoin<TrSmoothFade<900>,TrWipe<700>>>,EFFECT_STAB>,
  235. // Blast
  236. MultiTransitionEffectL<TrConcat<TrDelay<700>,AlphaL<Black,Int<0>>,TrFade<800>,LocalizedClashL<HumpFlicker<DarkOrange,Red,50>,2000,50,EFFECT_BLAST>,TrFade<600>>,EFFECT_BLAST>,
  237. LocalizedClashL<Blinking<White,Black,130,800>,1560,50,EFFECT_BLAST>,
  238. LocalizedClashL<Blinking<Red,Black,130,500>,1560,15,EFFECT_BLAST>,
  239. // Lockup
  240. LockupTrL<Layers<
  241. AlphaL<Blinking<Tomato,Strobe<Yellow,Black,15,30>,60,500>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SlowNoise<Int<3000>>,Int<8000>,Int<18000>>>>,
  242. AlphaL<BrownNoiseFlicker<Yellow,Black,50>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,
  243. TrConcat<TrInstant,
  244. AlphaL<Blinking<White,Strobe<BrownNoiseFlicker<Yellow,Black,500>,Black,15,30>,60,500>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SlowNoise<Int<3000>>,Int<25000>,Int<32000>>>>,TrFade<500>>,TrSmoothFade<900>,SaberBase::LOCKUP_NORMAL>,
  245. TransitionEffectL<TrConcat<TrInstant,AlphaL<Strobe<GreenYellow,Black,20,30>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<15000>>>,TrFade<600>>,EFFECT_LOCKUP_BEGIN>,
  246. TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<Strobe<AlphaL<White,Int<20000>>,Black,20,30>,30>,TrSmoothFade<250>>,EFFECT_LOCKUP_BEGIN>,
  247. TransitionEffectL<TrConcat<TrInstant,Strobe<GreenYellow,Black,20,30>,TrFade<100>>,EFFECT_LOCKUP_BEGIN>,
  248. TransitionEffectL<TrConcat<TrInstant,Strobe<GreenYellow,Black,20,30>,TrFade<200>,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrJoinR<TrWipe<200>,TrWipeIn<200>,TrFade<300>>>,EFFECT_LOCKUP_END>,
  249. // Non-Responsive Drag
  250. LockupTrL<AlphaL<AudioFlicker<BrownNoiseFlicker<Strobe<Black,OrangeRed,20,25>,Yellow,200>,White>,SmoothStep<Int<30000>,Int<2000>>>,TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrFade<150>>,TrColorCycle<1500,-2000,100>,SaberBase::LOCKUP_DRAG>,
  251. // Lightning Block
  252. ResponsiveLightningBlockL<RandomFlicker<Strobe<White,Rgb16<21301,0,65535>,50,10>,BrownNoiseFlicker<Rgb16<21301,0,65535>,Black,500>>,
  253. //Begin Lightning Transition
  254. TrConcat<TrInstant,GreenYellow,TrDelay<25>,BrownNoiseFlicker<Rgb16<21301,0,65535>,Black,500>,TrFade<100>>,
  255. //End Lightning Transition
  256. TrConcat<TrInstant,GreenYellow,TrDelay<25>,BrownNoiseFlicker<Rgb16<21301,0,65535>,Black,500>,TrFade<150>,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrJoinR<TrWipe<200>,TrWipeIn<200>,TrFade<400>> >>,
  257. // Melt
  258. LockupTrL<
  259. //Mely Colors
  260. AlphaL<Mix<TwistAngle<>,Yellow,RandomPerLEDFlicker<Orange,OrangeRed>,BrownNoiseFlicker<Rgb16<20095,128,128>,Rgb16<35103,8175,298>,150>,StyleFire<Rgb16<20393,93,93>,Red,0,4,FireConfig<0,2000,5>,FireConfig<3000,0,0>,FireConfig<0,4000,0>>>,
  261. // Melt Shape
  262. SmoothStep<Scale<TwistAngle<>,Int<24000>,Int<29000>>,Int<2000>>>,
  263. //Melt Begin and End transitions
  264. TrConcat<TrInstant,GreenYellow,TrDelay<25>,AlphaL<Black,Int<0>>,TrWipeIn<600>>,TrColorCycle<1500,-2000,100>,SaberBase::LOCKUP_MELT>,
  265. // Ignition Powerup
  266. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlicker<DeepSkyBlue,White,100>,TrFade<800>>,EFFECT_IGNITION>,
  267. // In/out using Trigger for instantaneous Center-out wipes
  268. InOutTrL<TrConcat<TrInstant,Layers<
  269. AlphaL<Black,SmoothStep<Scale<Trigger<EFFECT_IGNITION,Int<300>,Int<1000>,Int<500>>,Int<16385>,Int<0>>,Int<-1>>>,
  270. AlphaL<Black,SmoothStep<Scale<Trigger<EFFECT_IGNITION,Int<300>,Int<1000>,Int<500>>,Int<16384>,Int<32768>>,Int<0>>>>,TrDelay<1000>>,TrJoin<TrWipe<700>,TrWipeIn<700>>>,
  271. TransitionEffectL<TrConcat<TrInstant,Cyan,TrDelay<50>>,EFFECT_IGNITION>,
  272. // Asteroid impacts after detonation - timed sequence
  273. TransitionEffectL<TrConcat<
  274. TrDelay<1500>,GreenYellow,TrDelay<25>,AlphaL<BrownNoiseFlicker<Red,White,100>,Bump<Scale<SlowNoise<Int<30000>>,Int<3000>,Int<6000>>,ChangeSlowly<SlowNoise<Int<30000>>,Int<20000>>>>,TrDelay<100>,AlphaL<Red,Int<0>>,
  275. TrDelay<400>,GreenYellow,TrDelay<25>,AlphaL<BrownNoiseFlicker<Orange,White,100>,Bump<Scale<SlowNoise<Int<30000>>,Int<6000>,Int<10000>>,ChangeSlowly<SlowNoise<Int<30000>>,Int<20000>>>>,TrDelay<100>,AlphaL<Red,Int<0>>,
  276. TrDelay<200>,GreenYellow,TrDelay<25>,AlphaL<BrownNoiseFlicker<Black,White,100>,Bump<ChangeSlowly<SlowNoise<Int<30000>>,Int<60000>>,ChangeSlowly<SlowNoise<Int<30000>>,Int<20000>>>>,TrDelay<300>,AlphaL<Red,Int<0>>,
  277. TrDelay<200>,GreenYellow,TrDelay<25>,AlphaL<BrownNoiseFlicker<Yellow,Red,100>,Bump<Scale<SlowNoise<Int<30000>>,Int<10000>,Int<28000>>,ChangeSlowly<SlowNoise<Int<30000>>,Int<20000>>>>,TrDelay<200>,AlphaL<Red,Int<0>>,
  278. TrDelay<500>,GreenYellow,TrDelay<25>,AlphaL<BrownNoiseFlicker<Orange,White,100>,Bump<ChangeSlowly<SlowNoise<Int<30000>>,Int<60000>>,ChangeSlowly<SlowNoise<Int<30000>>,Int<20000>>>>,TrDelay<200>,AlphaL<Red,Int<0>>,
  279. TrDelay<100>,GreenYellow,TrDelay<25>,AlphaL<BrownNoiseFlicker<Red,White,100>,Bump<Scale<SlowNoise<Int<30000>>,Int<5000>,Int<13000>>,ChangeSlowly<SlowNoise<Int<30000>>,Int<20000>>>>,TrDelay<100>,AlphaL<Red,Int<0>>,
  280. TrDelay<500>,GreenYellow,TrDelay<25>>,EFFECT_IGNITION>,
  281. // Seismic Charge preon effect. use with linked preon sound
  282. TransitionEffectL<TrConcat<TrDelay<2125>,Cyan,TrFade<100>,Black,TrDelay<10>,Cyan,TrFade<150> >,EFFECT_PREON>,
  283. TransitionEffectL<TrConcat<TrDelay<2125>,AlphaL<White,Bump<Int<16384>,Int<32768>>>,TrFade<100>, Black,TrDelay<10>,AlphaL<White,Bump<Int<16384>,Int<32768>>>,TrFade<150> >,EFFECT_PREON>,
  284. TransitionEffectL<TrConcat<TrDelay<2100>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<3000>>>,TrDelay<100>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<4000>>>,
  285. TrSmoothFade<50>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<5000>>>,
  286. TrSmoothFade<50>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<10000>>>,
  287. TrSmoothFade<50>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<20000>>>,
  288. TrSmoothFade<175>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<30000>>>,
  289. TrSmoothFade<125>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<35000>>>,
  290. TrSmoothFade<150>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<30000>>>,
  291. TrSmoothFade<75>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<20000>>>,
  292. TrSmoothFade<50>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<8000>>>,
  293. TrSmoothFade<25>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<3000>>>,TrFade<50>,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Int<16384>,Int<20000>>>,TrDelay<25>>,EFFECT_PREON>,
  294.  
  295. TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlicker<DeepSkyBlue,White,100>,Bump<Scale<Trigger<EFFECT_PREON,Int<2000>,Int<1000>,Int<500>>,Int<-1000>,Int<16500>>,Int<1500>>>,TrDelay<2000>>,EFFECT_PREON>,
  296. TransitionEffectL<TrConcat<TrDelay<1100>,AlphaL<Red,Int<0>>,TrSmoothFade<700>,Black,TrDelay<100>,AlphaL<White,Bump<Int<16384>,Int<3000>>>,TrDelay<100>>,EFFECT_PREON>
  297. >>(), "blue"},
  298.  
  299. //Electrostaff Responsive
  300. { "ESword", "tracks/sidious.wav",
  301. StylePtr<Layers<
  302. StyleFire<Strobe<RotateColorsX<Variation,Rgb<95,0,210>>,Strobe<Rgb<100,100,150>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<95,0,210>>,Black>,50,1>,100,1>,RotateColorsX<Variation,Rgb<23,0,65>>,0,5,FireConfig<2,1000,5>,FireConfig<2,1000,5>,FireConfig<2,1000,5>,FireConfig<2,1000,5>>,
  303. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  304. ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<200>>,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,
  305. 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>>>,
  306. ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<200>>>,
  307. ResponsiveClashL<White,TrInstant,TrFade<400>>,
  308. ResponsiveStabL<Red>,
  309. ResponsiveDragL<BrownNoiseFlickerL<White,Int<300>>,TrWipeIn<400>,TrFade<400>>,
  310. ResponsiveMeltL<Mix<TwistAngle<>,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,
  311. InOutTrL<TrWipe<300>,TrWipeIn<500>>>>(),
  312. "purple"},
  313.  
  314. //Transformers
  315. { "ASPrime", "tracks/prime.wav",
  316. StylePtr<Layers<
  317. StyleFire<Blue,Red,0,2,FireConfig<100,2000,1>,FireConfig<100,2000,1>,FireConfig<100,2000,1>,FireConfig<0,0,10>>,
  318. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<Red,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  319. ResponsiveLockupL<Strobe<Blue,BrownNoiseFlicker<White,Red,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>>>,
  320. ResponsiveStabL<BrownNoiseFlicker<Red,White,500>>,
  321. ResponsiveBlastL<White,Int<200>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
  322. ResponsiveClashL<White,TrInstant,TrFade<400>>,
  323. TransitionEffectL<TrConcat<TrInstant,AlphaL<AudioFlicker<Blue,White>,Bump<Int<0>,Int<200000>>>,TrFade<1500>>,EFFECT_IGNITION>,
  324. TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,
  325. LockupTrL<AlphaL<BrownNoiseFlickerL<AudioFlicker<White,Blue>,Int<300>>,SmoothStep<Int<31000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
  326. LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
  327. InOutTrL<TrWipe<100>,TrWipeIn<1100>>>>(), "predator"},
  328.  
  329. // Plagueis
  330. { "Tragedy", "tracks/plagueis.wav",
  331.  
  332. StylePtr<Layers<
  333. Layers<
  334. RotateColorsX<Variation,Red>,
  335. AudioFlickerL<RotateColorsX<Variation,Rgb16<14386,0,0>>>>,
  336. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  337. TransitionEffectL<TrConcat<TrInstant,StyleFire<Blue,Blue,0,6,FireConfig<200,4000,5>>,TrFade<1000>>,EFFECT_IGNITION>,
  338. TransitionEffectL<TrConcat<TrInstant,AlphaL<White,Bump<Int<0>,Int<10000>>>,TrSmoothFade<700>,AlphaL<Magenta,Bump<Int<0>,Int<8000>>>,TrSmoothFade<1>>,EFFECT_IGNITION>,
  339. ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Blue,300>,50,1>,TrConcat<TrInstant,White,TrFade<200>>,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,
  340. 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>>>,
  341. ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
  342. ResponsiveClashL<White,TrInstant,TrFade<400>>,
  343. ResponsiveStabL<Orange>,
  344. ResponsiveDragL<BrownNoiseFlickerL<Orange,Int<300>>,TrWipeIn<400>,TrFade<400>>,
  345. ResponsiveMeltL<Mix<TwistAngle<>,OrangeRed,Orange>,TrSmoothFade<600>>,
  346. InOutTrL<TrWipeSparkTip<White,300>,TrWipeInSparkTipX<White,Int<700>,Int<200>>>,
  347. TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,
  348. TransitionEffectL<TrConcat<TrDelay<700>,AlphaL<White,Bump<Int<0>,Int<30000>>>,TrSmoothFade<700>,AlphaL<Rgb16<65535,44108,0>,Bump<Int<0>,Int<25000>>>,TrSmoothFade<700>,AlphaL<DarkOrange,Bump<Int<0>,Int<20000>>>,TrSmoothFade<700>,AlphaL<OrangeRed,Bump<Int<0>,Int<15000>>>,TrSmoothFade<700>,AlphaL<Red,Bump<Int<0>,Int<10000>>>,TrSmoothFade<700>>,EFFECT_RETRACTION>>>(), "red"},
  349.  
  350.  
  351. };
  352. BladeConfig blades[] = {
  353. { 0, WS281XBladePtr<122, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
  354. CONFIGARRAY(presets) },
  355. };
  356. #endif
  357.  
  358. #ifdef CONFIG_BUTTONS
  359. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  360. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  361. #endif
Advertisement
Add Comment
Please, Sign In to add comment