Welcome, in this tutorial i'm going to tell you how to change the volume of your 'ambient_generic' based sounds, even higher than the limit (10)
I've learnt how to do this on my own, I had this problem myself... I couldn't make my sounds loud enough because the volume limit was 10.
Needed Software:
Hammer GCFScape Pakrat
So, lets get started:
-Get the custom sound(s) you want to use and place them in a folder with the name you want (I recommend the name of your map), in this path: 'C:\Program Files\Steam\steamapps*****\counter-strike source\cstrike\sound'
-Open GCFScape, Open your 'counter-strike source shared.gcf' file located in your '*steamapps' folder.
-Navigate to: 'C:\Program Files\Steam\steamapps*****\counter-strike source\cstrike\scripts' and download this file, 'game_sounds.txt'
-Now, open 'game_sounds.txt' and scroll all the way down. Take a look at this code:
-Paste this code in the .txt file and replace the ________ with the name you want to show up in hammer (give it an easy name, 'galaxy.lasers' in my case). -Then replace the ~~~~~~~ with the folder you have your sound in ('galaxy' in my case). Make sure you dont mention the 'sounds' folder there. -Now replace the ****** with the name of your sounds ('lasers' in my case)
-You may want to edit the "soundlevel" "SNDLVL_130dB" entry. But if you dont hear the sound with the volume 10 you shouldnt go lower than 100dB.
Note: Dont go over 150dB.
-How your code should look like now:
-Ok, that's how you tell hammer which file to look for when playing a sound.
Note: You will have to make a similar code entry for every sound you want to edit.
-Now launch Hammer, if your 'gamesounds.txt' is in the correct folder (*/cstrike/scripts) you should see the sound in the sound browser. -Add an 'ambientgeneric' entity, and in its properties go to 'Sound Name' and click Browse. Search your sound through the name in the code part('galaxy.lasers' in my case) and select it.
-You should be now able to hear your sound in hammer.
-For the last part of this tutorial, you have to embed your files so that other people will hear the sounds as well.
-Compile your map the normal way, and then open Pakrat, open your map in it, and click Add. -Select all the sounds you used and the 'game_sounds.txt' file, press Open. -Make sure all the files' paths show up with the 'cstrike' folder as rootfolder (that means it doesn't show up in the name)
-If the path isnt similar to the screenshot's select the related file and press Edit. Change the path name to the correct one.
-After everything is set up correctly, Go to File>Save, and overwrite your .bsp
-You're done. Your 'ambient_generic' entities are now actually audible.













