Editing blade styles in config... Specifically ignition and retraction speeds

Is it possible to adjust the ignition and retraction speeds of an existing plade profile from inside the config file? I’m assuming so, but I can’t seem to find it.

What am I supposed to be looking for?

Depends on the style, typically it would be the transition speeds in the InOutTrL<> layer.

1 Like

Ok cool, I’ll give it another look when I get home.

You could post your style/config and we can show you where it is.

Yes it’s pretty straightforward to adjust the speeds of the In & Out layer. The easiest way to identify the layers is to paste the bladestyle into the StyleEditor, click [Submit], and then click [Layerize]. Now goto the In & Out layer and play around with the timing. Just be sure to replace anything that drops off the end of the style code once it’s layered and you should be set.

Here’s an example, look for the // note just before the In & Out layer.

StylePtr<
 Layers<
  ColorSelect<Variation,TrFade<500>,Rgb<0,0,225>,Rgb<0,225,225>,Rgb<0,225,0>,Rgb<225,225,0>,Rgb<225,129,0>,Rgb<225,0,130>,Rgb<225,0,0>>,
  TransitionEffectL<TrConcat<TrDelay<300>,AlphaL<BrownNoiseFlicker<Cyan,Black,500>,Bump<Int<0>>>,TrDelay<400>,AlphaL<BrownNoiseFlicker<White,Black,500>,Bump<Int<0>,Int<50000>>>,TrWipe<300>>,EFFECT_IGNITION>,
  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>>>,
  ResponsiveStabL<Red>,
  ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
  ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,
  LockupTrL<Layers<
    AlphaL<Blinking<White,Strobe<Rgb<100,100,125>,Black,15,30>,60,900>,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<White,LemonChiffon,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<Moccasin,Rgb<30,30,30>,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<250>,SaberBase::LOCKUP_NORMAL>,
  TransitionEffectL<TrConcat<TrInstant,AlphaL<Strobe<GreenYellow,Black,60,30>,Bump<Scale<BladeAngle<5000,28000>,Scale<BladeAngle<8000,16000>,Int<3000>,Int<44000>>,Int<3000>>,Int<15000>>>,TrFade<600>>,EFFECT_LOCKUP_BEGIN>,
  TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<Strobe<AlphaL<GreenYellow,Int<20000>>,Black,20,30>,30>,TrSmoothFade<250>>,EFFECT_LOCKUP_BEGIN>,
  TransitionEffectL<TrConcat<TrInstant,GreenYellow,TrDelay<25>>,EFFECT_LOCKUP_BEGIN>,
  TransitionEffectL<TrConcat<TrInstant,Strobe<GreenYellow,Black,20,30>,TrFade<200>,BrownNoiseFlickerL<AlphaL<GreenYellow,Int<16000>>,Int<50>>,TrJoinR<TrWipe<200>,TrWipeIn<200>,TrFade<300>>>,EFFECT_LOCKUP_END>,
  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>>>,
  ResponsiveStabL<Red>,
  ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
  ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Int<20000>>,
  LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Cyan,White,Rgb<0,50,50>,Rgb<75,75,75>>,Stripes<2000,3000,Rgb<75,75,75>,Rgb<75,75,75>,Rgb<100,100,100>,Rgb<60,60,60>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
  LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Red,Black,Rgb<200,0,0>,Rgb<90,0,0>>,Stripes<2000,3000,Rgb<255,200,0>,Rgb<100,75,0>,Rgb<200,160,0>,Rgb<60,40,0>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,

//Here is your main In and Out line with the related timing. You can increase or decrease the counts to match your needs.
  InOutTrL<TrWipe<300>,TrWipeIn<500>>,
//An example being say for a slower retraction, you could increase the timing to 1000 for the V3 Darksaber.   
//InOutTrL<TrWipe<300>,TrWipeIn<1000>>,
  TransitionEffectL<TrConcat<TrDelay<300>,AlphaL<BrownNoiseFlicker<Cyan,Black,500>,Bump<Int<0>>>,TrDelay<400>,AlphaL<BrownNoiseFlicker<Rgb<50,50,50>,Black,500>,Bump<Int<0>,Int<105000>>>,TrWipe<300>>,EFFECT_RETRACTION>,
  TransitionEffectL<TrConcat<TrDelay<300>,AlphaL<BrownNoiseFlicker<Aquamarine,Black,500>,Bump<Int<0>>>,TrDelay<400>,AlphaL<BrownNoiseFlicker<White,Black,500>,Bump<Int<0>,Int<45000>>>,TrWipe<300>>,EFFECT_RETRACTION>,
  TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<-4000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<4000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,AlphaL<Black,Scale<IsLessThan<BatteryLevel,Int<11000>>,Int<0>,Int<11000>>>>>(),

1 Like

Alternatively you could (if you are using OS6+) switch to using the wave length function, something I’ve yet to mess with.

This is The Way.

For OS6 or later, just use IgnitionTime<> or RetractionTime<>, if you set to 0 it will use the WavLen automatically while still allowing you to set a specific time via Edit Mode, Workbench (or an argument in OS7) if you want to adjust.