←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

[Dystopia/ANY] Separate Team and Global Vo...

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 20.01.2016

<div>This plugin is intended to provide separate options for team and global voice chat. It has only been tested in Dystopia, however I think it should work for many other games, as it does not have any features targeted specifically to Dystopia.<br /><br />It creates the following commands:<br /><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">+voicealt<br />-voicealt<br /><br />+voiceteam<br />-voiceteam<br /><br />+voiceglobal<br />-voiceglobal</code><hr />
</div>+voicealt should cause the opposite behavior to sv_alltalk.<br />If alltalk is on, +voicealt should cause only team members to be able to hear you.<br />If alltalk is off, +voicealt should cause everyone to be able to hear you.<br /><br />+voiceteam should cause only team members to be able to hear you.<br /><br />+voiceglobal should cause everyone to be able to hear you.<br /><br /><br />The general intended behavior of these commands is that if one is turned &quot;on&quot;, while another has already been turned &quot;on&quot;, then the final result would be equivalent to, turning the former command off, and then turning the latter command on.<br /><br />An example is: entering &quot;+voicealt&quot;, then entering &quot;+voiceteam&quot;. The result would be equivalent to: entering &quot;+voicealt&quot;, then &quot;-voicealt&quot;, and finally, &quot;+voiceteam&quot;.<br /><br />Each of the &quot;off&quot; commands (-voicealt, -voiceglobal, -voiceteam), should only work with its respective, &quot;on&quot; command. (+voicealt, +voiceglobal, +voiceteam). For example: entering &quot;+voicealt&quot;, then &quot;-voiceteam&quot;, should not change the current behavior, of &quot;+voicealt&quot;.<br /><br />Sample binds may be found zipped with this release.<br /><br /><br />Other features:<br /><br />- Compatibility with the SourceMod muting functionality.<br />Specifically, the muting functionality provided by the basecomm plugin should still work. The plugin should still track if one of the commands provided by this plugin is &quot;on&quot;, when a player is unmuted, and resume the normal function of that command.<br /><br />- Detecting change of sv_alltalk. <br />The plugin should detect the change of the sv_alltalk ConVar, and automatically readjust its behavior, so that if any of the commands created by it are being used, they should still function correctly.<br /><br />- Detecting team changes.<br />The plugin should automatically recalculate which players may hear each other, on team change, if necessary.<br /><br /><br />Compiling instructions:<br /><br />Ensure that the following directory structure is present: <br /><br />./SeparateTeamGlobalVoice/actions.sp<br />./SeparateTeamGlobalVoice/interface.sp<br />./SeparateTeamGlobalVoice.sp<br /><br />Note that the name of SeparateTeamGlobalVoice.sp may be changed. This should be already be present in the included zip file, so you may simply, extract to the scripting directory of your sourcemod installation, and do the following in Windows:<br /><br /><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">spcomp.exe SeparateTeamGlobalVoice&lt;version&gt;SeparateTeamGlobalVoice.sp</code><hr />
</div>or in linux:<br /><br /><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">./spcomp SeparateTeamGlobalVoice&lt;version&gt;/SeparateTeamGlobalVoice.sp</code><hr />
</div>The compiled plugin should be in the current directory.<br /><br />You may use the &quot;-o&quot; option to specify an output path for the file. There must NOT be a space between -o and its respective option. <br />Ex: <br /><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">./spcomp SeparateTeamGlobalVoice&lt;version&gt;/SeparateTeamGlobalVoice.sp -ocompiled/SeparateTeamGlobalVoice&lt;version&gt;.smx</code><hr />
</div>Changelog:<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">1-20-2016 (v1.0.0r2)<br /><br />* Initial Release.</code><hr />
</div></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/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...1.0.0r2.zip</a>(6.5 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł
Odpowiedz