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

[CS:GO] Model Sounds + Team Sounds V1.0


  • 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 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 19.01.2014 01:37

<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><font color="red"><font size="6">Model Sounds</font></font></div><br /><b><font size="5">What is it?</font></b><br />With this plugin you can put sounds up to 6 models. <br /><br /><b>For example:</b><br />In our MG Server we have a homer skin.<br />Search for a funny quote as MP3: <a href="http://www.jahozafat...hows/homer.html" target="_blank">http://www.jahozafat...mer.html</a><br />Put the model path and the sound path in the generated CFG and enable it for a model.<br /><br />Every player with an homer skin will make sound. And yes it comes from the player so not everyone can hear it :) Like real talking!<br /><br /><b>You can setup the duration as example:</b><br />Audiofile of 1sec in a loop (if you want it for a mod) = modelsnd_xx_duration 1.0<br />You want to play the audiofile every 100 seconds? = modelsnd_xx_duration 100.0<br /><br />This plugin is compatible with all Skin Choosers or Stores.<br /><br /><u>To use more sounds on 1 model, put then a model 2 times and set different times.</u><br />Model 1 hello.mp3 = Duration every 100 seconds<br />Model 1 imfine.mp3 = Duration every 150 seconds<br />With this method, you can play more sounds on 1 model on different times.<br /><br />I think it works with css or tf2, but i'm not sure. Someone can confirm this?<br /><br /><b><font size="4">Options:</font></b><br />There are a lot cvars and options and will be generated in a cfg:<br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">// Model Sound Enable or Disable<br />&quot;modelsnd_m1&quot;, &quot;0&quot;, &quot;Enable Model 1 Sounds (Default Disabled)&quot;<br />&quot;modelsnd_m2&quot;, &quot;0&quot;, &quot;Enable Model 2 Sounds (Default Disabled)&quot;<br />&quot;modelsnd_m3&quot;, &quot;0&quot;, &quot;Enable Model 3 Sounds (Default Disabled)&quot;<br />&quot;modelsnd_m4&quot;, &quot;0&quot;, &quot;Enable Model 4 Sounds (Default Disabled)&quot;<br />&quot;modelsnd_m5&quot;, &quot;0&quot;, &quot;Enable Model 5 Sounds (Default Disabled)&quot;<br />&quot;modelsnd_m6&quot;, &quot;0&quot;, &quot;Enable Model 6 Sounds (Default Disabled)&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />// Team Sound Enable or Disable<br />&quot;modelsnd_t&quot;, &quot;0&quot;, &quot;Enable Team Sound for T&quot;<br />&quot;modelsnd_ct&quot;, &quot;0&quot;, &quot;Enable Team Sound for CT&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />// Duration Model Sound<br />&quot;modelsnd_m1_duration&quot;, &quot;50.0&quot;, &quot;Sound/Timer Duration Model 1&quot;<br />&quot;modelsnd_m2_duration&quot;, &quot;50.0&quot;, &quot;Sound/Timer Duration Model 2&quot;<br />&quot;modelsnd_m3_duration&quot;, &quot;50.0&quot;, &quot;Sound/Timer Duration Model 3&quot;<br />&quot;modelsnd_m4_duration&quot;, &quot;50.0&quot;, &quot;Sound/Timer Duration Model 4&quot;<br />&quot;modelsnd_m5_duration&quot;, &quot;50.0&quot;, &quot;Sound/Timer Duration Model 5&quot;<br />&quot;modelsnd_m6_duration&quot;, &quot;50.0&quot;, &quot;Sound/Timer Duration Model 6&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />// Team Duration<br />&quot;modelsnd_T_duration&quot;, &quot;50.0&quot;, &quot;Sound/Timer Duration T&quot;<br />&quot;modelsnd_CT_duration&quot;, &quot;50.0&quot;, &quot;Sound/Timer Duration CT&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />// Model Paths<br />&quot;modelsnd_m1_path&quot;, &quot;models/player/xxxx/model.mdl&quot;, &quot;Model 1 Path&quot;<br />&quot;modelsnd_m2_path&quot;, &quot;models/player/xxxx/model.mdl&quot;, &quot;Model 2 Path&quot;<br />&quot;modelsnd_m3_path&quot;, &quot;models/player/xxxx/model.mdl&quot;, &quot;Model 3 Path&quot;<br />&quot;modelsnd_m4_path&quot;, &quot;models/player/xxxx/model.mdl&quot;, &quot;Model 4 Path&quot;<br />&quot;modelsnd_m5_path&quot;, &quot;models/player/xxxx/model.mdl&quot;, &quot;Model 5 Path&quot;<br />&quot;modelsnd_m6_path&quot;, &quot;models/player/xxxx/model.mdl&quot;, &quot;Model 6 Path&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />// Sound Paths<br />&quot;modelsnd_m1_sndpath&quot;, &quot;music/xxx/sound.mp3&quot;, &quot;Model 1 Sound Path (without sound/)&quot;<br />&quot;modelsnd_m2_sndpath&quot;, &quot;music/xxx/sound.mp3&quot;, &quot;Model 2 Sound Path (without sound/)&quot;<br />&quot;modelsnd_m3_sndpath&quot;, &quot;music/xxx/sound.mp3&quot;, &quot;Model 3 Sound Path (without sound/)&quot;<br />&quot;modelsnd_m4_sndpath&quot;, &quot;music/xxx/sound.mp3&quot;, &quot;Model 4 Sound Path (without sound/)&quot;<br />&quot;modelsnd_m5_sndpath&quot;, &quot;music/xxx/sound.mp3&quot;, &quot;Model 5 Sound Path (without sound/)&quot;<br />&quot;modelsnd_m6_sndpath&quot;, &quot;music/xxx/sound.mp3&quot;, &quot;Model 6 Sound Path (without sound/)&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />// Team Sounds<br />&quot;modelsnd_T_sndpath&quot;, &quot;music/xxx/sound.mp3&quot;, &quot;T Sound Path (without sound/)&quot;<br />&quot;modelsnd_CT_sndpath&quot;, &quot;music/xxx/sound.mp3&quot;, &quot;CT Sound Path (without sound/)&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />// Volume<br />&quot;modelsnd_volume&quot;, &quot;1.0&quot;, &quot;(1.0 = Max volume | 0.0001 = Not audible)&quot;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b><font size="4">Installation:</font></b><br />Drop the smx in addons/sourcemod/plugin/ and configure the cfg.<br /><br /><b><font size="4">Background:</font></b><br />Official used on our servers (Team-Secretforce.com) Take a look :)<br /><br /><b>Enjoy</b></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...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=129681"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1390092002">Get Source</a> (model_sounds.sp - 13.4 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