Smoothswing on Blasters

Is it possible to enable smoothswing on the blaster prop? I made a blaster running Golden Harvest V3 a couple years ago, and I have smoothswing sounds that are supposed to be gun rattling noises, and I’m hoping to use those on my Proffie blaster I just made.

blaster.h has code to make swings do nothing:

If you comment out lines 365, 366 & 367 then smoothswing should work.

2 Likes

I’ll give it a shot, thanks!

I would suggest just line 366. If you kill the function something calling for it is going to fail.

Edit* never mind me. I see now it’s an override

I checked, nothing is calling for it in the prop and if something else is calling for it anyways, DoMotion from PropBase will run because it is not “overwritten”.

I commented those lines out and flashed but I’m not hearing anything, do the swing pairs need to be renamed to anything other than swingh and swingl?

It should be the same as with a saber. Do your sound files work on a saber ?

Are they “formatted” for ProffieOS (44.1 kHz 16‑bit mono WAV) ? Maybe check with: https://www.soundfontnamingconverter.com/ (click on convert audio only)

They should be the right format, Golden Harvest uses the same format with different naming. All other blaster sounds work and were renamed GH sounds. I will see if they work in my saber, standby.

@profezzorn One thing that I am not sure about is: do we need a swng.wav to work with swingh.wav & swingl.wav ? I checked a few of my fonts they all have all 3 or just swng but I didn’t find any with just swingh & swingl but no swng.

@DredgenRift maybe try with a very short and silent swng.wav file (or any other swng file) & see if that helps.

The only other thing I can think of is that you are not uploading with the modified blaster.h ?

It seems like a format issue, i just tried putting the same sounds in a proffie saber and they arent working. I have swngs with them, and even they arent playing when paired with the swingh and swingl, either on the saber or the blaster.

I checked the format, its correct. Again the sounds neither work in the saber or blaster, and there are also swng.wav files and a hum present alongside them. I’m at a loss as to why they wont work.

Do you have smoothsw.ini and config.ini files in your font ?
If you convert a font from GHV3 to Proffie with the link I posted above, the sound naming converter will create generic ones for you.

If that doesn’t work, then I am out of ideas.

It was the lack of smoothswing.ini that was making it not work. I just put one in and it started working! Also to confirm your question, it worked without swng.wav as well. It didn’t work however without hum.wav while smoothswing.ini is present. I appreciate your help!

1 Like

Glad I could help, and thanks for the feedback.

Also, no hum.wav will produce an “error_in_font_directory” error, in my experience. If you don’t want to hear a hum sound, make a silent one.

1 Like

I’d have to check that my code handles blaster sounds, but I’m pretty sure if you had just run the GH3 font through soundfontnamingconverter.com, you’d have properly formatted, properly named files, and missing .ini files added for you.

Yup it probably would have. This is my first time hearing about the converter, and I didn’t bother to use the link in the previous reply because i was certain my sounds were formatted right. Defo could have saved myself a little trouble, but everything is working very nicely now thanks to the help i got in this thread