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

[L4D1 & L4D2] Kick Special Infected Bots After Death [v1.0.1 | 03-November-2023]


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

Napisano 03.11.2023 20:51

<div><font size="3"><b><u>Description</u></b></font><br /><br />Automatically kicks special infected bots right after death.<br /><br /><font size="3"><b><u>Why</u></b></font><br /><br />Special infected bots take around 6 seconds to be kicked from the server upon death, consuming client slots until then.<br />Kicking right after death will increase their spawn rate success related to having &quot;no slots&quot; available.<br /><br /><font size="3"><b><u>Features</u></b></font><br /><ul><li>Allow setting which special infected bot should be kicked.</li>
<li>Allow speeding up the Tank incapacitated animation to kick.</li>
</ul><br /><font size="3"><b><u>Cvars</u></b></font><br /><br />A configuration file named &quot;<b>l4d_kick_si_bot_on_death.cfg</b>&quot; will automatically be created for you upon the first run in the &quot;<b>cfgsourcemod</b>&quot; folder.<br /><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">//&nbsp;Enable/Disable&nbsp;the&nbsp;plugin.
<br />//&nbsp;0&nbsp;=&nbsp;Disable,&nbsp;1&nbsp;=&nbsp;Enable.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"1"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br />//&nbsp;Maximum:&nbsp;"1.000000"
<br /></span><span style="color: #0000BB">l4d_kick_si_bot_on_death_enable&nbsp;</span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Which&nbsp;special&nbsp;infected&nbsp;should&nbsp;be&nbsp;kicked&nbsp;right&nbsp;after&nbsp;being&nbsp;killed.
<br />//&nbsp;1&nbsp;=&nbsp;SMOKER,&nbsp;2&nbsp;=&nbsp;BOOMER,&nbsp;4&nbsp;=&nbsp;HUNTER,&nbsp;8&nbsp;=&nbsp;SPITTER,&nbsp;16&nbsp;=&nbsp;JOCKEY,&nbsp;32&nbsp;=&nbsp;CHARGER,&nbsp;64&nbsp;=&nbsp;TANK.
<br />//&nbsp;Add&nbsp;numbers&nbsp;greater&nbsp;than&nbsp;0&nbsp;for&nbsp;multiple&nbsp;options.
<br />//&nbsp;Example:&nbsp;"127",&nbsp;enables&nbsp;for&nbsp;all&nbsp;SI.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"127"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br />//&nbsp;Maximum:&nbsp;"127.000000"
<br /></span><span style="color: #0000BB">l4d_kick_si_bot_on_death_si&nbsp;</span><span style="color: #DD0000">"127"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Kicks&nbsp;the&nbsp;Tank&nbsp;bot&nbsp;when&nbsp;it&nbsp;becomes&nbsp;incapacitated.
<br />//&nbsp;0&nbsp;=&nbsp;Disable,&nbsp;1&nbsp;=&nbsp;Enable.
<br />//&nbsp;Note:&nbsp;must&nbsp;have&nbsp;TANK&nbsp;flag&nbsp;enabled&nbsp;on&nbsp;"l4d_kick_si_bot_on_death_si".
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"1"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br />//&nbsp;Maximum:&nbsp;"1.000000"
<br /></span><span style="color: #0000BB">l4d_kick_si_bot_on_death_tank_incapacitated&nbsp;</span><span style="color: #DD0000">"1"&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><font size="3"><b><u>Admin Commands</u></b></font><br /><ul><li><b>sm_print_cvars_l4d_kick_si_bot_on_death</b> =&gt; Print the plugin related cvars and their respective values to the console. (<u><b>z</b> flag required</u>)</li>
</ul><br /><font size="3"><b><u>Change Log</u></b></font><br /><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;"><br />1.0.1 (03-November-2023)<br /> - Public release.<br /><br />1.0.0 (03-October-2023)<br /> - Private release.<br /></div>
</div>
</div><br /><br /><font size="3"><b><u>Notes</u></b></font><br /><ul><li><b>[L4D2 ONLY]</b> The Spitter damage sound won't be heard if you doesn't have the latest <a href="https://forums.allie...d.php?t=321696"target="_blank" rel="noopener">[L4D &amp; L4D2] Left 4 DHooks Direct</a> (by <a href="https://forums.alliedmods.net/member.php?u=85778" target="_blank" rel="noopener">Silvers</a>) plugin.</li>
<li>WORKAROUND: When the Tank dies burning by &quot;inferno&quot; entities (e.g: Molotov), kick will only work in the next frame.</li>
<li>This feature is also on <a href="https://forums.allie...d.php?t=332272"target="_blank" rel="noopener">[L4D &amp; L4D2] ZSpawn: Zombie Spawn manager</a> by <a href="https://forums.alliedmods.net/member.php?u=296820" target="_blank" rel="noopener">Earendil</a> plugin.</li>
</ul><br /><font size="3"><b><u>Related messages</u></b></font><br /><ul><li>Dropped &lt;BOT&gt; from server (Kicked by Console : infected team is full)</li>
<li>Dropped &lt;BOT&gt; from server (Kicked by Console : death anim finished)</li>
</ul><br /><font size="3"><b><u>Related Plugins</u></b></font><br /><ul><li><a href="https://forums.allie...d.php?t=321696"target="_blank" rel="noopener">[L4D &amp; L4D2] Left 4 DHooks Direct</a> by <a href="https://forums.alliedmods.net/member.php?u=85778" target="_blank" rel="noopener">Silvers</a></li>
<li><a href="https://forums.allie...d.php?t=332272"target="_blank" rel="noopener">[L4D &amp; L4D2] ZSpawn: Zombie Spawn manager</a> by <a href="https://forums.alliedmods.net/member.php?u=296820" target="_blank" rel="noopener">Earendil</a></li>
</ul><br /><font size="3"><b><u>Post Reply</u></b></font><br /><ul><li>Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.</li>
</ul><br /><font size="3"><b><u>Thank you!</u></b></font><br /><ul><li><a href="https://forums.allie...er.php?u=85778"target="_blank" rel="noopener">Silvers</a> - for fixing the Spitter damage sound on <a href="https://forums.alliedmods.net/showthread.php?t=321696" target="_blank" rel="noopener">[L4D &amp; L4D2] Left 4 DHooks Direct</a> (<i>OnAcidDamage</i> fix).</li>
<li><a href="https://forums.allie...r.php?u=296820"target="_blank" rel="noopener">Earendil</a> - for <a href="https://forums.alliedmods.net/showthread.php?t=332272" target="_blank" rel="noopener">[L4D &amp; L4D2] ZSpawn: Zombie Spawn manager</a> plugin, which also has this feature.</li>
<li><a href="https://forums.allie...r.php?u=300811"target="_blank" rel="noopener">KadabraZz</a> - for testing.</li>
</ul><br /><font size="3"><b><u>Installation</u></b></font><br /><ul><li>Put the &quot;<b>l4d_kick_si_bot_on_death.smx</b>&quot; file (click <b>Get Plugin</b>) in your &quot;<b>addonssourcemodplugins</b>&quot; folder.</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/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://www.sourcemo...72"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1699041105">GetSource</a> (l4d_kick_si_bot_on_death.sp - 16.0 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