custom sound
Post Reply
Quote
Re: custom sound
Posted by tvvladimir on Wed May 24th at 9:31pm 2006


I got ambient_generic and it is activated when someone presses button: but i would liek to put my own custom sound instead of it - i didn't find any simple explanations of how to do it so i'm asking for help <img src=" SRC="images/smiles/icon_smile.gif">.

Ive also seen atht not all wavs and mp3 pass good enough for sounds -any issue on that?





Quote
Re: custom sound
Posted by Orpheus on Wed May 24th at 9:42pm 2006


A possible solution.

If so, you will be the first to my knowledge who has actually used the tutorial.

Good luck.





The best things in life, aren't things.



Quote
Re: custom sound
Posted by tvvladimir on Thu May 25th at 7:21am 2006


ok so lets say i have a ready sound like the 4 types specified

where do i put my sound files in which folders for hl2 deathmatch?

do i have to zip them in these folders (that is a rumor around)?

how do i run these sounds?

how do i make my friend be able to download custom sounds automatically when he loads my map? ive heard about some client and that it was disabled?! huh? please help <img src=" SRC="images/smiles/icon_biggrin.gif">

Message submitted 19 minutes after original post:

found this: http://www.snarkpit.net/editing.php?page=tutorials&id=136&highlight=sound




Quote
Re: custom sound
Posted by Orpheus on Thu May 25th at 10:12am 2006


I cannot answer any of these questions save one. To my knowledge, custom sounds do not transfer over a server. You must make the file available prior to playing.

At least, thats my take on it.

You might try creating a folder named "TVVL" and putting your sound inside it in another folder named "SOUND"

then when you set up your custom sound in hammer, point the properties toward that folder.

/2cents

[EDIT] perhaps the red text at the bottom may lead you to the solution?





The best things in life, aren't things.



Quote
Re: custom sound
Posted by tvvladimir on Thu May 25th at 11:29am 2006


oh thanks

made the sounds work: for anyone out there who has same pros as me: u don't give source of file: eg. C:\profiles\valse and etc just give name: wave.wav its enough

but ah client download is what is now so interesting (coz making files available manually is annoying )

thanks man for help





Quote
Re: custom sound
Posted by Orpheus on Sat May 27th at 12:16am 2006


Can I assume that my help, wasn't the answer?



The best things in life, aren't things.



Quote
Re: custom sound
Posted by fishy on Sat May 27th at 12:28am 2006


? quoting Orpheus
Can I assume that my help, wasn't the answer?

i'd normally give you the benefit of the doubt first




i eat paint



Quote
Re: custom sound
Posted by Orpheus on Sat May 27th at 12:38am 2006


I am a bit sleepy Fisheye. I realize that my post sounded odd, but I wanted to clear this thread. If its not a correct answer, but the topic is resolved I wanna post it such.

Database search and all that.





The best things in life, aren't things.



Quote
Re: custom sound
Posted by fishy on Sat May 27th at 1:12am 2006


old people are always sleepy.......

.......but as far as the database goes, i don't see this thread ever really helping anyone. anyone actually using the search feature will probably bump into the two tuts that this thread has links to, before finding their way here.




i eat paint



Quote
Re: custom sound
Posted by Orpheus on Sat May 27th at 1:26am 2006


True, I know that you are right but.. Since I was a supporter of the search option it would not look right if I didn't use my nominal admin powers to help keep the system up.

I feel kinda guilty not being able to help much around here. <img src=" SRC="images/smiles/sad.gif">





The best things in life, aren't things.



Quote
Re: custom sound
Posted by tvvladimir on Sat May 27th at 8:26pm 2006


basically i found the answer!

one is here: http://developer.valvesoftware.com/wiki/Res (from here i managed to allow files download and with thr irght folders names in res file they launched in game for other users BUT half people managed to load sounds but not thr rest!!! strange. Here i post the end of the file with sounds: tell me if i did it wrong:

"resources"
{
"bin/server.dll" "file"
"soundbangbang3.mp3" "file"
"soundbass3.mp3" "file"
"soundhighpiano3.mp3" "file"
"soundmiddlepiano3.mp3" "file"
"soundmuahaha_2.lst" "file"
}

as for the these files they r in folders:

1.C:Program FilesValveSteamSteamAppsnamesource dedicated serverhl2mpsound

2.C:Program FilesValveSteamSteamAppsnamehalf-life 2 deathmatchhl2mpsound

(So why do soem sounds load for half people and not the other!!!

I have also found this but didn't have time to study it:

http://developer.valvesoftware.com/wiki/Bspzip

So if anyone could add something else it would be coool

So far as I'm here i'd love to ask: anyone knows non-violent servers in HL2? e.g weapons not allowed and there r some interactive stuff? coz i wanna make such place <img src=" SRC="images/smiles/icon_biggrin.gif">





Quote
Re: custom sound
Posted by WhiZZlE on Mon May 29th at 10:07am 2006


Hello All,

I am new to this and I think I know which folder to go into to edit sounds... and that is the server.dll in the bin folder. But how the h311 do I read it. Some1 please help it is just all in code. I got a prog called reshack because it said you could read and edit dll files in there, but that dont work either. Please help.

Thank you.





Quote
Re: custom sound
Posted by tvvladimir on Tue May 30th at 9:34pm 2006


hmmm u find anything let me know: i will get on this soon but for now have to take some rest.

hmmm one more question: can Hammer be obtained for free and run without Hl2 package? or is there any source which is similiar where i can build smt in 3d and test it then like launching it and running aorund : also containing entities and inputs and outputs?






Post Reply