I put the files in a map .res file and it worked, but I'll test the code they way you had it set up and see what the problem is.
Yahn -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ratman2000 Sent: Friday, February 23, 2007 2:05 AM To: [email protected] Subject: Re: [hlcoders] Downloadables Bug? VALVE? Hello Jay, yes thats the problem... Anybody there join a server with custom content, he downloaded it but cant hear the sounds... I think nobody like to join a server, download mass custom files and than have to close CS:S, remember the IP and start it again... Is there a way to fix it? I think when i download a map, what has custom ambient sounds, the sounds i can hear... but i dont know right now so i have to test it... With friendly reguards Ratman2000 ----- Original Message ----- From: "Jay Croghan" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, February 23, 2007 10:40 AM Subject: RE: [hlcoders] Downloadables Bug? VALVE? > Yahn, > > It doesn't matter how the materials or sounds are downloaded, .res or > by adding it to the "downloadables" NetworkStringTable, the CS:S > (HL2?) client still requires a restart before the content is usable. > > - Jay > > > Quoting Yahn Bernier <[EMAIL PROTECTED]>: > >> I need a little more info on this one, how are you registering the >> custom .wav (or other content) with the engine? Are you creating a >> mapname.res file or using some other API to register it? >> >> Yahn >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Ratman2000 >> Sent: Sunday, February 18, 2007 10:39 PM >> To: [email protected] >> Subject: [hlcoders] Downloadables Bug? VALVE? >> >> Hello, >> >> i have integrated in my CS:S Server Plugin an function to add Custom >> Sound Files... >> So i have added Sounds to this System and it works great but i have >> one problem... >> >> When i first time connect to the server, all content gets downloaded... >> Then when i play the sounds by using: >> >> MRecipientFilter Filter; >> >> Filter.AddPlayer( i ); >> Filter.MakeReliable(); >> >> EngineSounds->EmitSound( Filter, PlayerIndex, CHAN_AUTO, SoundFile, >> EngineSounds->0.7, >> >> EngineSounds->0, >> 0, 100, &Origin ); >> >> The sound file dont get played... >> >> When i then quit CS:S and start it again and connect to the same >> server, i dont get download content and all sounds plays fine... >> >> Who is the problem? Is it an Engine bug? Is there a workaround? >> >> Please help! >> >> With friendly reguards >> >> Ratman2000 >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

