←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

[L4D2] Healing Alternative (v1.0) [12-May-...

Adminek AMXX.PL's Photo Adminek AMXX.PL 12.05.2024

<div><font color="Silver">.</font><br /><b><font color="Red">Healing Alternative</font></b> (l4d2_HealAlt) by <font color="Green"><i><b>Mystik Spiral</b></i></font><br /><br />Improve when healing items (first aid kits, pain pills, and adrenaline shots) are used.<br /><br /><br /><b>Summary of healing behavioral changes:</b><br /><ul><li>Bots prefer to use/give pills/adrenaline instead of first aid kits.</li>
<li>Bots will wait longer to use first aid kits on self or others.</li>
<li>Bots will never heal another player that has their own healing items.</li>
<li>Survivors with a first aid kit are healed using the standard algorithm during map changes.</li>
<li>Survivors without a first aid kit are healed to 50, same as a respawned dead player, during map changes.</li>
<li>All survivors are given a first aid kit during map changes.</li>
</ul><br /><br /><b>Options:</b><br /><br />For proper operation, set the following <a href="https://developer.va..._of_L4D2_Cvars"target="_blank" rel="nofollow noopener">Valve ConVars</a> in your server.cfg file:<br /><ul><li>sb_toughness_buffer 0</li>
<li>sb_temp_health_consider_factor 0.0</li>
<li>pain_pills_health_threshold 90</li>
</ul><br /><br /><b>Notes:</b> <br /><br />By default, this plugin will only run in the cooperative (coop) gamemode and is intended to only be used on dedicated servers that have not modified the default values of player health or healing items.<br /><br />I plan to eventually add handling for first aid kits found outside of safe rooms.<br />I will not be adding support for L4D1.<br /><br />Please let me know if you find any bugs, but before reporting, connect to the dedicated server system console and type:<br /><br /><i>sm plugins list;sm_cvar mp_gamemode</i><br /><br />Check that the gamemode is &quot;coop&quot; and whether you see &quot;[L4D2] Healing Alternative&quot; or error messages, especially errors related to missing prerequisites.<br /><br /><br /><b>Code / Discussion:</b><br /><br /><a href="https://github.com/M...l/l4d2_HealAlt"target="_blank" rel="nofollow noopener">GitHub</a> <br /><a href="https://forums.alliedmods.net/showthread.php?t=347667" target="_blank" rel="noopener">AlliedModders</a><br /><br /><br /><b>Acknowledgements and Thanks:</b><br /><br />Silvers: For the original <a href="https://forums.alliedmods.net/showthread.php?t=338889" target="_blank" rel="noopener">Bot Healing Values</a> plugin this is forked from, Left4DHooks, gamedata, Allowed Game Modes code, and many code examples.<br />BHaType: For help and code examples for custom Actions, and the Actions plugin.<br />nosoop: For the Source Scramble plugin.<br />Spirit_12: For help with determing navigation flow distance.<br />BRU7US: For help with the map_transition event.<br /><br /><br /><b>Changelog:</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">12-May-2024 v1.0<br />- Initial release.</code><hr />
</div><br /><font color="Red"><b>Prerequisites:</b></font><br /><ul><li><a href="https://forums.allie...d.php?t=336374"target="_blank" rel="noopener">Actions extension by BHaType</a></li>
<li><a href="https://forums.allie...d.php?t=317175"target="_blank" rel="noopener">Source Scramble plugin by nosoop</a></li>
<li><a href="https://forums.allie...d.php?t=321696"target="_blank" rel="noopener">Left 4 DHooks Direct by Silvers</a></li>
</ul><br /><br /><b>Installation:</b><br /><br />Easiest:<br />Download the l4d2_HealAlt.zip file, place it in the addons/sourcemod directory, unzip.<br /><br />Manual:<br />Extract the l4d2_HealAlt.smx file to the &quot;plugins&quot; directory.<br />Extract the l4d2_HealAlt.txt file to the &quot;gamedata&quot; directory.<br />Extract the l4d2_HealAlt.phrases.txt file to the &quot;translations&quot; directory.<br />Extract the l4d2_HealAlt.sp file to the &quot;scripting&quot; directory.<br /><br /><font color="Silver">.</font></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...HealAlt.zip</a>(34.5 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł
Quote