SteamVR

SteamVR

Scripted Item Test Range
How would I make the rusty flashlight have a custom sound?
Hi,

I'm trying to make the Rusty Flashlight Tool have a custom sound for the button, I've found the Flashlight.Button sound, I don't know if that's the same sound for the flashlight001, but I couldn't find any other sounds called flashlight. I tried changing the vsnd_files line to
"wave" = "sounds/FlashlightFNaF4.ogg"
and it didn't work.
I had added a sounds folder, and had added the sound in it.
< >
Zobrazuje se 15 z 5 komentářů
Rectus  [vývojář] 28. čvn. 2019 v 9.40 
That sounds right, except the entry needs the have the .vsnd extension. The tools will genearate the .vsnd file automatically from your sound file. I also don't think the tools support .ogg files, so you'll likely have to convert it into a .wav file first.

And yeah, the rusty flashlight uses the Flashlight.Button sound event.
Naposledy upravil Rectus; 28. čvn. 2019 v 9.40
Ok, thanks!
I love this map BTW. : )
Hmmm.... still didn't work... I had converted it to a .wav format. And it didn't convert it to a .vsnd file format, either...
Rectus  [vývojář] 28. čvn. 2019 v 10.58 
< >
Zobrazuje se 15 z 5 komentářů
Na stránku: 1530 50