Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

[TF2] Sentry Restrict


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

Napisano 10.09.2014 16:23

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="5">Sentry Restrict (v0.4, 9/10/2014)</font><br /><br /><b>Description:</b><br />This plugin prevents players from building sentries when the player count falls beneath an arbitrary limit. This is accomplished by destroying sentries as soon as they are built.<br /><br /><b>Features:</b> <ul><li>Refund spent metal to the builder when their sentry is destroyed</li>
<li>Show a chat message to the builder that tells them how many players need to arrive before they can build sentries</li>
<li>Alert players when they are allowed to build sentries</li>
<li>Count or ignore bots and spectators</li>
</ul><br /><b>Cvar list:</b><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">sm_sentryrestrict_enabled &quot;1&quot;<br />&nbsp;-&nbsp; Set to 0 to disable Sentry Restrict (always allow sentries)<br />sm_sentryrestrict_count_spec &quot;0&quot;<br />&nbsp;-&nbsp; Set to 1 to count spectators and unassigned players when deciding to allow/disallow sentries<br />sm_sentryrestrict_count_bots &quot;0&quot;<br />&nbsp;-&nbsp; Set to 1 to count bots when deciding to allow/disallow sentries<br />sm_sentryrestrict_refund &quot;1&quot;<br />&nbsp;-&nbsp; Set to 1 to refund the builder's metal when their sentry is destroyed<br />sm_sentryrestrict_announce &quot;1&quot;<br />&nbsp;-&nbsp; Set to 1 to announce when sentries are allowed or disallowed<br />sm_sentryrestrict_chatspam &quot;1&quot;<br />&nbsp;-&nbsp; Set to 1 to tell clients when their sentries are destroyed<br />sm_sentryrestrict_method &quot;0&quot; min. 0 max. 2<br />&nbsp;-&nbsp; Method of destroying sentries<br />&nbsp; &nbsp; 0: Force the client to execute destroy 2 0<br />&nbsp; &nbsp; &nbsp; &nbsp; This method causes metal gibs to appear that can be picked up for free ammo,<br />&nbsp; &nbsp; &nbsp; &nbsp; but is the only method that prevents gaming of stats systems.<br />&nbsp; &nbsp; 1: Remove the sentry from the game world<br />&nbsp; &nbsp; &nbsp; &nbsp; This method calls the Kill input on the sentry's entity. This allows players<br />&nbsp; &nbsp; &nbsp; &nbsp; to game stats systems as they will not deduct points for sentries destroyed<br />&nbsp; &nbsp; &nbsp; &nbsp; this way. However, no metal gibs will spawn.<br />&nbsp; &nbsp; 2: Destroy the sentry with damage from the builder<br />&nbsp; &nbsp; &nbsp; &nbsp; This method calls the RemoveHealth input on the sentry's entity, with the<br />&nbsp; &nbsp; &nbsp; &nbsp; activator set to the offending player. This allows players to game stats<br />&nbsp; &nbsp; &nbsp; &nbsp; systems for the same reason as the above method. It also causes metal gibs<br />&nbsp; &nbsp; &nbsp; &nbsp; to spawn, and will show an entry in the kill feed.<br />sm_sentryrestrict_destroy_full &quot;1&quot;<br />&nbsp;-&nbsp; Set to 1 to destroy existing standard sentries when the player count falls below the threshold<br />sm_sentryrestrict_destroy_mini &quot;1&quot;<br />&nbsp;-&nbsp; Set to 1 to destroy existing mini-sentries when the player count falls below the threshold<br />sm_sentryrestrict_minplayers_full &quot;6&quot; min. 0 max. 65<br />&nbsp;-&nbsp; Minimum players to allow standard sentries. 0 = never allow<br />sm_sentryrestrict_minplayers_mini &quot;10&quot; min. 0 max. 65<br />&nbsp;-&nbsp; Minimum players to allow mini-sentries. 0 = never allow</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b>Changelog:</b><br /><!-- BEGIN TEMPLATE: bbcode_quote_printable -->
<div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

0.4 - 9/10/2014<br /> - Initial public release.

<hr />
</td>
</tr>
</table>
</div>
<!-- END TEMPLATE: bbcode_quote_printable --><b>Planned features:</b> <ul><li>An override to allow players to bypass the restrictions.</li>
</ul><br /><b>Known bugs:</b> <ul><li>None at the moment.</li>
</ul><br /><b>Optional dependencies:</b><ul><li>Compile with <a href="https://forums.allie...ead.php?t=96831" target="_blank">colors</a> or <a href="https://forums.alliedmods.net/showthread.php?t=185016" target="_blank">morecolors</a> for pretty colors in announcements and chatspam.</li>
</ul></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=137787"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1410363828">Get Source</a> (sentryrestrict.sp - 11.3 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