SteamVR

SteamVR

SteamVR Workshop
Customize your SteamVR experience by finding new backgrounds, 3D environments, controllers and base station models.
Learn More
soontekk 1 26 Feb, 2019 @ 8:29am
Adding custom soundFX to my props & doors
Hi folks,

It has been quite the journey and i am entering the final strech of my first ever VR environment !
I managed to create a lot of movable items like a ladder, frying pan, fish, axe and more!
The problem with them is they are sounding really dull.

I would like to add at least one sound to ech of them to mimic if they are wood, metal or squeeky.

I have made (and compiled) some custom sounds which show up in the asset browser as vsnd files but i have no idea how to actively link them to an object to be played when this object is hit ot hits something else.
Anyone who can guide me with that would be awesome.
Cheers.
< >
Showing 1-5 of 5 comments
soontekk 1 27 Feb, 2019 @ 3:32am 
I have a feeling i have to create a script containing all my own gamesounds so i can reference them in for instance my door opening and closing sounds.
I have no idea what that script looks like and nothing to be found anywhere on teh interwebz.

Trying to learn something from this link https://developer.valvesoftware.com/wiki/Soundscripts left me wondering why i started this adventure in the first place...
Rectus 13 27 Feb, 2019 @ 4:22am 
That page is for Source 1. Source 2 uses Soundevents instead, and the only documentation available is on this page: https://developer.valvesoftware.com/wiki/SteamVR/Environments/Adding_Sound/Soundevents

Here is my script for the range. Most of the sounds there are for tools, so they are triggered through VScript instead of map logic though.
https://github.com/Rectus/destinations_range/blob/master/soundevents/soundevents_addon.vsndevts
Rectus 13 27 Feb, 2019 @ 4:30am 
Oh, and it doesn't seem to be possible to assign custom sounds for things like physics impacts at the moment. Thre is a list of pre-set surface properties available that include sets of sounds. You can assign them either to individual parts of collision meshes of models, or to materials.
soontekk 1 27 Feb, 2019 @ 7:42am 
Hi Rectus,
I search the wiki a lot and that is the first time i see that page, they sure know how to hide these little important things.
I'll go at it and report back. The end is near !
ps: awesome to see your script, put's things more clear for me thank you!
Last edited by soontekk; 27 Feb, 2019 @ 7:44am
soontekk 1 27 Feb, 2019 @ 8:11am 
It works !!
What a relief... thank you Rectus, you save the day once more.

Only the phys object sounds i can't get to work.
In Praxeos's concrete map his objects all have custom sounds like the crowbar and metal bed trolleys. Probably also assignable through the script. I will ask him how he did that.
Last edited by soontekk; 27 Feb, 2019 @ 9:21am
< >
Showing 1-5 of 5 comments
Per page: 1530 50