Style Editor Beta updated for ProffieOS 7.x

Ok, I think I might have added all the 7.x features to the Style Editor.

I put the updated style editor on the beta url here:

https://fredrik.hubbe.net/lightsaber/style_editor_beta.html

In addition, this style style editor keeps comments and has a bunch of minor bugfixes. Please try it and report any problems you find here.

3 Likes

Delay for Trigger<> PR #47 is still pending.
a few others too, not sure you want them.

A few pieces missing, when you get a chance:

TrConcat<> update - no COLOR needed
TransitionPulseL<>
LockupTrL<> update - CONDITION added (affects Responsive Effects as well)

Ok, TrConcat, TransitionPluseL and LockupTrl CONDITION has been added, along with a few bugfixes.

I’ve inadvertently ended up with a speeder and a blaster.

    <br>
      <div id=TABS>
        <div id=TABLINKS class=tab></div>
        <div id=TABBODIES class=tabcontainer></div>
      </div>


    </td>
    <td class="page-right">
      <div id="structured-view">
        <b>Structured view, click to edit</b>
        <div id=pp></div>
      </div>
    </td>
    </tr>
  </table>
  </body>
</html>

2 Likes

@profezzorn I might have found a glitch. When clicking on a blue highlighted bladestyle within a post the result from the Style Editor page comes up as “File exists, but access forbidden by user” Device is a 2023 Dell Optiflex 3000 fully updated and running Google’s Chrome browser. All cookies etc were cleared and it persists. I also see it happen w both MacBooks whether it’s Safari or Chrome.

A quick example would be WIPs: Modding various Fett263 bladestyles - #40 by Revo but it still does this with other posted bladestyles.

*Just copied the code and instead cut and pasted to the Style Editor page and hit submit and power and it works fine. Maybe something to do with how The Crucible is opening the new page(s)?

UPDATE: Works now. Thx for fixing it. :+1:

Didn’t change anything; you’re welcome :slight_smile:

1 Like

@profezzorn

When you get back and there’s time can we explore the idea of a DarkMode for the StyleEditor?

I know I’d appreciate the option as everything else I run is DarkMode.

Pretty sure @NoSloppy is already doing that. :slight_smile:

Following the instruction to post style editor beta issues here, so I apologize if this is a necropost.

I used Fett’s public OS7 library and copied the code for Smoke Blade into the editor. (My intent is to recreate a style made from the OS 5.9 smoke blade that is OS7 friendly). I made changes to the colors, copied from the OS7 Style Editor Beta, and pasted in my config file which I edit in Sublime Text.

It created an error so I went back, pasted smoke blade again from Fett’s library, and only changed the first color from Blue to Magenta. This reproduced the error.

It looks like the first snippet of the code gets moved before Fett’s notation. Here’s the output from the style editor after the single color edit:

StylePtr</* copyright Fett263 SmokeBlade (Primary Blade) OS7 Style
https://fett263.com/fett263-proffieOS7-style-library.html#SmokeBlade
OS7.12 v1.017-p
Single Style
Base Style: Smoke Blade

Base Color: BaseColorArg (0)

--Effects Included--
Ignition Effect: Standard Ignition [Color: IgnitionColorArg]
Retraction Effect: Standard Retraction [Color: RetractionColorArg]
Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb [Color: LockupColorArg]
LightningBlock Effect: Responsive Lightning Block [Color: LBColorArg]
Drag Effect: Intensity Sparking Drag [Color: DragColorArg]
Melt Effect: Intensity Melt [Color: StabColorArg]
Blast Effect: Blast Wave (Random) [Color: BlastColorArg]
Clash Effect: Real Clash V1 [Color: ClashColorArg]
 */
Layers<
  Layers<
    StripesX<Sin<Int<12>,Int<3000>,Int<7000>>,Scale<SwingSpeed<100>,Int<75>,Int<125>>,StripesX<Sin<Int<10>,Int<1000>,Int<3000>>,Scale<SwingSpeed<100>,Int<75>,Int<100>>,Pulsing<RgbArg<BASE_COLOR_ARG,Magenta>,Mix<Int<2570>,Black,RgbArg<BASE_COLOR_ARG,Blue>>,1200>,Mix<SwingSpeed<200>,Mix<Int<16000>,Black,RgbArg<BASE_COLOR_ARG,Blue>>,Black>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Blue>>,Pulsing<Mix<Int<6425>,Black,RgbArg<BASE_COLOR_ARG,Blue>>,StripesX<Sin<Int<10>,Int<2000>,Int<3000>>,Sin<Int<10>,Int<75>,Int<100>>,RgbArg<BASE_COLOR_ARG,Blue>,Mix<Int<12000>,Black,RgbArg<BASE_COLOR_ARG,Blue>>>,2000>,Pulsing<Mix<Int<16448>,Black,RgbArg<BASE_COLOR_ARG,Blue>>,Mix<Int<642>,Black,RgbArg<BASE_COLOR_ARG,Blue>>,3000>>,
    AlphaL<StaticFire<RgbArg<BASE_COLOR_ARG,Blue>,Mix<Int<256>,Black,RgbArg<BASE_COLOR_ARG,Blue>>,0,1,10,2000,2>,Int<10000>>>,
  TransitionEffectL<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>>>,EFFECT_BLAST>,
  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>>,
  LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,White>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,White>>,RgbArg<LOCKUP_COLOR_ARG,White>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,White>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,White>,Mix<Int<10280>,Black,RgbArg<LOCKUP_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>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrJoin<TrDelay<50>,TrInstant>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,RgbArg<LOCKUP_COLOR_ARG,White>,AlphaL<RgbArg<LOCKUP_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<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,White>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
  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>>>,
  LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,White>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,White>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
  LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,DarkOrange>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,DarkOrange>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,DarkOrange>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,DarkOrange>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,DarkOrange>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,DarkOrange>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,DarkOrange>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,
  InOutTrL<TrWipeX<BendTimePowInvX<IgnitionTime<>,Mult<IntArg<IGNITION_OPTION2_ARG,10992>,Int<98304>>>>,TrWipeInX<BendTimePowInvX<RetractionTime<>,Mult<IntArg<RETRACTION_OPTION2_ARG,10992>,Int<98304>>>>>>>()

Thanks for looking.

EDIT: This is visible in the text window of the editor itself and occurs immediately after clicking “copy”

This should still work though.

Yeah, it’s superficial. All good interms of functionality.

Comments were not even supported before, and getting them to this point was tricky.
You might just need to find a good balance for yourself of keeping what comments you need embedded in the style, and keeping some of it in an external editor and just marrying them back to be the final version in the config.

1 Like

It’s fine. I’ll just copy into the text editor from the library and move what I need into the style editor. Clearly this is a known issue that’s low priority for good reason :grinning: