SteamVR

SteamVR

SteamVR Workshop
Customize your SteamVR experience by finding new backgrounds, 3D environments, controllers and base station models.
Learn More
crush3000 1 12 Apr, 2020 @ 11:49am
For Anybody Out There Trying to Add SoundEvents to Their Map
You're probably following this tutorial: https://developer.valvesoftware.com/wiki/SteamVR/Environments/Adding_Sound/Soundevents

Here's a couple things I had trouble with that aren't in it:

-The sounds directory isn't in your addon's directory structure by default; You have to add it.

-Sounds will not play in the asset browser if the headset is in standby mode, so if it's just sitting on your desk and the vr window is black you can't verify that your sound works.

-The .vsndevts file does not properly compile until the engine loads up for some reason. So if you've done everything right and are still not seeing the sound asset appearing in hammer try building and loading the map.

Hope this prevents hours of frustration for someone.
< >
Showing 1-2 of 2 comments
Rectus 13 12 Apr, 2020 @ 1:03pm 
Good points, I didn't know about the last one. I added them to the wiki.
DocSavage 2 25 Apr, 2020 @ 7:43am 
Last point is specified in the tutorial
< >
Showing 1-2 of 2 comments
Per page: 1530 50