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.
< >
Visar 1-5 av 5 kommentarer
Rectus  [utvecklare] 28 jun, 2019 @ 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.
Senast ändrad av Rectus; 28 jun, 2019 @ 9:40
Nolan the Fox 28 jun, 2019 @ 10:33 
Ok, thanks!
Nolan the Fox 28 jun, 2019 @ 10:34 
I love this map BTW. : )
Nolan the Fox 28 jun, 2019 @ 10:53 
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  [utvecklare] 28 jun, 2019 @ 10:58 
< >
Visar 1-5 av 5 kommentarer
Per sida: 1530 50