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

[INS] Supply Point Manager


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

Napisano 30.03.2016 09:18

<div><b><font size="5">[INS] Supply Manager</font></b><br /><br />This is my first plugin. :)<br /><br /><b><u><font size="3">Description/Features</font></u></b><br />I wrote this plugin to address what I feel is a missing feature from the game: Restore your gained supply points.<br />Many players on the server I operate often struggle with connection drops, and under &quot;stock&quot; conditions, when they reconnect their supply points (in-game &quot;money&quot;) is reset.<br />This plugin will set the supply points for players when <b><u>joining a team</u></b>.<br />It will determine and give highest possible supply points to the player, based on settings completed (CVars below).<br /><br />The plugin's default functionality is to restore the player's supply points as stored <u>on round start</u>, but you can also choose alternate functionality (Team Average, Team Lowest).<br /><br />Note: Supply points of bots will not be stored or set, but is used by Team Average / Team Lowest.<br /><br /><b><u><font size="3">Commands</font></u></b><br /><b>sm_supply</b> &lt;client&gt; (points)<br />If (points) not provided, will display player's supply points, else will set player's supply to number provided.<br /><br /><b><u><font size="3">CVARS</font></u></b><br /><b>sm_supply_enabled</b> &lt;0/1&gt;<br />&quot;Boolean&quot;: Enable/disable plugin. Default: 1 (Enabled)<br /><b>sm_supply_base</b> #<br />&quot;Int&quot;: Number of supply points to give players. Default: 12<br /><b>sm_supply_restore</b> &lt;0/1&gt;<br />&quot;Boolean&quot;: Enable/disable restoring player's gained supply points. Default: 1 (Enabled)<br /><b>sm_supply_join</b> &lt;0,1,2,3&gt;<br />&quot;Int&quot;: Enable/disable setting supply points for new players. Default: 0 (Disabled)<br />0 - Disabled (Default)<br />1 - Give new player base supply as set in sm_supply_base. Note: You may want to set this per game mode in server_&lt;mode&gt;.cfg <br />2 - Team Lowest: Give new player the same supply as lowest member in team (Useful for multiple rounds of coop play)<br />3 - Team Average: Give new player the team average of supply points (sum all players supply points divided by players)<br /><br /><b><u><font size="3">Changelog</font></u></b><br />0.2 - &quot;ALPHA&quot; Added Join and Rejoin cvars<br />0.1 - Initial build. CVar and Token testing<br /><br /><b><u><font size="3">Future Development</font></u></b><br />- Store supply points on change during round (support game modes survival/outpost)<br /> and / or<br />- Store supply points on player disconnect<br />- Add &quot;recover&quot; from file / db to recover from server crash (rare)<br />- Add &quot;ignore bots&quot; cvar for team supply calculations (low,avg)</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/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...45"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1459325907">GetSource</a> (ins_supply.sp - 7.4 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