sound.res? sound management
I have some sounds that i added to the server recently, and people told me to use sound.res so that my clients can download the sounds from the server. So I made a file called, "sound.res" and put it in right under sound folder. But for some reason, my clients still don't get to download the sounds from the server...
Here's what I have in my sound.res sound/misc/multikill.wav sound/misc/ultrakill.wav sound/misc/killingspree.wav sound/misc/monsterkill.wav sound/misc/godlike.wav sound/misc/scatman.wav I just can't find any errors.. |
Re: sound.res? sound management
.res files are called when the mapname equals the .res name..
When the map is changed to de_dust2, if de_dust2.res exists, it will make all clients that connect to the server as long as it is dust2 download all files within de_dust2.res If you want it for every map, PHP Code:
|
Re: sound.res? sound management
do you type those lines and save as what?
|
Re: sound.res? sound management
yes a res file is like a computer genreated list that tells the server what files the user has to downlaod in order to use , lets say a certain map .
|
Re: sound.res? sound management
SweatyBanana already explained to you how .res files work. You can't do what you want with them, unless you make a .res file for every single map on your server that includes those sounds, which would be inefficient. This is how you would do it with a plugin:
Code:
I believe SweatyBanana was trying to only give you a hint, so that you would do it on your own (which is a good teaching method), but I get the impression that you aren't a scripter, and that this should in fact be in another forum. |
Re: sound.res? sound management
well some people were tellng me that i could simply make sounds.res so that it can manage all the sound files in the server. The line about precache_sound you provided above, where do they go to?
|
Re: sound.res? sound management
That is the source code to a plugin to make clients download all files within the plugin_precache() function.
You need to compile the source code into a plugin. :wink: |
Re: sound.res? sound management
but where do i do this at?
in what file? I am confused.. sorry |
Re: sound.res? sound management
Either in the amxmodx/scripting/ folder of your server or http://www.amxmodx.org/webcompiler.cgi
|
Re: sound.res? sound management
those lines that avalanche gave to me, do i need to make a new file and add those lines in there?? And create my own plugin? I am pretty new to this stuff, so kinda need specific help
Also, I get an impression that you guys are suggesting me to make a whole new plugin for this.. Is there a way to do w.o making my own plugin |
| All times are GMT -4. The time now is 04:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.