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

TOGs Deathmatch Team Balancer


  • 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 26.03.2014 03:46

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><font size="4">Description</font></b><br />After trying several team balancers, I found I was not happy with any of them. So, I decided to make my own.<br /><br />This is a very simple balancer. Instead of checking teams EVERY time a player dies, it checks them on configurable intervals (less CPU usage). If the teams are unbalanced by a configurable amount, the plugin will move the next player that dies and is not immune.<br /><br />Unlike most other plugins, this one does not kill the player, so their score is unchanged (or level if it is a gungame server, etc.).<br /><br />Players can be made immune to team balance if they have the flag defined by <i>tdmtb_immuneflag</i>, or if they have the &quot;teambalance_immunity&quot; override.<br /><br />For server owners who wish to make the time between checks far apart, I've also implemented an admin command to run the check.<br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>CVars</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;"><br /><b>&quot;tdmtb_enable&quot;</b> - Enable plugin (0 = Disabled, 1 = Enabled).<br /> <br /><b>&quot;tdmtb_immuneflag&quot;</b> - Flag to check for when balancing. Players with this flag or &quot;teambalance_immunity&quot; override will not be moved.<br /> <br /><b>&quot;tdmtb_checktime&quot;</b> - Repeating time interval to check for unbalanced teams.<br /><br /><b>&quot;tdmtb_difference&quot;</b> - How many more players a team must have to be considered unbalanced.&quot;<br /></div>
</div>
</div><br /><br /><b><font size="4">Admin Commands</font></b><br />sm_chkbal - Checks if teams are balanced. If unbalanced, sets plugin to balance next player that dies (unless immune)<br /><br /><b><font size="4">Changelog</font></b><br /><br />03/25/14 (v1.0)<br />- Initial release.<br /><br /><b><font size="4">Installation</font></b><br />Install togdmteambalance.smx in <i>cstrike/addons/sourcemod/plugins/</i> folder.<br /><br /><b><font size="4">To Do</font></b><ul><li>Nothing planned at the moment.</li>
</ul><br /><i><font size="4"><a href="https://forums.allie...archid=11378671" target="_blank">&gt;&gt;Check out my other plugins&lt;&lt;</a></font></i></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/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1395801968">togdmteambalance.smx</a> (11.2 KB)


</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=131921"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1395801977">Get Source</a> (togdmteambalance.sp - 7.1 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