SteamVR

SteamVR

Scripted Item Test Range
Nolan the Fox 28. juni 2019 kl. 9:00
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.
< >
Viser 1-5 af 5 kommentarer
Rectus  [udvikler] 28. juni 2019 kl. 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.
Sidst redigeret af Rectus; 28. juni 2019 kl. 9:40
Nolan the Fox 28. juni 2019 kl. 10:33 
Ok, thanks!
Nolan the Fox 28. juni 2019 kl. 10:34 
I love this map BTW. : )
Nolan the Fox 28. juni 2019 kl. 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  [udvikler] 28. juni 2019 kl. 10:58 
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50