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

[DOD:S] Teamplay Auto team balance


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

Napisano 23.01.2024 19:38

<div><b><font size="5">[DOD:S] Teamplay Auto team balance</font></b> <font face="Courier New">windows/linux</font><br />- Auto team balance for day of defeat source.<br /><br /><fieldset style="border: 2px solid #000; background-color: #FFF; margin: 1px; width: 60%; overflow:auto;">
<legend>Rant:</legend>
<div> There are more better auto team balancer plugins than this.</div></fieldset><br /><br />Another team balance plugin. But this team balance system try mimic <font color="Gray"><font face="Courier New">CTeamplayRoundBasedRules::BalanceTeams( bool bRequireSwitcheesToBeDead )</font></font><br />what can be found from <i>Source SDK</i> files.<br /><br /><font color="Magenta">- DHooks required, get latest SourceMod version.<br />- This not have admin immunity<br />- This balance everyone, in team (bots, human players)</font><br /><br /><br /><br /><font color="DimGray">How it works.<br />- There is 60 seconds cooldown at <b>round start</b>, so there not happen any team balance first.<br />- After cooldown, <b>respawnwaves </b>will trigger unbalance team check, and based of that it will start balance players to another team.<br />- On specific respawnwave (from &quot;heavier&quot; team side) when auto team balance kicks in, 2 seconds before respawn those <b>lucky dead once</b> have transferred to another team.<br /><br />At this point team balance could work slowly. You may start thinking &quot;this not work&quot; but it works.<br />It depends of players time spend on server, have player forced team change lately, is player dead and how many players need transfer.<br />This team balance system use own simple score system based of those previous mentioned conditions.<br />- For simple way to say this, specific players <b>pending team change</b>, but those need to get killed. That takes some time.</font><br /><br /><br /><font color="Navy">How <font face="Courier New">sm_autoteambalance </font>setting works, use addition 1 + 2<br />0 = Team balance disabled.<br />1 = Team balance enabled, by default team balance dead players on respawnwave, silently.<br />+2 = Team balance alive players. Will team balance both dead and alive players on respawnwave, killing alive player during team change. Team balancing is faster.<br />+4 = Do team balance on round start event. Team change kill player.<br />+8 = Disable team balance on respawnwaves.<br />+16 = Show team balance system chat messages and play one sound.</font><br /><br />Team balance enabled, chat messages: 1 + 16 = <font color="royalblue">sm_autoteambalance 17</font><br />- Value 16 works as well, number 1 kindy already included on every setting.<br /><br />Team balance also alive players, chat messages, balance on round start: 2 + 16 + 4 = <font color="royalblue">sm_autoteambalance 22</font><br /><br />Disable team balance on respawnwaves, do balance on round start: 8 + 4 = <font color="royalblue">sm_autoteambalance 12</font><br /><br />Silent team balance: <font color="RoyalBlue">sm_autoteambalance 1</font><br /><br /><br /><br /><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Chat messages</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 /><font color="#00ff00">[SM] Auto team balance active</font> + sound <font face="Courier New"><font color="DimGray">&quot;common/warning.wav&quot;</font></font><br /><font color="#00ff00">[SM] Auto <font color="#4d7942">team balance</font> in progress</font><br /><font color="#00ff00">[SM] Auto <font color="#ff4040">team balance</font> in progress</font><br /><font color="#00ff00">[SM] <font color="#4d7942">bot01, bot02, bot03</font> was team balanced.</font><br /><font color="#00ff00">[SM] <font color="#ff4040">bot01, bot02, bot03</font> was team balanced.</font><br /></div>
</div>
</div><br /><br /><br /><br /><br /><br /><b>Plugin cvars</b><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"> &quot;<font color="Red">sm_teams_unbalance_limit</font>&quot; = &quot;1&quot; min. 0.000000 max. 30.000000<br />&nbsp;- Teams are unbalanced when one team has this many more players than the other team. (0 disables check)<br />&nbsp;<br />&nbsp;&quot;<font color="red">sm_autoteambalance</font>&quot; = &quot;1&quot; min. 0.000000<br />&nbsp;- Automatically balance the teams based on sm_teams_unbalance_limit. 0 = off, 1 = dead players on respawnwave</code><hr />
</div><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">├───addons<br />│&nbsp; └───sourcemod<br />│&nbsp; &nbsp; &nbsp; ├───gamedata<br />│&nbsp; &nbsp; &nbsp; │&nbsp; &nbsp; &nbsp; dhooks-dods-teambalance.games.txt<br />│&nbsp; &nbsp; &nbsp; │<br />│&nbsp; &nbsp; &nbsp; ├───plugins<br />│&nbsp; &nbsp; &nbsp; │&nbsp; &nbsp; &nbsp; dodsteamplayautoteambalance.smx<br />│&nbsp; &nbsp; &nbsp; │<br />│&nbsp; &nbsp; &nbsp; └───scripting<br />│&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; │&nbsp; dodsteamplayautoteambalance.sp<br />│&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; │<br />│&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; └───dodsteamplayautoteambalance<br />│&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; teambalance.sp<br />│<br />└───cfg<br />&nbsp; &nbsp; &nbsp; &nbsp; readme_dodsteamplayautoteambalance.txt</code><hr />
</div>If you experience any server crashes, please remove this plugin from your server and look again.<br />To compile plugin source code, get SourceMod pack and use that, not web compiler.<br />There is ready compiled plugin smx</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...balance.zip</a>(15.3 KB)


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


</div>

Wyświetl pełny artykuł




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

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