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.
< >
Showing 1-5 of 5 comments
Rectus  [developer] Jun 28, 2019 @ 9:40am 
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.
Last edited by Rectus; Jun 28, 2019 @ 9:40am
Nolan the Fox Jun 28, 2019 @ 10:33am 
Ok, thanks!
Nolan the Fox Jun 28, 2019 @ 10:34am 
I love this map BTW. : )
Nolan the Fox Jun 28, 2019 @ 10:53am 
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  [developer] Jun 28, 2019 @ 10:58am 
< >
Showing 1-5 of 5 comments
Per page: 1530 50