[L4D2] Common CVar Lock
Adminek AMXX.PL
10.06.2024
<div><b><u>Description</u></b>:<br /><br />Limits changes to common infected related cvars. Custom campaigns can have vscripts that use director options or straight up call ConVar changes. This plugin prevents Custom Campaigns from increasing the amounts past their default + leeway. You can disable the leeway by tweaking the amounts in source. Campaigns can still change their values to be <b>lower</b> than their defaults, so that this plugin doesn't interfere with maps/sections that disable common infected.<br /><br />NOTE: Some vanilla campaigns seem to change z_mob_spawn_min_size and possibly others past their defaults. Which is why I put in the leeways. I don't think any change z_common_limit.<br /><br /><b><u>REQUIRED</u></b>:<br /><a href="https://forums.allie...d.php?t=321696" target="_blank" rel="noopener">Left4DHooks</a><br /><br /><u>Protected Cvars</u>:<ul><li><b>z_common_limit</b> (30)<i> + 0</i></li>
<li><b>z_mob_spawn_min_size </b>(10)<i> + 20</i></li>
<li><b>z_mob_spawn_max_size </b>(30)<i> + 30</i></li>
<li><b>z_mega_mob_size </b>(50)<i> + 10</i></li>
</ul><br /><u>Features</u>:[LIST[*]<b>sm_set_common_limit</b> - Lets you change the z_common_limit above the maximum allowed.<br /><br /><b><u>Changelog</u></b>:<br /><br /><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">0.4 (10-Jun-2024)<br /> - Initial release.</code><hr />
</div><b><u>Thanks</u></b>:<br /><ul><li>Tabun - Making an initial plugin that tried to solve this (a long time ago).</li>
<li>Addie - Helping on Discord</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...84"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...1718039237">Get Source</a> (l4d2_common_cvar_lock.sp - 3.2 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...ar_lock.smx</a> (5.5 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
<li><b>z_mob_spawn_min_size </b>(10)<i> + 20</i></li>
<li><b>z_mob_spawn_max_size </b>(30)<i> + 30</i></li>
<li><b>z_mega_mob_size </b>(50)<i> + 10</i></li>
</ul><br /><u>Features</u>:[LIST[*]<b>sm_set_common_limit</b> - Lets you change the z_common_limit above the maximum allowed.<br /><br /><b><u>Changelog</u></b>:<br /><br /><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">0.4 (10-Jun-2024)<br /> - Initial release.</code><hr />
</div><b><u>Thanks</u></b>:<br /><ul><li>Tabun - Making an initial plugin that tried to solve this (a long time ago).</li>
<li>Addie - Helping on Discord</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...84"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...1718039237">Get Source</a> (l4d2_common_cvar_lock.sp - 3.2 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...ar_lock.smx</a> (5.5 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł