freebesttutorialscs.MyForum.ro :: Installation Tutorial musical sounds on the server
freebesttutorialscs.MyForum.ro Forum Index FAQ Search Memberlist Usergroups
Profile Log in to check your private messages Log in Register freebesttutorialscs.MyForum.ro Forum Index
View next topic
View previous topic
Post new topic   Reply to topic Installation Tutorial musical sounds on the server

Author Message
klaudyu
Administrator
Administrator


Joined: 29 Aug 2009
Posts: 57

PostPosted: 29/08/2009 18:32 Reply with quote Back to top

Installation Tutorial musical sounds on the server (Wed July 16, 2008 2:03 am)
How do music on a server for Counter Strike 1.6
Sound implementation methods into server Counter Strike

Insert sound musical play can be done in several ways. One of them would be installing plugin "roundsound" if the server is running on AmxModX. This plugin introduces some sounds in the game, which I'm sure you're familiar. They are sung at the end of each round. I'm sure you have enough of them - half rock and half Arabeasca Manea, the same songs for years that I m sick one. You will learn here how to change them.

Another method would be to amend an already installed plugin in AmxModX. It is plugin "miscstats" which is very easy. You can enter as other songs and sounds than the default as long as they are incurred by the client that you use Counter Strike. Sound files that can be used are wav files.

The introduction sounds by changing plugin miscstats
Steps that have to do to introduce in-game music sounds (and not just music):

1. Search the internet or anywhere you think sees fit wav files that match your desires. They are small audio files to be "quantity" in the game. Files should be as small - preferably su 100 Kb, that for CS aputea be borne by the customer, and can be downloaded as soon as the player that connects to server.Poti try wav files used for phone ring tones. These files you copy to HLDS \ cstrike \ sound \ misc.

2. Editing plugin "miscstats.

3. Install plugin "precache. Very important! Without this plugin sounds will be heard by players. You have only to hear sounds that others will not be installed in cstrike \ sound \ misc.

The simplest method of implementing the musical sounds in Counter Strike 1.6 server is to take ready-made plugin from here and install it as is. So unzipp download it anywhere on disk then:

a.Copiezi file miscstats.amxx HLDS \ cstrike \ addons \ amxmodx \ plugins than the one that is already there;

b.Copiezi sound files from the folder into HLDS \ cstrike \ sound \ misc

c.Instalezi precache as any other plugin amxmodx plugins (amxx file must be copied to amxmodx \ plugins, then have to edit the plugin in amxmodx \ configs \ plugins.ini)

d.Copiezi text file precache.txt HLDS \ cstrike \ addons \ amxmodx \ configs
If you installed everything properly then you should hear these sounds during the game:
round-the beginning of a short musical piece Paramore
-the last remaining player from one team "live" will hear the sound "impressive"
during round-Fraguri will hear some musical piece "dinpacate" In order, however, to insert any piece of music you want (within limits that are borne by the customer CS), you need to know to be modified in the plugin miscstats . After you have downloaded and extracted miscstats.zip, open the folder where you find the file you copy miscstats.sma HLDS \ cstrike \ addons \ amxmodx \ scriptings.

SMA's open and search the line marked with (1) on page helpful (looking very carefully and patiently giving to scroll down enough, the plugin is quite large and should look carefully). Here is the sound "firstblood" which is heard in the first frag of the round. If you want to replace, you put you name a wav file that you want.

Ex: the play_sound ( "misc / firstblood") - you can do
play_sound ( "misc / maneanasoala") - replace only the wav file name.
If you replace here the sound "firstblood" will not hear, instead of hearing the sound that you put him.
Then search for the line marked with (2) on page helpful. Here replace the sound "impressive" the wav file name you want to implement it. This will be the sound that will run if the "last man" - the last player left standing.
Now looking for line marked with (3) on page helpful. Here's the sound "dinpacate" the car you can replace what you want. It will again sound to be heard in the situation of "Last Man" alternating with each other (impressive).
Your are then labeled as line (4) on page helpful. Here is the sound that is heard at the beginning of round "prepare to fight" and below it is a sound "parasites" that you can replace what sound you want - remove parasites and put "mariaciobanu" or any wav you want. The sound of "preparing" not walk!
For each added sound to edit in the text file "precache" a line like: sound \ misc \ sunet.wav

When you are finished making changes it wanted, compile your sma (if you do not know go here) and install amxx file in amxmodx \ plugins, then edit it in amxmodx \ configs \ plugins.ini.

Copy sounds wav HLDS \ cstrike \ sound \ misc - HLDS is the main directory of the server.

Attention! Do not forget the points b, c, d above!
Important! WAV files must be as small as to be heard. Vain attempt to put a whole song or something like that that will not work.

The introduction sounds by plugin roundsound
Change plugin

If you still want to use plugin roundsound, then I will show how to modify it to make the sounds you want and get rid of default sounds, which are old and tired. It's simple, do not have much to do. Wav sound plugin has 6 preset that can be replaced if you really know. The sounds are:
- The round won by CT: ctwinar2, ctwinar3, ctwinar4
- The round won by Tero: twinar, twinar2, twinar3
To replace them must be sure to:

1. Copy the new sounds wav HLDS \ cstrike \ sound \ misc
It is also the number 6 and to be called as simple. Three of them will be for three rounds and won by CT for round won by terror.

2.Descarci from this plugin and unzipp. In the main folder find the file SMA. Open it and got there a few lines to be modified. You like:

Code:

switch (rand)
(
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 (rand)
(
case 0: client_cmd (0, "spk misc/ctwinnar2)
Case 1: client_cmd (0, "spk misc/ctwinnar3)
Case 2: client_cmd (0, "spk misc/ctwinnar4)
This should change the name of wav sound files. For example: you put the round won by Tero sounds - manea1, house2 and lautareasca3. You change twinar, twinar2, twinar3 the sounds they want so that you will:
case 0: client_cmd (0, "spk misc/manea1)
Case 1: client_cmd (0, "spk misc/house2)
Case 2: client_cmd (0, "spk misc/lautareasca3)
Sounds the same with winning round by counter.

Immediately following several lines of precache:
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 ")
So here you change the default sounds with the ones you want.
This step is very important. If you do not get in here the name sounds, you will be alone will hear during the game.
SMA 3.Compilezi site and install the plugin.



No need to install another plugin for plugin precache roundsound, being included!
We reiterate: WAV files must be as small! Preferably under 100 kb, but go and something larger. Try sites used for ringtones wav phone (how many you find on the net). MP3 files are supported by these two plugins


Wed July 16, 2008 2:03 am
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro