If you replace it, the “firstblood” sound would not hear anymore, in stead you will hear the sound that you put there.
Then, search for the line marked with
(2) in the
help page. Here you replace the “impressive” sound with the name of the wav file that you want to add. This will be the sound that will be heard in case of “ last man” - the last player standing.
Now, search for the line marked with
(3) in the
help page. Here you have the sound “dinpacate” that you can replace with whatever sound you want. This will be again a sound heard in the “last man” situation, a sound that will alternate with the other (impressive).
Then, search for the line marked with
(4) in the
help page. Here you have the sound that is heard at the beginning of the round “prepare to fight”, and under it you have a “parazitii” sound that you can replace with whatever sound you want - erase “parazitii” and write “mariaciobanu” or whatever wav you want. Do not replace the “prepare” sound.
For every added sound you should edit in the “precache” text file a line like this: sound\misc\sunet.wav.
When you finished done all the adding that you wanted, compile the sma (if you do not know, learn here how) and install the amxx file in the amxmodx\plugins, then edit it in amxmodx\configs\plugins.ini.
Copy the wav sounds in HLDS\cstrike\sound\misc - where HLDS is the main directory of the server.
Attention!!!!
Do not forget the b,c,d points up here!!
Important!!! The wav files should be smaller as possible to be heard. It is useless to add a whole track because it will not work.
Adding sound with the roundsound plug-in
Modifying the plug-in
If you want to use the roundsound plug-in, I will show you how it can be modified for you to be able to add whatever sound you want, and to avoid using the default sounds, that are old and boring. It is very simple, you do not have big deal to do. The plug-in has 6 pre-established wav sounds that can be replaced if you want. The sounds are:
-for the rounds won by ct: ctwinar2, ctwinar3, ctwinar4
-for the rounds won by tero: twinar, twinar2, twinar3
To replace them, you have to be careful to:
1.Copy the new wav sounds in HLDS\cstrike\sound\misc
They should be 6 in number and named as simple as it is possible. Three of them will be for the rounds won by ct, and the other three for those won by tero.
2.Download here the plug-in, and unzipp it.
In the main folder you will find the sma file. Open it and there you have some lines that should be modified like this:
switch(line)
{
case 0: client_cmd(0,"spk misc/twinnar")
case 1: client_cmd(0,"spk misc/twinnar2")
case 2: client_cmd(0,"spk misc/twinnar3")
and
switch(line)
{
case 0: client_cmd(0,"spk misc/ctwinnar2")
case 1: client_cmd(0,"spk misc/ctwinnar3")
case 2: client_cmd(0,"spk misc/ctwinnar4")
Here, you have to modify the names of the wav file. For example, for the rounds won by tero you want to put the sounds -manea1, house2 and lautareasca 3. You will change twinar, twinar2, and twinar3 with the sounds that you want, so you will have:
case 0: client_cmd(0,"spk misc/manea1")
case 1: client_cmd(0,"spk misc/house2")
case 2: client_cmd(0,"spk misc/lautareasca3")
The same with the sound corresponding to winning the round by the counters.
Down you will have some precache lines:
public plugin_precache()
{
precache_sound("misc/ctwinnar2.wav")
precache_sound("misc/ctwinnar3.wav")
precache_sound("misc/ctwinnar4.wav")
precache_sound("misc/twinnar.wav")
precache_sound("misc/twinnar2.wav")
precache_sound("misc/twinnar3.wav")
The same, you will change here the pre-established sounds with the ones you want. This step is very important. If you do not write here the names of the wav files, you will be the only one that hears them during the game.
3.Compile the sma and install the plug-in.
You won’t have to install another precache plug-in for the roundsound plug-in, this being included!!!I remind you: the wav files should be as small as possible!!!! It is advisable that they are under 100Kb, but it can be a little larger as well. Try the wav files used as phone ring tones (you will find thousands on the internet). The mp3 files are not supported by these two plug-ins.
Download
here some wav files that can be used.
The roundsound plug-in (that can be downloaded here) can be used as it is, without any other modification.