Advertisement
NoSloppy

Untitled

Feb 2nd, 2023 (edited)
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.61 KB | None | 0 0
  1. /*
  2. Cycle through 5 different main blade looks on-the-fly using Force effect.
  3. Edit Mode Style options will sync choices thoughout each 5.
  4. So like 1a, 2a, 3a, 4a, 5a.
  5. Edit Mode change the style option, then have
  6. 1b, 2b, 3b, 4b, 5b, etc...
  7.  
  8. To not "Waste" your Force effect on this cycling, make it EFFECT_USER1 instead,
  9. then edit the prop, add a new case to make whatever button EVENT you want to trigger
  10. SaberBase::DoEffect(EFFECT_USER1, 0);
  11. To have it play a sound on the switch, also add
  12. hybrid_font.PlayCommon(&SFX_ccchange);
  13.  
  14.  
  15. copyright Fett263 FallenOrder (Primary Blade) OS6 Style
  16. https://fett263.com/fett263-proffieOS6-style-library.html#FallenOrder
  17. OS6.7 v4.019
  18. This Style Contains 1600 Unique Combinations
  19. Style Options:
  20. Default (0): Fallen Order Cal Kestis
  21. 1: Fallen Order Ninth Sister
  22. Base Color: Rgb<0,255,0> (0)
  23. --Effects Included--
  24. Preon Effect Options: Default (0): Pulsing (Base Color), 1: Faulty Ignition (Base Color), 2: Overload (Base Color), 3: Sparking (Base Color), 4: Disable
  25. Ignition Effect Options: Default (0): Glitch On, 1: Cycle Up, 2: Instant, 3: Standard Ignition
  26. PowerUp Effect Options: Default (0): Power Flash, 1: Power Burst Forward, 2: Power Burst Emitter, 3: Rey TROS Spark, 4: Disable
  27. Retraction Effect Options: Default (0): Glitch Off, 1: Cycle Down, 2: Wipe In + Fade, 3: Standard Retraction
  28. Lockup Effect: Responsive Lockup, Begin Effect: Real Clash, End Effect: Full Blade Absorb
  29. LightningBlock Effect: Responsive Lightning Block
  30. Drag Effect: Intensity Fire Drag
  31. Melt Effect: Responsive Melt
  32. Stab Effect: AudioFlicker Stab
  33. Blast Effect (Randomly Selected): Blast Wave (Random), Blast Wave (Sound Based), Blast Fade (Sound Based)
  34. Clash Effect: Real Clash V1
  35. Swing Effect Options: Default (0): Force Slow, 1: Force Boost Aura
  36. Battery Monitor: Passive Battery Monitor (Boot & Change Preset)
  37.  
  38.  
  39.  
  40. */
  41. StylePtr<Layers<
  42. EffectSequence<EFFECT_FORCE,
  43. ColorSelect<IntArg<STYLE_OPTION_ARG,0>,TrInstant,Stripes<16000,-1000,RgbArg<BASE_COLOR_ARG,Green>,Pulsing<Mix<Int<11565>,Black,RgbArg<BASE_COLOR_ARG,Green>>,RgbArg<BASE_COLOR_ARG,Green>,800>,RgbArg<BASE_COLOR_ARG,Green>>,Stripes<18000,-1600,RgbArg<BASE_COLOR_ARG,Green>,RandomFlicker<RgbArg<BASE_COLOR_ARG,Green>,Mix<Int<16384>,Black,RgbArg<BASE_COLOR_ARG,Green>>>,RandomFlicker<RgbArg<BASE_COLOR_ARG,Green>,Stripes<9000,-900,RgbArg<BASE_COLOR_ARG,Green>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Green>>>>>>,
  44. //Alternative main blade #1. Changed initial stripes to -4000 for a more active blade.
  45. ColorSelect<IntArg<STYLE_OPTION_ARG,0>,TrInstant,Stripes<16000,-4000,RgbArg<BASE_COLOR_ARG,Green>,Pulsing<Mix<Int<11565>,Black,RgbArg<BASE_COLOR_ARG,Green>>,RgbArg<BASE_COLOR_ARG,Green>,800>,RgbArg<BASE_COLOR_ARG,Green>>,Stripes<18000,-1600,RgbArg<BASE_COLOR_ARG,Green>,RandomFlicker<RgbArg<BASE_COLOR_ARG,Green>,Mix<Int<16384>,Black,RgbArg<BASE_COLOR_ARG,Green>>>,RandomFlicker<RgbArg<BASE_COLOR_ARG,Green>,Stripes<9000,-900,RgbArg<BASE_COLOR_ARG,Green>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Green>>>>>>,
  46. //Alternative main blade #2. RandomPerLEDFlicker. Comment out the main line above and comment this in.
  47. ColorSelect<IntArg<STYLE_OPTION_ARG,0>,TrInstant,Stripes<16000,-4000,RgbArg<BASE_COLOR_ARG,Green>,RandomPerLEDFlicker<Mix<Int<15>,Black,RgbArg<BASE_COLOR_ARG,Green>>,RgbArg<BASE_COLOR_ARG,Green>,800>,RgbArg<BASE_COLOR_ARG,Green>>,Stripes<18000,-1600,RgbArg<BASE_COLOR_ARG,Green>,AudioFlicker<RgbArg<BASE_COLOR_ARG,Green>,Mix<Int<16384>,Black,RgbArg<BASE_COLOR_ARG,Green>>>>>,
  48. //Alternative main blade #3. Sparkle. Comment out the two main lines above and comment this in.
  49. ColorSelect<IntArg<STYLE_OPTION_ARG,0>,TrInstant,Stripes<16000,-4000,RgbArg<BASE_COLOR_ARG,Green>,Sparkle<Mix<Int<15>,Black,RgbArg<BASE_COLOR_ARG,Green>>,RgbArg<BASE_COLOR_ARG,Green>,800>,RgbArg<BASE_COLOR_ARG,Green>>,Stripes<18000,-1600,RgbArg<BASE_COLOR_ARG,Green>,AudioFlicker<RgbArg<BASE_COLOR_ARG,Green>,Mix<Int<16384>,Black,RgbArg<BASE_COLOR_ARG,Green>>>>>,
  50. //Alternative main blade #4. HumpFlicker. Comment out the three main lines above and comment this in.
  51. ColorSelect<IntArg<STYLE_OPTION_ARG,0>,TrInstant,Stripes<16000,-4000,RgbArg<BASE_COLOR_ARG,Green>,HumpFlicker<Mix<Int<15>,Black,RgbArg<BASE_COLOR_ARG,Green>>,RgbArg<BASE_COLOR_ARG,Green>,800>,RgbArg<BASE_COLOR_ARG,Green>>,Stripes<18000,-1600,RgbArg<BASE_COLOR_ARG,Green>,AudioFlicker<RgbArg<BASE_COLOR_ARG,Green>,Mix<Int<16384>,Black,RgbArg<BASE_COLOR_ARG,Green>>>>>,
  52. //Alternative main blade #5. StyleFire. COmment out the 4 main lines above and comment this in.
  53. ColorSelect<IntArg<STYLE_OPTION_ARG,0>,TrInstant,Stripes<16000,-4000,RgbArg<BASE_COLOR_ARG,Green>,StyleFire<Mix<Int<15>,Black,RgbArg<BASE_COLOR_ARG,Green>>,RgbArg<BASE_COLOR_ARG,Green>,800>,RgbArg<BASE_COLOR_ARG,Green>>,Stripes<18000,-1600,RgbArg<BASE_COLOR_ARG,Green>,AudioFlicker<RgbArg<BASE_COLOR_ARG,Green>,Mix<Int<16384>,Black,RgbArg<BASE_COLOR_ARG,Green>>>>>
  54. >,
  55. ColorSelect<IntArg<SWING_OPTION_ARG,0>,TrInstant,TransitionEffectL<TrConcat<TrJoin<TrDelay<3000>,TrFade<300>>,Pulsing<RgbArg<SWING_COLOR_ARG,White>,Mix<Int<16384>,Black,RgbArg<SWING_COLOR_ARG,White>>,3000>,TrFade<300>>,EFFECT_FORCE>,TransitionEffectL<TrConcat<TrJoin<TrDelay<30000>,TrFade<300>>,AudioFlickerL<RgbArg<SWING_COLOR_ARG,White>>,TrFade<300>>,EFFECT_FORCE>>,
  56. TransitionEffectL<TrSelect<IntArg<IGNITION_POWER_UP_ARG,0>,TrConcat<TrJoin<TrDelayX<IgnitionTime<>>,TrInstant>,RgbArg<IGNITION_COLOR_ARG,Green>,TrFade<1000>>,TrConcat<TrJoin<TrDelayX<IgnitionTime<>>,TrInstant>,Stripes<5000,-2500,RgbArg<IGNITION_COLOR_ARG,Green>,Mix<Int<7710>,Black,RgbArg<IGNITION_COLOR_ARG,Green>>,Mix<Int<3855>,Black,RgbArg<IGNITION_COLOR_ARG,Green>>>,TrFade<800>>,TrConcat<TrJoin<TrDelayX<IgnitionTime<>>,TrInstant>,AlphaL<Stripes<5000,-2500,RgbArg<IGNITION_COLOR_ARG,Green>,Mix<Int<7710>,Black,RgbArg<IGNITION_COLOR_ARG,Green>>,Mix<Int<3855>,Black,RgbArg<IGNITION_COLOR_ARG,Green>>>,SmoothStep<IntArg<EMITTER_SIZE_ARG,2000>,Int<-500>>>,TrFade<500>>,TrConcat<TrJoin<TrDelay<200>,TrInstant>,AlphaL<Green,SmoothStep<IntArg<EMITTER_SIZE_ARG,2000>,Int<-500>>>,TrFade<300>,AlphaL<Blue,SmoothStep<IntArg<EMITTER_SIZE_ARG,2000>,Int<-500>>>,TrFade<500>>,TrInstant>,EFFECT_IGNITION>,
  57. TransitionEffectL<TrConcat<TrJoin<TrDelayX<WavLen<>>,TrWipeIn<200>>,AlphaL<AudioFlickerL<RgbArg<STAB_COLOR_ARG,White>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,
  58. TransitionEffectL<TrRandom<TrWaveX<RgbArg<BLAST_COLOR_ARG,White>,Scale<EffectRandomF<EFFECT_BLAST>,Int<100>,Int<400>>,Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Scale<EffectPosition<EFFECT_BLAST>,Int<28000>,Int<8000>>>,TrWaveX<RgbArg<BLAST_COLOR_ARG,White>,Scale<WavLen<>,Int<100>,Int<400>>,Int<100>,Scale<WavLen<>,Int<100>,Int<400>>,Scale<EffectPosition<EFFECT_BLAST>,Int<28000>,Int<8000>>>,TrConcat<TrInstant,AlphaMixL<Bump<EffectPosition<EFFECT_BLAST>,Scale<WavLen<>,Int<9000>,Int<12000>>>,RgbArg<BLAST_COLOR_ARG,White>,Mix<Int<16384>,Black,RgbArg<BLAST_COLOR_ARG,White>>>,TrFade<300>>>,EFFECT_BLAST>,
  59. Mix<IsLessThan<ClashImpactF<>,Int<26000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL<TrWaveX<RgbArg<CLASH_COLOR_ARG,White>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Int<100>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>>,EFFECT_CLASH>>,
  60. LockupTrL<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AudioFlickerL<RgbArg<LOCKUP_COLOR_ARG,White>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,White>,Int<200>>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,White>,TrFade<400>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,White>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
  61. ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,White>,AudioFlicker<RgbArg<LB_COLOR_ARG,White>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,White>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,White>,Int<16000>>,30>,TrSmoothFade<600>>>,
  62. LockupTrL<AlphaL<Stripes<2000,4000,RgbArg<DRAG_COLOR_ARG,White>,Mix<Sin<Int<50>>,Black,RgbArg<DRAG_COLOR_ARG,White>>,Mix<Int<4096>,Black,RgbArg<DRAG_COLOR_ARG,White>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<Stripes<2000,3000,RgbArg<DRAG_COLOR_ARG,White>,Mix<Sin<Int<30>>,Black,RgbArg<DRAG_COLOR_ARG,White>>,Mix<Int<8192>,Black,RgbArg<DRAG_COLOR_ARG,White>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
  63. LockupTrL<AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrFade<300>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,
  64. InOutTrL<TrSelect<IntArg<IGNITION_OPTION_ARG,0>,TrConcat<TrJoin<TrDelayX<Mult<IgnitionTime<>,Int<16384>>>,TrWipeX<Mult<IgnitionTime<>,Int<16384>>>>,Mix<SmoothStep<NoisySoundLevel,Int<-1>>,Black,RgbArg<IGNITION_COLOR_ARG,Green>>,TrWipeX<Mult<IgnitionTime<>,Int<16384>>>>,TrColorCycleX<IgnitionTime<>>,TrInstant,TrWipeX<IgnitionTime<>>>,TrSelect<IntArg<RETRACTION_OPTION_ARG,0>,TrConcat<TrJoin<TrDelayX<Mult<RetractionTime<>,Int<16384>>>,TrWipeInX<Mult<RetractionTime<>,Int<16384>>>>,Mix<SmoothStep<NoisySoundLevel,Int<-1>>,Black,RgbArg<RETRACTION_COLOR_ARG,White>>,TrWipeInX<Mult<RetractionTime<>,Int<16384>>>>,TrColorCycleX<RetractionTime<>>,TrJoin<TrWipeInX<RetractionTime<>>,TrSmoothFadeX<RetractionTime<>>>,TrWipeInX<RetractionTime<>>>>,
  65. TransitionEffectL<TrSelect<IntArg<PREON_OPTION_ARG,0>,TrConcat<TrFadeX<Mult<Int<4096>,WavLen<EFFECT_PREON>>>,AlphaL<PulsingL<RgbArg<BASE_COLOR_ARG,Green>,Int<800>>,SmoothStep<IntArg<PREON_SIZE_ARG,2000>,Int<-4000>>>,TrDelayX<Mult<Int<28672>,WavLen<EFFECT_PREON>>>>,TrConcat<TrInstant,AlphaL<RandomPerLEDFlicker<RgbArg<BASE_COLOR_ARG,Green>,Black>,SmoothStep<Scale<NoisySoundLevel,Int<-10000>,Int<36000>>,Int<-4000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,TrConcat<TrFadeX<Mult<Int<8192>,WavLen<EFFECT_PREON>>>,AlphaL<HumpFlickerL<RgbArg<BASE_COLOR_ARG,Green>,10>,SmoothStep<IntArg<PREON_SIZE_ARG,2000>,Int<-4000>>>,TrFadeX<Mult<Int<8192>,WavLen<EFFECT_PREON>>>,AlphaL<HumpFlickerL<RgbArg<BASE_COLOR_ARG,Green>,15>,SmoothStep<Sum<Int<2000>,IntArg<PREON_SIZE_ARG,2000>>,Int<-4000>>>,TrFadeX<Mult<Int<8192>,WavLen<EFFECT_PREON>>>,AlphaL<HumpFlickerL<RgbArg<BASE_COLOR_ARG,Green>,20>,SmoothStep<Sum<Int<4000>,IntArg<PREON_SIZE_ARG,2000>>,Int<-4000>>>,TrBoingX<Mult<Int<8192>,WavLen<EFFECT_PREON>>,3>>,TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<BASE_COLOR_ARG,Green>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,2000>,Sum<IntArg<PREON_SIZE_ARG,2000>,Int<4000>>>,Int<-2000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,TrInstant>,EFFECT_PREON>,
  66. TransitionEffectL<TrConcat<TrJoin<TrDelay<2000>,TrInstant>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<IntArg<EMITTER_SIZE_ARG,2000>,Int<-4000>>>,TrFade<300>>,EFFECT_BOOT>,
  67. TransitionEffectL<TrConcat<TrJoin<TrDelay<2000>,TrInstant>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<IntArg<EMITTER_SIZE_ARG,2000>,Int<-4000>>>,TrFade<300>>,EFFECT_NEWFONT>>>()
  68.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement