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

[L4D/L4D2] Self Help Items (nov 12 2022)


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

Napisano 12.11.2022 08:22

<div><u><font size="3">description</font></u><br />this plugin is a modification to the <a href="https://forums.allie....php?p=1348998"target="_blank" rel="noopener">Self Revive</a> plugin, which was based off of the <a href="https://forums.alliedmods.net/showthread.php?t=129444" target="_blank" rel="noopener">Self Help</a> plugin. i also used parts of the <a href="http://forums.alliedmods.net/showthread.php?t=170454" target="_blank" rel="nofollow noopener">Auto Help</a> plugin<br />it brings back using items - survivors will use medkit, pills, adrenaline, or nothing to revive. these will give their respective health values of 80 permanent health, 50 temporary health, and 25 temporary health. (health restored by medkit is affected by first_aid_heal_percent)<br />by default, you can still stand up without any items, but you will only have 10 temporary health afterwards. (can be disabled entirely with selfrevive_noitem) (health amount can be changed with selfrevive_noitem_health)<br />you cannot choose what item (or lack of item) you stand up with - by default you will use <b>temporary healing items first, then medkits, then nothing</b>. you can make medkits be used before temporary healing items by changing selfrevive_itempriority<br />medkits will reset the incapacitation count properly when used to get up (actually gets reset to 1 because of the incapacitation that it is being used to recover from)<br />you can disable items from being used for revival by changing selfrevive_adrenaline, selfrevive_medkit, and selfrevive_pills<br /><b>by default this plugin will not work on bots</b> - you will need to change selfrevive_bot and make sure selfrevive_noitem is 1. bots cannot use items (because when they revive using an item they keep the item they used, please help on how to remove items from them)<br />anything else from the self revive plugin should be intact<br />let me know if anything is wrong/if you have feedback - this is my first experience with sourcemod plugins<br /><br /><u><font size="2">cvars</font></u><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">selfrevive_adrenaline &quot;1&quot; - allow using adrenaline to revive<br />selfrevive_bot &quot;0&quot; - let bots self revive, requires selfrevive_noitem to be 1<br />selfrevive_delay &quot;0.0&quot; - Self revive delay<br />selfrevive_delay_incap &quot;0.0&quot; - Self revive delay for incapacitation<br />selfrevive_delay_ledge &quot;0.0&quot; - Self revive delay<br />selfrevive_duration &quot;3.0&quot; - Self revive duration<br />selfrevive_duration_incap &quot;5.0&quot; - Self revive duration for incapacitation, setting higher than 5 will disable animation<br />selfrevive_duration_ledge &quot;4.5&quot; - Self revive duration for ledge grab, setting higher than 5 will disable animation<br />selfrevive_grab &quot;1&quot; - Self revive for smoker grab, 0:Disable, 1:Enable<br />selfrevive_hint_delay &quot;4.0&quot; - Self revive hint delay<br />selfrevive_incap &quot;1&quot; - Self revive for incapacitation, 0:Disable, 1:Enable<br />selfrevive_itempriority &quot;0&quot; - set this to 1 if you want medkit to be used before pills/adrenaline<br />selfrevive_kill &quot;0&quot; - Do not kill special infected when breaking free; 1: Kill special infected when breaking free<br />selfrevive_ledge &quot;1&quot; - Self revive for ledge grabs, 0:Disable, 1:Enable<br />selfrevive_medkit &quot;1&quot; - allow using medkit to revive<br />selfrevive_noitem &quot;1&quot; - allow reviving without items<br />selfrevive_noitem_health &quot;10.0&quot; - how much temporary health you will have after reviving with no item<br />selfrevive_pills &quot;1&quot; - allow using pills to revive<br />selfrevive_pounce &quot;1&quot; - Self revive for hunter pounce, 0:Disable, 1:Enable<br />selfrevive_pummel &quot;1&quot; - Self revive for charger pummel , 0:Disable, 1:Enable<br />selfrevive_ride &quot;1&quot; - Self revive for jockey ride, 0:Disable, 1:Enable<br />selfrevive_versus &quot;0&quot; - 0: Disable in versus, 1: Enable in versus</code><hr />
</div></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/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...iveitem.smx</a>(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