Two opposing blades within a single blade

Hey All,

I want a blade style where it’ll appear like there are two complete blade styles coming at each other on my overall Blade, meeting in the middle with some black space in between, demarking them as two “blades”. I want to simulate a Jedi and Sith coming together to fight UPON my overall Blade. I don’t expect anything fancy like swings or sparks at the “tips” of each “blade” but I welcome the creativity of others, too.

In this blade style, the following will happen:

  1. Upon ignition, there would be no lights except when clashing.
  2. At a time of my choosing, I’ll trigger a change by the “Force” trigger.
  3. Upon “Force”, the blade changes to look like two sabers are igniting toward each other; one from the hilt, the other from the tip. I want both to be sparktip ignitions and fluctuate like an audioflicker/rotoscope. One “blade” will be blue, the other red.
  4. Upon another Force trigger (or elapsed time), the overall blade will revert to the original configuration of black with clash only (item #1 above).

Things to note:

  1. There is no speaker with this build, and I mentioned audioflicker above, but a suggestion of a more suitable style is welcome. My style below uses BrownNoise, but I’m open to better suggestions.
  2. I want no “reactive” anything. Nothing should react to or depend on blade orientation, swing speed, etc.
  3. Memory size is not an issue. With the current build, I’m using ~78% of the memory so there’s a lot to spare.
  4. I already use sub-blades in this build and this Style is one of many, so I want a style that does NOT require the use of sub-blades to do what I describe.
  5. I’m using my own Prop file (two button configuration), so if what you come up with requires a certain Prop, I MIGHT be able to go with that, but I’d prefer one that’s not Prop-specific.
  6. I will not be using “edit mode” or other tools like it to make changes on the fly. Changes via uploading a new Config will be suitable for me.

I have a feeling that once I see some suggestions, I’ll do a few face-palms, but my brain isn’t braining at the moment to make the connections for me. Additionally, I can envision Fett saying “just use this…” and another face-palm will ensue. If they get me what I need, some face-palms are worth it for me.

Here is my current Style for reference:

StylePtr<Layers<Mix<Trigger<EFFECT_FORCE,Int<500>,Int<5000>,Int<500>>,Black,Mix<SmoothStep<Int<16384>,Int<10000>>,Layers<Blue,AlphaL<Black,ChangeSlowly<BrownNoiseF<Int<50>>,Int<500000>>>>,Black,Layers<Red,AlphaL<Black,ChangeSlowly<BrownNoiseF<Int<50>>,Int<500000>>>>>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<SteelBlue,Bump<RandomF,Int<10000>>>,TrFadeX<Int<500>>>,EFFECT_CLASH>,InOutTrL<TrFade<100>,TrFade<100>>>>()

This style “does” the red/blue thing upon Force (fades in), and maintains it for 5 seconds (5000ms) then reverts to the clash-only. If it needs to be a TIMED thing to work, like in my style, I can deal with that, but I’d rather it be a toggle-on/toggle-off configuration.

Thank you to the Community for the help.

Regards,
Mike

Blade Builder in my library, just build a Split Blade or Mirror Blade and choose your two options. Just tight the Blur to 0.

If you really want a blank space in between instead of a hard edge just add

AlphaL<Black,LinearSectionF<Int<16384>,Int<2000>>> 

as a layer over the Base layer.

https://www.fett263.com/fett263-proffieOS7-style-library.html#BladeBuilder

Thanks for the feedback Fett. The style I get when using what you suggested shows the red and blue blades, but the spark moves only hilt-to-tip. I want there to be two sparks, one moving from hilt-to-center and a second moving from tip-to-center, both running at the same time/speed then terminating/disappearing at the center.

Additionally, I don’t understand what is meant by " just add [code] as a layer over the Base layer." The code you provide is a complete layer in itself to my understanding, so where in the existing style code would your code fit such that it’s “over the base layer”?

The code that I would get from your site contains the ignition, but would that be overridden by the ignition that I already have in the style I pasted above? The code for the “opposing blades” will fit inside of the existing style pasted above replacing this section:

Mix<SmoothStep<Int<16384>,Int<10000>>,Layers<Blue,AlphaL<Black,ChangeSlowly<BrownNoiseF<Int<50>>,Int<500000>>>>,Black,Layers<Red,AlphaL<Black,ChangeSlowly<BrownNoiseF<Int<50>>,Int<500000>>>>>

I’m not sure I know how to modify the output from your site to make that work properly.

Again, I thank you for your help and guidance.

I have to do an update to the library for this, give me a couple of days. I’ll see if I can throw the “eye” modification in at the same time to make it easier.

Perhaps using sub blades to split the 1 place in 2. Not sure if you can reverse the pixel order on one of the blades configs so you get separate ignition effects etc from each end then

Good idea. Only tough spot (depending on desired result) would be any sort of merge/meld/fade in the middle.

BladeConfig blades{
    { 0,
        SubBlade(0, 65, WS281XBladePtr<132, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3>>()),
        SubBladeReverse(66, 131, nullptr),
        CONFIGARRAY(presets)
    }
};

or something like that. But anyways SubBlade and SubBladeReverse would do the trick.

How about this

StylePtr<Layers<
  Black,
  ColorSelect<EffectIncrementF<EFFECT_FORCE,Int<2>>,TrSelect<EffectIncrementF<EFFECT_FORCE,Int<2>>,TrConcat<TrCenterWipe<500>,Black,TrInstant>,TrDelay<500>>,Black,Mix<SmoothStep<Int<16384>,Int<10000>>,Layers<
    Blue,
    AlphaL<Black,ChangeSlowly<BrownNoiseF<Int<50>>,Int<500000>>>>,Black,Layers<
    Red,
    AlphaL<Black,ChangeSlowly<BrownNoiseF<Int<50>>,Int<500000>>>>>>,
  TransitionEffectL<TrSelect<EffectIncrementF<EFFECT_FORCE,Int<2>>,TrInstant,TrConcat<TrCenterWipeInSpark<White,500>,Mix<SmoothStep<Int<16384>,Int<10000>>,Layers<
    Blue,
    AlphaL<Black,ChangeSlowly<BrownNoiseF<Int<50>>,Int<500000>>>>,Black,Layers<
    Red,
    AlphaL<Black,ChangeSlowly<BrownNoiseF<Int<50>>,Int<500000>>>>>,TrInstant>>,EFFECT_FORCE>,
  LocalizedClashL<White,150>,
  InOutTrL<TrInstant,TrInstant>>>()

See it here:

It’s set up on a toggle with force effect.
Drawback is it’ll come back on in the same state you left it unless changing presets to it.
So as long as you turn them “off” with force before retraction, it works :person_shrugging:

It would be much simpler to put it on elapsing time instead, plus then it’ll always start in black.

OK, just pushed an update to both the Public and Early Access Library (there’s actually a ton of new options) but for your request, you’ll want the following:

Note: you’ll need to refresh the library for the updates.

In Blade Builder, select one of the new “Black Hole Split Blade” or “Black Hole Mirror Blade” options.

For Ignition Effect (or Special Ability Ignitions (5 ~ 8) select one of the new “SparkTip Center In” options

There are also new “SparkTip Center In/Out” options for Retraction Effect which you’ll probably want.

Now this was a fairly large update so if anything doesn’t work or you get errors use the “Questions or Issues” link at the top of the library and list the options you were choosing so I can take a deeper look.

1 Like

Thank you all for these suggestions! I really appreciate the quick responses.

Fett, I didn’t encounter any errors in the small amount of testing that I did on your updates. It wasn’t comprehensive, but I didn’t run into any issues. Thanks again for making such a big update so quick.

You’re welcome, I had several updates in progress already, so I threw these in as they were primarily modifications to existing effects and transitions I had in the backlog for OS7. Enjoy!