SteamVR

SteamVR

SteamVR Workshop
Customize your SteamVR experience by finding new backgrounds, 3D environments, controllers and base station models.
Learn More
soontekk 1 17 Feb, 2019 @ 2:13am
Ambient sound not working
Hey all,

When adding an ambient_generic sound it plays in the properties panel fine but not in my map.
I tried the play everywhere and many different settings but it just doesn't start.
I am probably overlooking something but no clue.
Maybe using the wrong entity even.
https://cdn.pbrd.co/images/I1yVgN4.jpg

Cheers
< >
Showing 1-15 of 41 comments
Rectus 13 17 Feb, 2019 @ 1:10pm 
Yeah, the working entity for point sounds is point_soundevent, which you need to setup a soundevent script for. For ambient background sounds a soundscape is better though.
https://developer.valvesoftware.com/wiki/SteamVR/Environments/Adding_Sound
soontekk 1 17 Feb, 2019 @ 2:42pm 
Changed the entity to point_soundscape and got it to work one short time using the play on spawn tick but nothing after that.
Rectus 13 17 Feb, 2019 @ 3:01pm 
If it's a looping sound, you'll have to set up loop cues in the WAV file. It's a pretty annoying holdover from Source 1. https://developer.valvesoftware.com/wiki/Looping_a_Sound
soontekk 1 18 Feb, 2019 @ 4:18am 
I am using the built in sounds (forest bird) which loops and alternates between soundfiles it seems. Could it be that i have to script something in my map to make it work ?
soontekk 1 22 Feb, 2019 @ 3:48pm 
I have tried everything even adding cue's with wavosaur, nothing works.
Pretty frustrating.
How can adding sound be this hard...
soontekk 1 23 Feb, 2019 @ 3:01pm 
Nope, can't get it to work in any way, tried all entities. I(d be happy if i could run one loop to my map isn't that boring. I'll visit Valve HQ if i have to. :D
Rectus 13 23 Feb, 2019 @ 3:07pm 
Can you post your soundevent or soundscape script?
soontekk 1 23 Feb, 2019 @ 3:39pm 
I've been trying so ma,y types and setting i lost track a bit.
This is my current test with an ambient generic entity.
https://imgur.com/a/A6NwnWS

Rectus 13 23 Feb, 2019 @ 3:46pm 
Ambient_generic is outdated, and I don't think it works at all.
soontekk 1 23 Feb, 2019 @ 3:48pm 
Trying soundscapes now.
The tut mentions open your soundscapes script, but i have no idea where or how i should do this https://imgur.com/a/z9sAHeZ
any idea where the script should be and what it should be called ?

Last edited by soontekk; 23 Feb, 2019 @ 3:57pm
Rectus 13 23 Feb, 2019 @ 4:02pm 
It's under \SteamVR\tools\steamvr_environments\game\steamtours_addons\<addon>\scripts and you can edit it with any text editor.
soontekk 1 23 Feb, 2019 @ 4:03pm 
Ah thanks, trying it now
what should the script be called + extention ?
game_sounds_manifest.txt ?
Last edited by soontekk; 23 Feb, 2019 @ 4:06pm
Rectus 13 23 Feb, 2019 @ 4:08pm 
I don't think the manifest is required anymore. It should start with soundscapes_ and have a .txt extension. Something like soundscapes_my_mod.txt
soontekk 1 23 Feb, 2019 @ 4:09pm 
Awesome, trying it.
I have this now, building to test :o
https://imgur.com/a/z9sAHeZ
Last edited by soontekk; 23 Feb, 2019 @ 4:13pm
soontekk 1 24 Feb, 2019 @ 1:34pm 
Another few hours of trying.
Not being a coder really shows here.
https://imgur.com/a/RHVmPAl
Any help from someone who got sounds to work would really be a lifesaver here.
Cheers
< >
Showing 1-15 of 41 comments
Per page: 1530 50