[L4D2] Custom Sound Help!
Please help! I cannot get this plugin to work.
The file downloads correctly, I can join the server and it transfers the file. But when I type the sm_haha command I do not hear the file play. When I check my sound folder it created the tchalo directory and transfered the .wav file successfully. I am able to play the .wav in a media player. Typing: 'play tchalo/haha3.wav' in the console does not work. Failed to load file... Any ideas? PHP Code:
|
Re: [L4D2] Custom Sound Help!
I think this might be a problem with L4D2 itself. In my experience L4D2 won't play any sound files that are not in the sound cache, although I might be wrong.
|
Re: [L4D2] Custom Sound Help!
Correct. Until you/any client run snd_rebuildaudiocache, you wont hear a thing.
|
Re: [L4D2] Custom Sound Help!
Interesting. I can force people to download coloured laser sights with this method, but they will have to restart the game before the vpk starts working.
Is their anyway to make the client reload his vpk files on connection? I remeber you could call a command manually to do this, but is there anyway to let the client call it automaticly? So they could have green laser sights for example, directly after joining the server. This one to be more exact. update_addon_paths - Reloads the search paths for game addons. |
Re: [L4D2] Custom Sound Help!
Wonder there have anotherway need not rebuild sounds cache
Quote:
|
Re: [L4D2] Custom Sound Help!
Yeah, even vpk.
|
Re: [L4D2] Custom Sound Help!
Quote:
|
Re: [L4D2] Custom Sound Help!
You wouldn't want to have them rebuild their audio cache because it takes a long time, much longer than them restarting their game. I too would like a way to make the sounds, as well as custom particle effects and textures, work without the client restarting their game, but I cant find a viable method for any of them.
|
Re: [L4D2] Custom Sound Help!
Where is the audiocache, anyway? If its a small file perhaps we could force upload it on them?
|
Re: [L4D2] Custom Sound Help!
Afake client play a hls
|
All times are GMT -4. The time now is 07:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.