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

[CS:GO] Easy Spawn Protection (v1.00, 25/07/2015)


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

Napisano 25.07.2015 07:12

<div><font color="DarkOrchid"><font face="Verdana"><font size="7"><div align="center">Easy Spawn Protection (v1.00)</div></font></font></font><font face="Verdana"><br /><div align="center"><font color="Magenta"><font size="4">By Invex | Byte</font></font></div></font><br /><br /><font color="DarkOrchid"><font size="4"><b>Description</b></font></font><br />This plugin adds additional features to the existing spawn protection plugin by Fredd/cREANy0.<br />I made this because I do not see any approved spawn protection plugins with good configuration options.<br /><br /><font color="DarkOrchid"><font size="4"><b>Features</b></font></font><ul><li>Highlight players who are spawn protected</li>
<li>Ability to highlight different teams (CT/T, RED/BLU, Survivor/Infected..etc).</li>
<li>Players are told how much spawn protection time they have left when they spawn</li>
<li>Two modes of operation (Player Spawn protection and Round Start Protection)</li>
<li>Ability to end spawn protection if player fires a weapon</li>
<li>Ability to stop players who control bots from getting spawn protection</li>
<li>Auto detects and works with <b>mp_freezetime</b> values, <b>sm_easysp_time</b> should thus not include <b>mp_freezetime</b> time</li>
</ul><br /><font color="DarkOrchid"><font size="4"><b>Supported Mods</b></font></font><ul><li>CSGO</li>
</ul><br /><b>Note:</b> CS:S, L4D, TF2 should mostly work but may need some minor adjustments.<br />Testing would be helpful as I don't have those games installed as a server.<br /><br /><font color="DarkOrchid"><font size="4"><b>Acknowledgements</b></font></font><br />Based on cREANy0/Fredd's Spawn Protection plugin:<br /><a href="https://forums.allie...d.php?p=594838"target="_blank">https://forums.allie...p=594838</a><br /><a href="https://forums.alliedmods.net/showthread.php?t=204646" target="_blank">https://forums.allie...t=204646</a><br /><br /><font color="DarkOrchid"><font size="4"><b>Instructions</b></font></font><ol style="list-style-type: decimal"><li>Compile <b>EasySpawnProtection.sp</b> (note: this plugin is written in the new SM syntax).</li>
<li>Copy <b>EasySpawnProtection.smx</b> to your server.</li>
<li>Configure settings by editing <b>/cfg/sourcemod/easyspawnprotection.cfg</b></li>
</ol><br /><font color="DarkOrchid"><font size="4"><b>ConVars</b></font></font><br /><br /><b>sm_easysp_enabled</b> //Enable Easy Spawn Protection Plugin (0 off, 1 on, def. 1)<br /><b>sm_easysp_mode</b> //The mode of operation. (0 spawn protection when player is spawned, 1 spawn protection for set time from round start, def. 0)<br /><b>sm_easysp_time</b> //Duration of spawn protection. (min. 0.0, def. 5.0)<br /><b>sm_easysp_notify_start</b> //Let users know that they have gained spawn protection. (0 off, 1 on, def. 1)<br /><b>sm_easysp_notify_end</b> //Let users know that they have lost spawn protection. (0 off, 1 on, def. 1)<br /><b>sm_easysp_colour_mode</b> //Colour highlighting mode to use. (0 off, 1 highlight all player same colour, 2 use different colours for teamOne/teamTwo, def. 1)<br /><b>sm_easysp_colour</b> //Set spawn protection model highlighting colour. &lt;RED&gt; &lt;GREEN&gt; &lt;BLUE&gt; &lt;OPACITY&gt;. (def. &quot;0 255 0 120&quot;)<br /><b>sm_easysp_colour_teamOne</b> //Set spawn protection model highlighting colour for team One (CS:S T, CS:GO T, TF2 RED, L4D Survivor). &lt;RED&gt; &lt;GREEN&gt; &lt;BLUE&gt; &lt;OPACITY&gt;. (def. &quot;0 255 0 120&quot;)<br /><b>sm_easysp_colour_teamTwo</b> //Set spawn protection model highlighting colour for team Two (CS:S CT, CS:GO CT, TF2 BLU, L4D Infected). &lt;RED&gt; &lt;GREEN&gt; &lt;BLUE&gt; &lt;OPACITY&gt;. (def. &quot;0 255 0 120<br /><b>sm_easysp_endonattack_mode</b> //Specifies if spawn protection should end if player attacks. (0 off, 1 turn off SP as soon as player shots or fire any weapon, def. 0)<br /><b>sm_easysp_sponbotcontrol</b> //Should bots receive spawn protection if another player takes control of them. (0 off, 1 on, def. 1)<br /><br /><font color="DarkOrchid"><font size="4"><b>ConVar Information</b></font></font><ul><li>If <b>sm_easysp_colour_mode</b> is 1, colour in cvar <b>sm_easysp_colour</b> is used. Otherwise if <b>sm_easysp_colour_mode</b> is 2, then colours in <b>cvars sm_easysp_colour_teamOne</b> and <b>sm_easysp_colour_teamTwo</b> is used.</li>
<li>Set <b>sm_easysp_mode</b> to 1 if you want spawn protection to be available for a fixed time from round start.</li>
</ul><br /><font color="DarkOrchid"><font size="4"><b>Translations</b></font></font><br />If you feel like adding another language to the list, let me know!<ul><li>English</li>
</ul><br /><font color="DarkOrchid"><font size="4"><b>Suggestions (Will be added to next version)</b></font></font><br />Please make some suggestions because if you need a particular feature, chances are other people will too.<ul><li> N/A</li>
</ul></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...n-v1.00.zip</a>(22.8 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/cfg.gif"alt="File Type: cfg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...tection.cfg</a>(1.9 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