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

[L4D2]Automatic Scaling Difficulty Controller


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

Napisano 17.07.2013 05:55

<!-- BEGIN TEMPLATE: postbit_external -->
<div>This plugin is a controller for the l4d2 director, it automatically changes the spawn rates of all SI and CI to increase the difficulty based on the amount of health the survivors have.<br /><br />Plugin is based off of, thanks to them for parts of their codes:<br />Monsterbots by Machine<br />Common Infected Regulator by chinagreenelvis<br /><br />Features:<br />A very large amount of control variables to tune the plugin to perfectly fit any server.<br />Much more efficient when compared to monsterbots.<br />Up to 4 different special infected spawned.<br />Tank and witch spawn control with separate timers.<br /><br />Similar to Monsterbots here is the type table for ASDCtype#<br />0 = Random (Smoker,Boomer,Hunter,Spitter,Jockey,Charger)<br />1 = Smoker<br />2 = Boomer<br />3 = Hunter<br />4 = Spitter<br />5 = Jockey<br />6 = Charger<br /><br />Math:<br />Plugin has internal timer that ticks every 3 seconds corresponding to 3 unmodified ticks.<br /><br />The modified tick increase per 3 seconds for SI is as follows:<br />Tick/Sec=3*(Difficulty Base+ASDC Multiplier(1-&gt;0)*Difficulty Multiplier)<br /><br />The modified spawn amounts for zombie waves is as follows:<br />#=4*Amount of zombies per person*ASDC Multiplier*Difficulty Multiplier<br />(More detailed control of zombie spawn amounts will be added later.)<br /><br /><br />Examples:<br />4 Players all at 100% health, DB=1, DM=1 -&gt; ASDC Multiplier = 1 -&gt; Tick/Sec=2 -&gt; 200% spawn rate.<br />4 Players all at 50% health, DB=1, DM=1 -&gt; ASDC Multiplier = 0.5 -&gt; Tick/Sec=2 -&gt; 150% spawn rate.<br />3 Players 100% health 1 dead, DB=1, DM=1 -&gt; ASDC Multiplier = 0.75 -&gt; Tick/Sec=2 -&gt; 175% spawn rate.<br />4 Players 50% health, DB=2, DM=2 -&gt; ASDC Multiplier = 0.5 -&gt; Tick/Sec=3 -&gt; 300% spawn rate.<br /><br />Convars:<br />// Base time scale for difficulty controller. Set base and mult to 0 to turn off ASDC.<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCbase &quot;1&quot;<br /><br />// Multiplication tuning for difficulty controller. Set base and mult to 0 to turn off ASDC.<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCmult &quot;1&quot;<br /><br />// How many ticks(unmodified seconds) till another monster spawns<br />// -<br />// Default: &quot;15&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCinterval &quot;25&quot;<br /><br />// How many ticks(unmodified seconds) till another tank spawns<br />// -<br />// Default: &quot;180&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCtankinterval &quot;180&quot;<br /><br />// How many ticks(unmodified seconds) till another witch spawns<br />// -<br />// Default: &quot;30&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCwitchinterval &quot;100&quot;<br /><br /><br />// The maximum amount of monster bots<br />// -<br />// Default: &quot;8&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCmaxbots &quot;8&quot;<br /><br />// Number of CI per person in a CI zombie wave.<br />// -<br />// Default: &quot;20&quot;<br />ASDCcommons &quot;20&quot;<br /><br />// Background number of CI per person.<br />// -<br />// Default: &quot;10&quot;<br />ASDCcommonsbackground &quot;10&quot;<br /><br />// Number of CI per person in a Mega CI zombie wave.<br />// -<br />// Default: &quot;30&quot;<br />ASDCmegamob &quot;30&quot;<br /><br />// Is tank spawn on (1/0). Set to 0 to disable.<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCtypetank &quot;1&quot;<br /><br />// Is tank spawn on (1/0). Set to 0 to disable.<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCtypewitch &quot;1&quot;<br /><br />// The first kind of special infected to spawn. Set to 7-9 to disable.<br />// -<br />// Default: &quot;0&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCtype0 &quot;0&quot;<br /><br />// The second kind of special infected to spawn. Set to 7-9 to disable.<br />// -<br />// Default: &quot;0&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCtype1 &quot;0&quot;<br /><br />// The third kind of special infected to spawn. Set to 7-9 to disable.<br />// -<br />// Default: &quot;0&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCtype2 &quot;0&quot;<br /><br />// The fourth kind of special infected to spawn. Set to 7-9 to disable.<br />// -<br />// Default: &quot;0&quot;<br />// Minimum: &quot;0.000000&quot;<br />ASDCtype3 &quot;0&quot;</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=122762"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1374036922">Get Source</a> (l4d2_ASDC.sp - 11.4 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...38;d=1374036939">l4d2_ASDCconfig.cfg</a> (2.0 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