<div>Hi,<br />There are a lot of sound plugins but I haven't found any that play sounds randomly to add a certain atmosphere in your server, in my case it was for Halloween that I created this script.<br />For copyright I will not put any sound with the plugin, but I will explain to you how to modify downloaded sounds, then it will be up to you to take your responsibilities regarding copyright, in my case I used royalty-free sound databases, but when in doubt...<br />This plugin uploads sounds automatically. It plays sounds only to players who download them, which avoids having players tell you about red lines in their Day of Defeat source console.<br /><br /><b><u>DESCRIPTION :</u></b><br /><br />Plugin play automaticaly random sound every 40 seconds for make a certain atmosphere in your server.<br /><br /><br /><b><u>INSTALLATION :</u></b><br />1. Prepare 25 sounds using these file names:<br /> son1.mp3<br /> son2.mp3<br /> son3.mp3<br /> .<br /> .<br /> .<br /> son24.mp3<br /> son25.mp3<br /> son26.mp3<br /><br />2. Upload sound files in sound/yourfolder.<br />3. Upload plugin and change map, it will create cfg/halloween_sounds/halloween_sounds.cfg<br />4. Setting your folder in halloween_sounds.cfg<br /><br />// Folder Name in folder sound<br />// -<br />// Default: "halloween_mx"<br />halloween_sounds_folder "halloween_mx"<br /><br />5. Change map, it must work.<br /><br />In halloween_sounds.cfg you can enable/desable the plugin, change the name of the sounds folder, change the time in seconds after playing a sound that another one will be played, change the volume of sounds.<br /><br /><b><u>PREPARE SOUNDS :</u></b><br /><br />Convert valid MP3 file on our DoD:S servers using Audacity, Audacity is free, open source, cross-platform software for recording and editing sounds.<br />With this software you can convert all sound files to MP3.<br /><br />1. Install Audacity installed on your computer.<br />2. Create a sound or download it.<br />3. Open sound in audacity.<br />4. On the left of the graph it should be written: Stereo, 44100Hz 32bits floating.If it is not 44100, you must select it at the bottom left in the Project rate in HZ, then in the Track menu>Resample>Validate.<br />5. Then in the menu: File>Export>Export to MP3.<br />6. A window opens and you must setting: bit rate mode-->medium, Quality -->128kbps, channel mode -->stereo, and save the file.</div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://www.sourcemo...38"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1696384436">GetSource</a> (halloween_sound.sp - 4.1 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse

Halloween Random sounds
Temat rozp. Adminek AMXX.PL, 04.10.2023 02:54
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych