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

[DoD:S] Zones


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

Napisano 16.07.2013 21:16

<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello!<br />This time I present my biggest plugin ever made. I made that plugin for a long time, and now its ready to release for public.<br />Previously I just had no idea how to properly set and highlight coordinates by effects (in a box).<br />Credits also goes to <a href="https://forums.allie...ber.php?u=41418" target="_blank">Peace-Maker</a> for his <a href="https://forums.alliedmods.net/showthread.php?p=1433894" target="_blank">Anti Rush</a> plugin, which helped me alot with it!<br /><br /><font size="2"><b>DESCRIPTION:</b></font><br />This plugin provides admins to set zones on a map where players are not allowed to enter. Either for the Allies, Axis or even all players on a server.<br />Admins also can be protected to across that zones. Different punishments are allowed (up to 5).<br /><br />This plugin is useful for:<ul><li>Preventing players to get in the enemy spawn zone.</li>
<li>Preventing players to get in the any map zones you want.</li>
<li>Anti rush.</li>
<li>Anti exploits using.</li>
<li>Anti camping.</li>
<li>Not solid walls.</li>
</ul>And much more whatever you want!<br /><br /><font size="2"><b>SETTINGS:</b></font><ul><li>Type <b>!zones</b> in chat and select '<b>Add Zone</b>' (or go into <b>Admin Menu &gt; Server Commands &gt; Setup Zones</b>)</li>
<li>Go to any place and press <b>E</b> button (<b>+USE</b>) to set first coordinate for a zone.</li>
<li>Go to another place and once again press <b>E</b> button to set end point for a zone.</li>
<li>Enter a name of a zone in chat (For example <b>middle</b>).</li>
<li>Save a zone.</li>
<li>Edit it via menu.</li>
</ul><a href="http://www.youtube.com/watch?v=K91PXrq6xII&amp;hd=1" target="_blank">Here is a presentation video to show features and 'how-to'.</a><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</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;"><iframe width="420" height="315" src="https://www.youtube....1PXrq6xII?rel=0" frameborder="0" allowfullscreen></iframe></div>
</div>
</div><br /><b>P.S</b> Dont forget to save first and second points after editing them! Otherwise coordinates will not be saved!<br /><br /><font size="2"><b>CONVARS</b></font><ul><li><b>dod_zones_enable</b> - <i>Whether or not enable Zones plugin. (Default: Enabled)</i></li>
<li><b>dod_zones_punishment</b> - <i>Determines how plugin should handle players who entered a restricted zone (by default):<ul><li>1 = Announce in chat</li>
<li>2 = Bounce back (Default)</li>
<li>3 = Slay</li>
<li>4 = Allow melee only</li>
<li>5 = Nothing.</li>
</ul></i></li>
<li><b>dod_zones_adminimmunity</b> - <i>Whether or not allow admins to across zones without any punishments. (Default: Dont immune)</i></li>
<li><b>dod_zones_show</b> - <i>Whether or not always show the zones on a map. (Default: Dont show)</i></li>
</ul><br /><font size="2"><b>ADMIN COMMANDS:</b></font><br />ADMFLAG_CONFIG is required ( by default is <b>i</b> )<ul><li><b>sm_zones</b> - <i>Opens zones menu</i></li>
<li><b>sm_actzone</b> - <i>Activates a zone by name</i></li>
<li><b>sm_diactzone</b> - <i>Diactivates a zone by name</i></li>
</ul>Admins will receive a list of zones in menu on activate/diactivate commands. But if that command is used via server console, you should enter a full name of zone.<br />Example: <i>sm_diactzone middle</i><br /><br /><font size="2"><b>NOTES:</b></font><ul><li>Diactivated zones are not deleted, those just will not trigger touch functions. To activate them back use <b>Activate Zones</b> menu or <b>!actzone</b> command</li>
<li>If immunity is enabled, you can use custom overrides ( <i>dod_zones_immunity</i> ) to 'immune' admins with desired flag.</li>
<li>You can find map zones for each map in <i>sourcemod/data/zones/</i> folder.</li>
<li>Any zones are automatically re-creates at every round start (does not matter if zone was diactivated before)</li>
<li>White color of a zones means no players can go there. Red color - only Axis allowed. Green - only Allies. Both teams will not see their zones respectivitely.</li>
<li>When using 'Melee only' punishment, make sure to add extra zones around it to allow using all weapons again if a player steps back to his own side.</li>
<li>If zones are disappearing sometimes, you may decrease timer interval. Go to line 29 and change value to less than 5.0 seconds.</li>
<li>It's not really recommended to show zones all the times (performance purposes for both server and client).</li>
<li>Plugin generates a configuration file (<i>cfg/sourcemod/dod_zones.cfg</i>).</li>
<li>Plugin is multilinguage!</li>
</ul><br /><a href="http://www.game-moni...=&#38;game=dod2" target="_blank"><b>Servers with this plugin</b></a><br /><br /><font size="3"><a href="http://goo.gl/Q4ZOP" target="_blank"><b><u>Download plugin</u></b></a><br /><a href="https://github.com/zadroot/DoD_Zones/tree/master/addons/sourcemod/scripting" target="_blank">Browse source code</a></font></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