Advertisement
Sabersense

Clash?

Apr 2nd, 2023
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.89 KB | None | 0 0
  1. =============== 2 SWITCH CONTROLS ===============
  2.  
  3. MAIN FUNCTIONS
  4. Activate blade Short click MAIN.
  5. Activate blade mute Long click MAIN (hold for one second then release).
  6. Deactivate blade Press and hold MAIN and wait until blade is off.
  7.  
  8. USER FUNCTIONS WITH BLADE OFF
  9. Next preset Short click AUX.
  10. Previous preset Hold AUX and short click MAIN.
  11. Play Music Track Fast double-click MAIN. (Not all fonts support this feature).
  12. Speak battery voltage Press and hold AUX until voltage announcement is heard.
  13. Enter/Exit VOLUME MENU Hold AUX for approx. one second then let go.
  14. Volume up Click MAIN while in VOLUME MENU.
  15. Volume down Click AUX while in VOLUME MENU.
  16. Volume adjusts in increments per click.
  17. You must exit VOLUME MENU to resume using lightsaber normally.
  18.  
  19. EFFECTS FUNCTIONS WITH BLADE ON
  20. Blade lockup Press and hold AUX.
  21. Blade tip drag Press and hold AUX while blade is pointing down.
  22. Force (character quote) Fast double-click MAIN. (Not all fonts support this feature).
  23. Lightning block Double-click MAIN and hold.
  24. Melt Hold MAIN and push blade tip against wall (clash). (Selected fonts only).
  25. Blaster blocks Short click AUX.
  26. Enter multi-blast mode Double-click AUX and hold for half a second.
  27. Swing blade to trigger blaster block.
  28. To exit multi-blast mode double-click AUX and hold for half a second.
  29.  
  30. COLOUR CHANGE FUNCTIONS WITH BLADE ON
  31. Enter COLOUR MENU With blade lit, hold MAIN then quickly click AUX
  32. and release both buttons simultaneously.
  33. Three ascending beeps or announcement confirm you are in the COLOUR MENU.
  34. Cycle to next colour Rotate hilt whilst in COLOUR MENU until desired colour is reached.
  35. Most presets have 12 colour options.
  36. Exit COLOUR MENU Hold MAIN for approx. one second.
  37. Three descending beeps or an announcement confirm you are
  38. back in normal lightsaber mode.
  39. You must exit COLOUR MENU to resume using lightsaber normally.
  40.  
  41. ***************************************************************
  42. */
  43.  
  44. #ifdef CONFIG_TOP
  45. #include "proffieboard_v1_config.h"
  46. #define NUM_BLADES 5
  47. #define NUM_BUTTONS 2
  48.  
  49. #define VOLUME 2200
  50. // Maximum specified volume.
  51.  
  52. #define BOOT_VOLUME 1400
  53. // Default volume at bootup.
  54. // Over-ridden once user adjusts volume due to SAVE_STATE.
  55.  
  56. const unsigned int maxLedsPerStrip = 144;
  57. #define CLASH_THRESHOLD_G 3.7
  58. #define ENABLE_AUDIO
  59. #define ENABLE_MOTION
  60. #define ENABLE_WS2811
  61. #define ENABLE_SD
  62. #define ORIENTATION ORIENTATION_USB_TOWARDS_BLADE
  63. #define NO_REPEAT_RANDOM
  64. #define FEMALE_TALKIE_VOICE
  65. #define DYNAMIC_BLADE_LENGTH
  66. #define DYNAMIC_CLASH_THRESHOLD
  67. #define SAVE_CLASH_THRESHOLD
  68. #define SAVE_STATE
  69. // #define FILTER_CUTOFF_FREQUENCY 100
  70. // #define FILTER_ORDER 8
  71. #define IDLE_OFF_TIME 60 * 60 * 1000
  72. // Minutes multiplied by seconds multiplied by milliseconds. (15 * 60 * 1000 = 15 minutes).
  73. #endif
  74.  
  75. #ifdef CONFIG_PROP
  76. #include "../props/saber_chris_OS7_SA22C.h"
  77. #endif
  78.  
  79.  
  80. // *************************************************************************
  81.  
  82. #ifdef CONFIG_PRESETS
  83. Preset presets[] = {
  84.  
  85. { "Dorinian;Shared/Boot;Shared/ForceRed;Shared/Functions", "tracks/vader.wav",
  86. // Full blade lockup.
  87. // Accent Main Power Switch:
  88. StylePtr<InOutHelper<Blinking<Black,White,1000,500>,300,800>>(),
  89.  
  90. // Accent Large White:
  91. StylePtr<InOutHelper<SimpleClash<Lockup<Blast<RandomFlicker<Red,Rgb<150,0,0>>,LemonChiffon,450,200>,RandomFlicker<RandomFlicker<LemonChiffon,Black>,White>,RandomFlicker<Blue,White>>,Strobe<Blue,Cyan,15,1>,150>,600,1100,Blinking<Blinking<Red,Black,1800,500>,Black,9000,500>>>(),
  92.  
  93. // Accent Small Red:
  94. StylePtr<InOutHelper<Blinking<Rgb<100,255,255>,Black,500,500>,300,800,Blinking<Black,Blinking<Black,Rgb<100,255,255>,3000,500>,9000,500>>>(),
  95.  
  96. // Main Blade:
  97. StylePtr<InOutHelper<SimpleClash<Lockup<Blast<RandomFlicker<RandomFlicker<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,ColorChange<TrInstant,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>,Rgb<0,0,205>,Rgb<0,205,205>,Rgb<0,60,205>,Rgb<0,205,0>,Rgb<22,205,22>>>,ColorChange<TrInstant,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>>>,ColorChange<TrInstant,LightYellow,Blue,Blue,Red,Blue,Red,Red,Red,Red,Red,Red,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White,White,White,White>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow,Yellow,Yellow,Yellow,LemonChiffon,Red>,Black,28,25>,260>,600,1100>>(),
  98.  
  99. // Crystal Chamber:
  100. StylePtr<InOutHelper<SimpleClash<Lockup<Blast<RandomFlicker<RandomFlicker<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,ColorChange<TrInstant,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>,Rgb<0,0,205>,Rgb<0,205,205>,Rgb<0,60,205>,Rgb<0,205,0>,Rgb<22,205,22>>>,ColorChange<TrInstant,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>>>,ColorChange<TrInstant,LightYellow,Blue,Blue,Red,Blue,Red,Red,Red,Red,Red,Red,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White,White,White,White>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow,Yellow,Yellow,Yellow,LemonChiffon,Red>,Black,28,25>,260>,600,1100>>(), "dorinian"},
  101.  
  102.  
  103. // ****************
  104.  
  105.  
  106. { "GrflxHot;Shared/Boot;Shared/ForceBlue;Shared/Functions", "tracks/endtitle.wav",
  107. // Full blade lockup; Crystal cool down (plus sound effect).
  108. // Accent Main Power Switch:
  109. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  110.  
  111. // Accent Large White:
  112. StylePtr<InOutHelper<Blinking<Rgb<0,40,255>,Black,800,500>,500,800,Blinking<Rgb<0,40,255>,Blinking<Rgb<0,40,255>,Black,1800,500>,3600,500>>>(),
  113.  
  114. // Accent Small Red:
  115. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  116.  
  117. // Main Blade:
  118. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Rgb<185,212,212>>,ColorChange<TrInstant,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,LockupTrL<Strobe<White,Black,25,28>,TrConcat<TrInstant,White,TrFade<200>>,TrFade<300>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AlphaL<White,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,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,ResponsiveStabL<Red>,BlastL<LemonChiffon>,SimpleClashL<Strobe<Yellow,Black,25,28>,200>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<700>,TrWipeIn<1100>>>>(),
  119.  
  120. // Crystal Chamber:
  121. StylePtr<InOutHelper<SimpleClash<Lockup<OriginalBlast<RandomFlicker<ColorChange<TrInstant,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure>,ColorChange<TrInstant,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,Yellow,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow>,Black,28,25>,260>,700,1100,InOutTrL<TrConcat<TrInstant,Black,TrFade<100>,White,TrFade<400>>,TrConcat<TrInstant,Rgb<50,14,0>,TrFade<2800>,Rgb<25,2,0>,TrFade<5200>>>>>(), "graflexhot"},
  122.  
  123.  
  124. // ****************
  125.  
  126.  
  127. { "AniLight;Shared/Boot;Shared/Anakin;Shared/Functions", "tracks/mustafar.wav",
  128. // Full blade lockup; Pulsing crystal idle.
  129. // Accent Main Power Switch:
  130. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  131.  
  132. // Accent Large White:
  133. StylePtr<InOutHelper<Blinking<Rgb<0,40,255>,Black,800,500>,500,800,Blinking<Rgb<0,40,255>,Blinking<Rgb<0,40,255>,Black,1800,500>,3600,500>>>(),
  134.  
  135. // Accent Small Red:
  136. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  137.  
  138. // Main Blade:
  139. StylePtr<InOutHelper<SimpleClash<Lockup<OriginalBlast<RandomFlicker<ColorChange<TrInstant,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure>,ColorChange<TrInstant,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,Yellow,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow>,Black,28,25>,260>,700,700>>(),
  140.  
  141. // Crystal Chamber:
  142. StylePtr<InOutHelper<SimpleClash<Lockup<OriginalBlast<RandomFlicker<ColorChange<TrInstant,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure>,ColorChange<TrInstant,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,Yellow,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow>,Black,28,25>,260>,700,700,Pulsing<ColorChange<TrInstant,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure>,Black,4000>>>(), "anilight"},
  143.  
  144.  
  145. // ****************
  146.  
  147.  
  148. { "AniDark;Shared/Boot;Shared/Anakin;Shared/Functions", "tracks/mustafar.wav",
  149. // Full blade lockup; Pulsing crystal idle.
  150. // Accent Main Power Switch:
  151. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  152.  
  153. // Accent Large White:
  154. StylePtr<InOutHelper<Blinking<Rgb<0,40,255>,Black,800,500>,500,800,Blinking<Rgb<0,40,255>,Blinking<Rgb<0,40,255>,Black,1800,500>,3600,500>>>(),
  155.  
  156. // Accent Small Red:
  157. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  158.  
  159. // Main Blade:
  160. StylePtr<InOutHelper<SimpleClash<Lockup<OriginalBlast<RandomFlicker<ColorChange<TrInstant,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure>,ColorChange<TrInstant,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,Yellow,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow>,Black,28,25>,260>,700,700>>(),
  161.  
  162. // Crystal Chamber:
  163. StylePtr<InOutHelper<SimpleClash<Lockup<OriginalBlast<RandomFlicker<ColorChange<TrInstant,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure>,ColorChange<TrInstant,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,Yellow,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow>,Black,28,25>,260>,700,700,Pulsing<ColorChange<TrInstant,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure>,Black,4000>>>(), "anidark"},
  164.  
  165.  
  166. // ****************
  167.  
  168.  
  169. { "FrcAwkns;Shared/Boot;Shared/Rey;Shared/Functions", "tracks/tfaduel.wav",
  170. // Localized clash and crystal cool down effect.
  171. // Accent Main Power Switch:
  172. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  173.  
  174. // Accent Large White:
  175. StylePtr<InOutHelper<Blinking<Rgb<0,40,255>,Black,800,500>,500,800,Blinking<Rgb<0,40,255>,Blinking<Rgb<0,40,255>,Black,1800,500>,3600,500>>>(),
  176.  
  177. // Accent Small Red:
  178. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  179.  
  180. // Main Blade:
  181. StylePtr<InOutHelper<LocalizedClash<Lockup<OriginalBlast<RandomFlicker<ColorChange<TrInstant,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue>,ColorChange<TrInstant,Rgb<0,0,205>,Rgb<0,205,205>,Rgb<0,60,205>,Rgb<0,205,0>,Rgb<22,205,22>,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>>>,ColorChange<TrInstant,Red,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red,Red>>,Strobe<Azure,SteelBlue,25,28>,RandomFlicker<White,SteelBlue>,Int<26000>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow>,Black,30,32>,260,176>,280,1100>>(),
  182.  
  183. // Crystal Chamber:
  184. StylePtr<InOutHelper<SimpleClash<Lockup<BlastFadeout<RandomFlicker<ColorChange<TrInstant,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue>,Black>,ColorChange<TrInstant,Red,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red,Red>>,Strobe<Azure,SteelBlue,25,28>,RandomFlicker<White,SteelBlue>,Int<26000>>,Strobe<Yellow,Black,25,20>,250>,280,1100,Pulsing<ColorChange<TrInstant,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue>,Black,3600>>>(),
  185. "forceawakens"},
  186.  
  187.  
  188. // ****************
  189.  
  190.  
  191. { "RainLght;Shared/Boot;Shared/Thunder;Shared/Functions", "tracks/thunder.wav",
  192. // Localized lockup.
  193. // Accent Main Power Switch:
  194. StylePtr<InOutHelper<Blinking<Black,White,1000,500>,300,800>>(),
  195.  
  196. // Accent Large White:
  197. StylePtr<InOutHelper<Blinking<Blue,Black,1000,500>,300,800,Blinking<Blinking<Blue,White,2000,500>,Black,4000,500>>>(),
  198.  
  199. // Accent Small Red:
  200. StylePtr<InOutHelper<Blinking<Black,Red,1000,500>,300,800,Blinking<Blinking<Black,Black,2000,500>,Red,4000,500>>>(),
  201.  
  202. // Main Blade:
  203. StylePtr<InOutHelper<LocalizedClash<Lockup<BlastFadeout<RandomFlicker<Sparkle<ColorChange<TrInstant,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue>,ColorChange<TrInstant,White,White,White,White,Red,White,White,Blue,Red,Blue,Blue,White>,90>,ColorChange<TrInstant,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,Red,Blue,Yellow,Blue,Blue,Blue,Red,Red>,320>,BrownNoiseFlicker<HumpFlicker<White,Black,70>,White,180>,RandomFlicker<White,SteelBlue>,Bump<Int<16384>,Int<24000>>>,Strobe<Yellow,SteelBlue,25,20>,280,100>,450,1100>>(),
  204.  
  205. // Crystal Chamber:
  206. StylePtr<InOutHelper<SimpleClash<Lockup<BlastFadeout<RandomFlicker<ColorChange<TrInstant,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue>,ColorChange<TrInstant,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,Red,Blue,Yellow,Blue,Blue,Blue,Red,Red>,320>,Strobe<White,Black,25,28>,RandomFlicker<White,SteelBlue>>,Strobe<Black,Yellow,25,28>,250>,450,1100>>(), "rainlight"},
  207.  
  208.  
  209. // ****************
  210.  
  211.  
  212. { "Rey;Shared/Boot;Shared/Rey;Shared/Functions", "tracks/anewhome.wav",
  213. // Accent Main Power Switch:
  214. StylePtr<InOutHelper<Blinking<Black,White,1000,500>,300,800>>(),
  215.  
  216. // Accent Large White:
  217. StylePtr<InOutHelper<Blinking<Rgb<50,20,0>,Black,800,500>,500,800,Blinking<Rgb<50,20,0>,Blinking<Rgb<50,20,0>,Black,1800,500>,3600,500>>>(),
  218.  
  219. // Accent Small Red:
  220. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  221.  
  222. // Main Blade:
  223. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow>,ColorChange<TrInstant,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>>>,AlphaL<AudioFlickerL<ColorChange<TrInstant,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow>>,SwingSpeed<400>>,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>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<400>>,TrFade<100>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,ResponsiveStabL<Red>,BlastFadeoutL<White>,SimpleClashL<Strobe<White,Black,25,28>,300>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,White,Cyan>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<300>,TrWipeIn<850>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BlinkingL<Blue,Int<300>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrBoing<500,3>,AlphaL<BlinkingL<DodgerBlue,Int<200>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrBoing<400,3>,AlphaL<BlinkingL<DeepSkyBlue,Int<100>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrDelay<500>>,EFFECT_PREON>>>(),
  224.  
  225. // Crystal Chamber:
  226. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow>,ColorChange<TrInstant,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>>>,AlphaL<AudioFlickerL<ColorChange<TrInstant,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow>>,SwingSpeed<400>>,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>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<400>>,TrFade<100>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,ResponsiveStabL<Red>,BlastFadeoutL<White>,SimpleClashL<Strobe<White,Black,25,28>,300>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,White,Cyan>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<300>,TrWipeIn<850>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BlinkingL<Blue,Int<300>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrBoing<500,3>,AlphaL<BlinkingL<DodgerBlue,Int<200>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrBoing<400,3>,AlphaL<BlinkingL<DeepSkyBlue,Int<100>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrDelay<500>>,EFFECT_PREON>>>(), "rey"},
  227.  
  228.  
  229. // ****************
  230.  
  231.  
  232. { "Windu;Shared/Boot;Shared/Windu;Shared/Functions","Windu/tracks/track.wav",
  233. // Accent Main Power Switch:
  234. StylePtr<InOutHelper<Blinking<Black,White,1000,500>,300,800>>(),
  235.  
  236. // Accent Large White:
  237. StylePtr<InOutHelper<Blinking<Magenta,Black,800,500>,500,800,Blinking<Magenta,Blinking<Magenta,Black,1800,500>,3600,500>>>(),
  238.  
  239. // Accent Small Red:
  240. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  241.  
  242. // Main Blade:
  243. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Magenta,Rgb<255,80,154>,Yellow,Orange,Rgb<185,212,212>,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red>,ColorChange<TrInstant,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,LockupTrL<Strobe<White,Black,25,28>,TrConcat<TrInstant,White,TrFade<200>>,TrFade<300>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AlphaL<White,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,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,ResponsiveStabL<Red>,BlastL<LemonChiffon>,SimpleClashL<Strobe<Yellow,Black,25,28>,200>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<750>,TrWipeIn<700>>>>(),
  244.  
  245. // Crystal Chamber:
  246. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Magenta,Rgb<255,80,154>,Yellow,Orange,Rgb<185,212,212>,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red>,ColorChange<TrInstant,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,LockupTrL<Strobe<White,Black,25,28>,TrConcat<TrInstant,White,TrFade<200>>,TrFade<300>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AlphaL<White,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,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,ResponsiveStabL<Red>,BlastL<LemonChiffon>,SimpleClashL<Strobe<Yellow,Black,25,28>,200>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<750>,TrWipeIn<700>>>>(), "windu"},
  247.  
  248.  
  249. // ****************
  250.  
  251.  
  252. { "EpsdeOne;Shared/Boot;Shared/ForceGreen;Shared/Functions","tracks/quigonn.wav",
  253. // Accent Main Power Switch:
  254. StylePtr<InOutHelper<Blinking<Black,White,1000,500>,300,800>>(),
  255.  
  256. // Accent Large White:
  257. StylePtr<InOutHelper<Blinking<Green,Black,800,500>,500,800,Blinking<Magenta,Blinking<Green,Black,1800,500>,3600,500>>>(),
  258.  
  259. // Accent Small Red:
  260. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  261.  
  262. // Main Blade:
  263. StylePtr<InOutHelper<SimpleClash<Lockup<Blast<RandomFlicker<ColorChange<TrInstant,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue>,ColorChange<TrInstant,Rgb<0,205,0>,Rgb<22,205,22>,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>,Rgb<0,0,205>,Rgb<0,205,205>,Rgb<0,60,205>>>,ColorChange<TrInstant,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red,Red,Red,Red,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White,White>,Black,20,16>>,Strobe<ColorChange<TrInstant,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow,Yellow,Yellow,Yellow>,Black,28,25>,260>,800,900>>(),
  264.  
  265. // Crystal Chamber:
  266. StylePtr<InOutHelper<SimpleClash<Lockup<Blast<RandomFlicker<ColorChange<TrInstant,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue>,ColorChange<TrInstant,Rgb<0,205,0>,Rgb<22,205,22>,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>,Rgb<0,0,205>,Rgb<0,205,205>,Rgb<0,60,205>>>,ColorChange<TrInstant,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red,Red,Red,Red,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White,White>,Black,20,16>>,Strobe<ColorChange<TrInstant,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow,Yellow,Yellow,Yellow>,Black,28,25>,260>,800,900>>(), "episode1"},
  267.  
  268.  
  269. // ****************
  270.  
  271.  
  272. { "Broken1;Shared/Boot;Shared/Rey;Shared/Functions","tracks/anewhome.wav",
  273. // Full blade lockup.
  274. // Accent Main Power Switch:
  275. StylePtr<InOutHelper<Blinking<White,Black,800,500>,500,800>>(),
  276.  
  277. // Accent Large White:
  278. StylePtr<InOutHelper<Blinking<Red,Black,800,500>,500,800,Blinking<Red,Blinking<Orange,Black,1800,500>,3600,500>>>(),
  279.  
  280. // Accent Small Red:
  281. StylePtr<InOutHelper<Blinking<Red,Black,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  282.  
  283. // Main Blade:
  284. StylePtr<Layers<Black,AlphaL<Black,SwingSpeed<400>>,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>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,LockupL<Strobe<White,Black,25,28>,White>,ResponsiveStabL<Red>,BlastFadeoutL<White,280>,SimpleClashL<Strobe<White,Black,25,28>,300>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,White,Cyan>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<300>,TrWipeIn<660>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BlinkingL<Blue,Int<300>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrBoing<500,3>,AlphaL<BlinkingL<DodgerBlue,Int<200>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrBoing<400,3>,AlphaL<BlinkingL<DeepSkyBlue,Int<100>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrDelay<4600>>,EFFECT_PREON>>>(),
  285.  
  286. // Crystal Chamber:
  287. StyleNormalPtr<AudioFlicker<Black,Black>,Black,300,800,Black>(), "broken1"},
  288.  
  289.  
  290. // ****************
  291.  
  292.  
  293. { "Broken2;Shared/Boot;Shared/Rey;Shared/Functions","tracks/anewhome.wav",
  294. // Full blade lockup.
  295. // Accent Main Power Switch:
  296. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  297.  
  298. // Accent Large White:
  299. StylePtr<InOutHelper<Blinking<Orange,Black,800,500>,500,800,Blinking<Red,Blinking<Orange,Black,1800,500>,3600,500>>>(),
  300.  
  301. // Accent Small Red:
  302. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  303.  
  304. // Main Blade:
  305. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow>,ColorChange<TrInstant,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>>>,AlphaL<AudioFlickerL<ColorChange<TrInstant,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow>>,SwingSpeed<400>>,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>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<400>>,TrFade<100>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,ResponsiveStabL<Red>,BlastFadeoutL<White>,SimpleClashL<Strobe<White,Black,25,28>,300>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,White,Cyan>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<300>,TrWipeIn<850>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BlinkingL<Blue,Int<300>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrBoing<500,3>,AlphaL<BlinkingL<DodgerBlue,Int<200>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrBoing<400,3>,AlphaL<BlinkingL<DeepSkyBlue,Int<100>,Int<500>>,Bump<Int<0>,Int<4000>>>,TrDelay<500>>,EFFECT_PREON>>>(),
  306.  
  307. // Crystal Chamber:
  308. StylePtr<InOutHelper<RandomFlicker<ColorChange<TrInstant,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow>,Black>,300,800>>(), "broken2"},
  309.  
  310.  
  311. // ****************
  312.  
  313.  
  314. { "KyloRen;Shared/Boot;Shared/Kylo;Shared/Functions", "tracks/kylo.wav",
  315. // Full blade lockup.
  316. // Accent Main Power Switch:
  317. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  318.  
  319. // Accent Large White:
  320. StylePtr<InOutHelper<Blinking<Red,Black,800,500>,300,800,Pulsing<Black,Red,5000>>>(),
  321.  
  322. // Accent Small Red:
  323. StylePtr<InOutHelper<Blinking<Rgb<100,255,255>,Black,800,500>,300,800,Blinking<Rgb<100,255,255>,Black,4975,25>>>(),
  324.  
  325. // Main Blade:
  326. StylePtr<InOutHelper<OnSpark<LocalizedClash<Lockup<Blast<BrownNoiseFlicker<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,Black,1000>,Gradient<Green,Yellow,White>,200,200,600>,Strobe<White,Black,24,27>,RandomFlicker<Yellow,Blue>,Int<26000>>,Strobe<Yellow,Black,25,28>,280,90>,BrownNoiseFlicker<LemonChiffon,White,50>,300>,250,1000>>(),
  327.  
  328. // Crystal Chamber:
  329. StylePtr<InOutHelper<OnSpark<LocalizedClash<Lockup<Blast<BrownNoiseFlicker<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,Black,1000>,Gradient<Green,Yellow,White>,200,200,600>,Strobe<White,Black,24,27>,RandomFlicker<Yellow,Blue>,Int<26000>>,Strobe<Yellow,Black,25,28>,280,90>,BrownNoiseFlicker<LemonChiffon,White,50>,300>,250,1000>>(), "kyloren"},
  330.  
  331.  
  332. // ****************
  333.  
  334.  
  335. { "ReturnP;Shared/Boot;Shared/Palpatine;Shared/Functions", "tracks/Order66.wav",
  336. // Full blade lockup.
  337. // Accent Main Power Switch:
  338. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  339.  
  340. // Accent Large White:
  341. StylePtr<InOutHelper<Blinking<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,Black,800,500>,500,800,Blinking<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,Blinking<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,Black,1800,500>,3600,500>>>(),
  342.  
  343. // Accent Small Red:
  344. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  345.  
  346. // Main Blade:
  347. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,ColorChange<TrInstant,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>>>,AlphaL<AudioFlickerL<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>>,SwingSpeed<400>>,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>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,LockupL<Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White,White,White,White>,Black,20,16>>,ResponsiveStabL<Red>,BlastFadeoutL<White,280>,SimpleClashL<Strobe<Yellow,Black,25,28>,300>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,White,Cyan>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<550>,TrWipeIn<1100>>,TransitionEffectL<TrDelay<10000>,EFFECT_PREON>>>(),
  348.  
  349. // Crystal Chamber:
  350. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,ColorChange<TrInstant,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>>>,AlphaL<AudioFlickerL<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>>,SwingSpeed<400>>,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>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,LockupL<Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White,White,White,White>,Black,20,16>>,ResponsiveStabL<Red>,BlastFadeoutL<White,280>,SimpleClashL<Strobe<Yellow,Black,25,28>,300>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,White,Cyan>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<550>,TrWipeIn<1100>>,TransitionEffectL<TrDelay<10000>,EFFECT_PREON>>>(), "returnp"},
  351.  
  352.  
  353. // ****************
  354.  
  355.  
  356. { "Return;Shared/Boot;Shared/Palpatine;Shared/Functions", "tracks/Order66.wav",
  357. // Full blade lockup.
  358. // Accent Main Power Switch:
  359. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  360.  
  361. // Accent Large White:
  362. StylePtr<InOutHelper<Blinking<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,Black,800,500>,500,800,Blinking<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,Blinking<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,Black,1800,500>,3600,500>>>(),
  363.  
  364. // Accent Small Red:
  365. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  366.  
  367. // Main Blade:
  368. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,ColorChange<TrInstant,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>>>,AlphaL<AudioFlickerL<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>>,SwingSpeed<400>>,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>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,LockupL<Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White,White,White,White>,Black,20,16>>,ResponsiveStabL<Red>,BlastFadeoutL<White,280>,SimpleClashL<Strobe<Yellow,Black,25,28>,300>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,White,Cyan>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<550>,TrWipeIn<1100>>,TransitionEffectL<TrDelay<10000>,EFFECT_PREON>>>(),
  369.  
  370. // Crystal Chamber:
  371. StylePtr<Layers<RandomFlicker<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>,ColorChange<TrInstant,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>>>,AlphaL<AudioFlickerL<ColorChange<TrInstant,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>>>,SwingSpeed<400>>,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>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,LockupL<Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White,White,White,White>,Black,20,16>>,ResponsiveStabL<Red>,BlastFadeoutL<White,280>,SimpleClashL<Strobe<Yellow,Black,25,28>,300>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,White,Cyan>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<550>,TrWipeIn<1100>>,TransitionEffectL<TrDelay<10000>,EFFECT_PREON>>>(), "return"},
  372.  
  373.  
  374. // ****************
  375.  
  376.  
  377. { "Training;Shared/Boot;Shared/Rey;Shared/Functions", "tracks/training.wav",
  378. // Full blade lockup.
  379. // Accent Main Power Switch:
  380. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  381.  
  382. // Accent Large White:
  383. StylePtr<InOutHelper<Blinking<Cyan,Black,800,500>,500,800,Blinking<Cyan,Black,3800,500>>>(),
  384.  
  385. // Accent Small Red:
  386. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3800,500>>>(),
  387.  
  388. // Main Blade:
  389. StylePtr<InOutHelper<SimpleClash<Lockup<OriginalBlast<RandomFlicker<RandomFlicker<ColorChange<TrInstant,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue>,ColorChange<TrInstant,Rgb<0,205,205>,Rgb<0,60,205>,Rgb<0,205,0>,Rgb<22,205,22>,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>,Rgb<0,0,205>>>,ColorChange<TrInstant,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red,Red,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red,White,White>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow,Yellow>,Black,28,25>,260>,300,1000>>(),
  390.  
  391. // Crystal Chamber:
  392. StylePtr<InOutHelper<SimpleClash<Lockup<OriginalBlast<RandomFlicker<RandomFlicker<ColorChange<TrInstant,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue>,ColorChange<TrInstant,Rgb<0,205,205>,Rgb<0,60,205>,Rgb<0,205,0>,Rgb<22,205,22>,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>,Rgb<0,0,205>>>,ColorChange<TrInstant,Rgb<0,125,125>,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>>>,ColorChange<TrInstant,Red,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red,Red,Red>>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red,White,White>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow,Yellow>,Black,28,25>,260>,300,1000>>(), "training"},
  393.  
  394.  
  395. // ****************
  396.  
  397.  
  398. { "KbrLuke;Shared/Boot;Shared/ForceAll;Shared/Functions", "tracks/jeditext.wav",
  399. // Localized lockup and crystal cooling effect.
  400. // Accent Main Power Switch:
  401. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  402.  
  403. // Accent Large White:
  404. StylePtr<InOutHelper<Blinking<DodgerBlue,Black,800,500>,500,800,Blinking<DodgerBlue,Black,3600,500>>>(),
  405.  
  406. // Accent Small Red:
  407. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  408.  
  409. // Main Blade:
  410. StylePtr<InOutHelper<SimpleClash<Lockup<BlastFadeout<RandomFlicker<RandomFlicker<ColorChange<TrInstant,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan>,ColorChange<TrInstant,Rgb<0,60,205>,Rgb<0,205,0>,Rgb<22,205,22>,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>,Rgb<0,0,205>,Rgb<0,205,205>>>,ColorChange<TrInstant,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>>>,ColorChange<TrInstant,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red,Red,Red,Red>,350>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White>,Black,20,16>,Bump<Int<16800>,Int<28000>>>,Strobe<ColorChange<TrInstant,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow,Yellow,Yellow>,Black,28,25>,260>,800,1000>>(),
  411.  
  412. // Crystal Chamber:
  413. StylePtr<InOutHelper<SimpleClash<Lockup<BlastFadeout<RandomFlicker<RandomFlicker<ColorChange<TrInstant,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Azure,DeepSkyBlue,Blue,Cyan>,ColorChange<TrInstant,Rgb<0,60,205>,Rgb<0,205,0>,Rgb<22,205,22>,Rgb<205,0,0>,Rgb<205,0,205>,Rgb<205,62,115>,Rgb<205,205,0>,Rgb<205,79,0>,Rgb<178,205,205>,Rgb<0,107,205>,Rgb<0,0,205>,Rgb<0,205,205>>>,ColorChange<TrInstant,Rgb<0,35,125>,Rgb<0,125,0>,Rgb<14,125,14>,Rgb<125,0,0>,Rgb<125,0,125>,Rgb<125,40,77>,Rgb<125,125,0>,Rgb<125,48,0>,Rgb<110,125,125>,Rgb<0,68,125>,Rgb<0,0,125>,Rgb<0,125,125>>>,ColorChange<TrInstant,Red,Red,Red,LightYellow,Blue,Blue,Red,Blue,Red,Red,Red,Red>,350>,Strobe<ColorChange<TrInstant,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>,Yellow,Rgb<200,255,255>,Rgb<200,255,255>,Rgb<200,255,255>>,Black,20,16>,Strobe<ColorChange<TrInstant,White,White,White,White,White,White,Red,Rgb<200,255,255>,Red,White,White,White>,Black,20,16>>,Strobe<ColorChange<TrInstant,Yellow,LemonChiffon,Red,Yellow,Yellow,Yellow,Cyan,White,Yellow,Yellow,Yellow,Yellow>,Black,28,25>,260>,800,1000,InOutTrL<TrConcat<TrInstant,Black,TrFade<100>,White,TrFade<400>>,TrConcat<TrInstant,Rgb<50,14,0>,TrFade<2800>,Rgb<25,2,0>,TrFade<5200>>>>>(), "kyberluke"},
  414.  
  415.  
  416. // ****************
  417.  
  418.  
  419. { "DsplyTsy;Shared/Boot;Shared/ForceAll;Shared/Functions", "tracks/jedi.wav",
  420. // Accent Main Power Switch:
  421. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  422.  
  423. // Accent Large White:
  424. StylePtr<InOutHelper<Blinking<Rgb<0,40,255>,Black,800,500>,500,800,Blinking<Rgb<0,40,255>,Blinking<Rgb<0,40,255>,Black,1800,500>,3600,500>>>(),
  425.  
  426. // Accent Small Red:
  427. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  428.  
  429. // Main Blade:
  430. StylePtr<InOutHelper<SimpleClash<Lockup<Blast<ColorChange<TrInstant,Rgb<0,67,128>,Rgb<0,0,128>,Rgb<0,128,128>,Rgb<1,36,128>,Rgb<0,128,0>,Rgb<20,128,20>,Rgb<128,0,0>,Rgb<128,0,128>,Rgb<128,40,77>,Rgb<128,128,0>,Rgb<128,48,0>,Rgb<112,128,128>>,White>,RandomFlicker<Blue,White>>,White>,300,800,ColorChange<TrInstant,Rgb<0,67,128>,Rgb<0,0,128>,Rgb<0,128,128>,Rgb<1,36,128>,Rgb<0,128,0>,Rgb<20,128,20>,Rgb<128,0,0>,Rgb<128,0,128>,Rgb<128,40,77>,Rgb<128,128,0>,Rgb<128,48,0>,Rgb<112,128,128>>>>(),
  431.  
  432. // Crystal Chamber:
  433. StylePtr<InOutHelper<SimpleClash<Lockup<Blast<ColorChange<TrInstant,Rgb<0,67,128>,Rgb<0,0,128>,Rgb<0,128,128>,Rgb<1,36,128>,Rgb<0,128,0>,Rgb<20,128,20>,Rgb<128,0,0>,Rgb<128,0,128>,Rgb<128,40,77>,Rgb<128,128,0>,Rgb<128,48,0>,Rgb<112,128,128>>,White>,RandomFlicker<Blue,White>>,White>,300,800,ColorChange<TrInstant,Rgb<0,67,128>,Rgb<0,0,128>,Rgb<0,128,128>,Rgb<1,36,128>,Rgb<0,128,0>,Rgb<20,128,20>,Rgb<128,0,0>,Rgb<128,0,128>,Rgb<128,40,77>,Rgb<128,128,0>,Rgb<128,48,0>,Rgb<112,128,128>>>>(), "display"},
  434.  
  435.  
  436. // ****************
  437.  
  438.  
  439. { "Length;Shared/Boot;Shared/ForceStd;Shared/Functions", "tracks/mute.wav",
  440. // Accent Main Power Switch:
  441. StylePtr<InOutHelper<Blinking<Black,White,800,500>,300,800>>(),
  442.  
  443. // Accent Large White:
  444. StylePtr<InOutHelper<Blinking<DodgerBlue,Black,800,500>,500,800,Blinking<DodgerBlue,Black,3600,500>>>(),
  445.  
  446. // Accent Small Red:
  447. StylePtr<InOutHelper<Blinking<Black,Red,800,500>,500,800,Blinking<Black,Red,3600,500>>>(),
  448.  
  449. // Main Blade:
  450. StylePtr<LengthFinder<Black,White>>(),
  451.  
  452. // Crystal Chamber:
  453. StylePtr<InOutHelper<Blinking<DodgerBlue,Black,800,500>,500,800,Blinking<DodgerBlue,Black,3600,500>>>(), "length"},
  454.  
  455.  
  456. // ****************
  457.  
  458.  
  459. { "Diagnstc;Shared/Boot;Shared/ForceStd;Shared/Functions", "tracks/trail.wav",
  460. // Accent Main Power Switch:
  461. StylePtr<InOutHelper<Blinking<White,Black,1250,950>,300,800>>(),
  462.  
  463. // Accent Large White:
  464. StylePtr<InOutHelper<Cyan,300,800,ColorSequence<1250,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Rgb<185,212,212>>>>(),
  465.  
  466. // Accent Small Red:
  467. StylePtr<Blinking<Black,Red,1250,950>>(),
  468.  
  469. // Main Blade:
  470. StylePtr<InOutHelper<Cyan,300,800,ColorSequence<1250,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Rgb<185,212,212>>>>(),
  471.  
  472. // Crystal Chamber:
  473. StylePtr<InOutHelper<Cyan,300,800,ColorSequence<1250,DeepSkyBlue,Blue,Cyan,DodgerBlue,Green,Rgb<28,255,28>,Red,Magenta,Rgb<255,80,154>,Yellow,Orange,Rgb<185,212,212>>>>(), "diagnostic"},
  474.  
  475.  
  476. // ****************
  477.  
  478.  
  479. { "Battery;Shared/Boot;Shared/ForceStd;Shared/Functions", "tracks/rey.wav",
  480. // Accent Main Power Switch:
  481. StylePtr<InOutHelper<Blinking<Black,White,1600,500>,300,800>>(),
  482.  
  483. // Accent Large White:
  484. StylePtr<ColorSequence<1600,Green,Red,Black>>(),
  485.  
  486. // Accent Small Red:
  487. StylePtr<ColorSequence<1600,Red,Green,Black>>(),
  488.  
  489. // Main Blade:
  490. &style_charging,
  491.  
  492. // Crystal Chamber:
  493. &style_charging, "battery"},
  494.  
  495.  
  496.  
  497. // *************************************************************************
  498. };
  499.  
  500. template<int milliohms = 120000>
  501. struct CrystalRedLED {
  502. static constexpr float MaxAmps = 0.02;
  503. static constexpr float MaxVolts = 2.1;
  504. static constexpr float P2Amps = 0.01;
  505. static constexpr float P2Volts = 1.8;
  506. static constexpr float R = milliohms / 1000.0;
  507. // LED color
  508. static const int Red = 255;
  509. static const int Green = 0;
  510. static const int Blue = 0;
  511. };
  512.  
  513.  
  514. template<int milliohms = 56000>
  515. struct CrystalGreenLED {
  516. static constexpr float MaxAmps = 0.02;
  517. static constexpr float MaxVolts = 3.1;
  518. static constexpr float P2Amps = 0.01;
  519. static constexpr float P2Volts = 3.05;
  520. static constexpr float R = milliohms / 1000.0;
  521. // LED color
  522. static const int Red = 0;
  523. static const int Green = 255;
  524. static const int Blue = 0;
  525. };
  526.  
  527.  
  528. template<int milliohms = 56000>
  529. struct CrystalBlueLED {
  530. static constexpr float MaxAmps = 0.02;
  531. static constexpr float MaxVolts = 3.1;
  532. static constexpr float P2Amps = 0.01;
  533. static constexpr float P2Volts = 3.05;
  534. static constexpr float R = milliohms / 1000.0;
  535. // LED color
  536. static const int Red = 0;
  537. static const int Green = 0;
  538. static const int Blue = 255;
  539. };
  540.  
  541.  
  542. // *************************************************************************
  543.  
  544. // When using the lengthfinder, don't forget that your first two pixels are the accent LEDs.
  545. // Hence the 128 shown in this config is actually for a 126 pixel blade.
  546. // Note also that the lengthfinder will only work up to the limit set in the config (in this case 131 pixels).
  547. // For longer blades, change the 133 below to 144.
  548.  
  549.  
  550. BladeConfig blades[] = {
  551. { 0,
  552. SimpleBladePtr<CrystalBlueLED<20000>, NoLED, NoLED, NoLED, bladePowerPin1, -1, -1, -1>(),
  553. SubBlade(0, 0, WS2811BladePtr<128, WS2811_800kHz | WS2811_GRB, bladePin, PowerPINS<bladePowerPin2, bladePowerPin3>>()),
  554. SubBlade(1, 1, NULL),
  555. SubBlade(2, 127, NULL),
  556. SimpleBladePtr<CrystalRedLED<120000>, CrystalGreenLED<56000>, CrystalBlueLED<56000>, NoLED, bladePowerPin4, bladePowerPin5, bladePowerPin6, -1>(),
  557. CONFIGARRAY(presets) },
  558. };
  559. #endif
  560.  
  561. #ifdef CONFIG_BUTTONS
  562. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  563. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  564. #endif
  565.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement