Hello! I’m trying to call a secondary/quillion ignition sound from the quillion blade style itself using TrDoEffect, and while it does work, It requires me to cannibalize another effect’s sound in the soundfont. I could use blast, since it’s not used by sabers by default, but that would mean incompatibility with Fett’s Interactive Blast. Right now I have it set up to use the force effect, since I don’t really use force effects, but it’s not a very elegant solution. With os8, the detonator’s boom effect is available to use, but it seems to mute the hum.wav after playing, which means it can’t be used here. Any suggestions on how I could do this in a more “proper” way?
Historically font makers provide out.wav files with the secondary quillion ignition built in for fonts related to quillion sabers (sometimes as Extras) or you can just edit your out.wav files to include if you’re building yourself. Then you’d just use IgnitionDelay<> on the quillion blade style timed to the delay in the sound (this is already available in my library for “Secondary / Quillion Blade” styles). This is the easiest most straightforward solution, not sure you need to “re-invent the wheel”, this is been the way to do it for as long as I’ve used ProffieOS.
Yeah, I’ve done that with a couple other fonts, but it seems really inelegant. Having the quillions call the sound allows for adjusting the quillion delay in the workbench, as well as the ability to use the same soundfont directory on sabers that don’t have quillions. It also prevents the quillion sound from playing while the blades are off if you turn the saber off before the ignition sound has finished. It could also theoretically allow you to ignite and retract the quillions seperately, through Special Abilities and whatnot.
Your call, we already have a generic sound effect that can be used for anything, tr.wav (EFFECT_TRANSITION_SOUND). That would be the way to go without interfering with existing effects, you just need to keep track of the sound number(s) you’re using and if others are used elsewhere in the style code.
Igniting and retracting them separately would actually be something altogether different. You’d need to set up EFFECT_SECONDARY_IGNITION and EFFECT_SECONDARY_RETRACTION or go after the Dual Blade set up BC (NoSloppy) was developing for OS8.
I mean, you could just have a wipe to black in the style, along with playing the quillion retraction sound, right? It wouldn’t technically be off, but it would look the part. But aside from that, I’ll give the transition sound a go then. Thanks!