Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[TF2] Killstreak Announce


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 489
  • Lokalizacja:AMXX.PL
Offline

Napisano 22.05.2014 14:58

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b>What does this plugin do?</b><br />This plugin plays a specific sound each time a player is both killed and the attacker's killstreak number hits a known number.<br /><br /><b>Features:</b><br /><ol style="list-style-type: decimal"><li>Simple configuration and installation with dynamic arrays there are no hard limits to how many killstreak keys you can have.</li>
<li>Volume adjustment in config.</li>
<li>Files are automatically added to the FastDL download table.</li>
<li>The ability to write exclusive killstreak sounds; by Steam ID or admin flag.</li>
<li>Pre-written config file with sounds. Works out of the box to get you started.</li>
</ol><b>Change Log:</b><br />Version 1.0 -<i> Initial Release</i><br /><br /> <b>Installation:</b><br /><ol style="list-style-type: decimal"><li> <i>Click </i><u><b>Get Plugin</b></u><i> below and download the .smx file.</i></li>
<li><i>Move <b>killstreak_announce.sp</b> to your </i><b>sourcemod/plugins</b> <i>folder.</i></li>
<li><i>Move <b>killstreak_announce.cfg</b> to your </i><b>sourcemod/configs</b> <i>folder.</i></li>
<li><i>Extract <b>sounds.zip</b> to your fastdownload server's <b>../tf</b> directory. The file structure should look like <b>&lt;your site&gt;/tf/sound/killstreak_announce/&lt;files&gt;</b>.</i></li>
</ol><b>How to create your configuration:</b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;">The default configuration looks like this:<br />&quot;killstreak_sounds&quot;<br />{<br /> &quot;5&quot; <i><font color="Gray"> <b>&lt;--- The killstreak number required to play the sound in this block. This does not have to be in multiples of 5's.</b></font></i><br /> {<br /> &quot;sound&quot; &quot;killstreak_announce/bob_saget.wav&quot; <i> <font color="Gray"><b>&lt;--- REQUIRED: The sound to play, relative to the sound folder. Do not put sound/ at the beginning of this!</b></font></i><br /> &quot;volume&quot; &quot;3.8&quot;<font color="Gray"><i> <b>&lt;--- OPTIONAL: Volume to play the sound at; 1.0 = Normal Volume.</b></i></font><br /> &quot;restrict&quot; &quot;STEAM_0:1:38235385;STEAM_0:0:63770493;b&quot;<i><font color="Gray"> <b>&lt;--- OPTIONAL: Restrict the sound to only play for people by this Steam ID or admin flag. Delimiter is a semi-colon.</b></font></i><br /> }<br /> <font color="Gray"><i><b>You do NOT have to keep specifying a key/value for every 5 killstreak points. This plugin WILL default to loading the last sound for every 5 killstreak kills after your last key/value.</b><br /><b> For example; if you ran out of sounds to play up to killstreak level 35 you need not do anything else. This plugin will play that same sound at 40... 45... 50... and so on... No additional config needed.</b></i></font><br />}<br /></div>
</div>
</div></div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1400767147">sounds.zip</a> (1.24 MB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/cfg.gif" alt="File Type: cfg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1400767147">killstreak_announce.cfg</a> (279 Bytes)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...?file_id=133733"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1400767959">Get Source</a> (killstreak_announce.sp - 7.0 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych