<div><u><font size="2"><b>About<b></b>:</b></font></u><ul><li>Fixes plugins fighting over the "<tt>m_flLaggedMovementValue</tt>" netprop value.</li>
<li>Multiple plugins can now use this plugin to retrieve the value to set, whilst considering other plugins that may set the speed.</li>
<li>Server owners have the option to combine the speed from plugins setting player speed, or average the speed set by them.</li>
</ul><br /><br /><br /><u><font size="2"><b>Plugins using this:</b></font></u><ul><li><a href="https://forums.allie...d.php?t=334240"target="_blank" rel="noopener">[L4D & L4D2] Weapons Movement Speed</a> (v2.4 or newer) by "Silvers"</li>
<li><a href="https://forums.allie...d.php?t=336751"target="_blank" rel="noopener">[L4D & L4D2] Indomitable Survivor Bot</a> (v1.8 or newer) by "NoroHime"</li>
</ul><br /><br /><br /><u><font size="2"><b>Natives and Information for developers:</b></font></u><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;"><ul><li>Suggest viewing "<a href="https://forums.allie...d.php?t=334240"target="_blank" rel="noopener">Weapons Movement Speed</a>" plugin for an implementation example on making this plugin optional.</li>
<li>Highly suggest searching for "Fix movement speed bug when jumping or staggering" in "<a href="https://forums.allie...d.php?t=334240"target="_blank" rel="noopener">Weapons Movement Speed</a>" and adding this section to fix issues when jumping and speed value is set.</li>
</ul><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">/**
<br /> * @brief Given the requested value, returns the required value to set considering all plugins wanting to set the m_flLaggedMovementValue value.
<br /> * @remarks The last plugin requesting this value in the same frame will be the one writing the value.
<br /> * @remarks Typically plugins set the m_flLaggedMovementValue in a PreThinkPost function.
<br /> *
<br /> * @notes Highly suggest viewing "Weapons Movement Speed" plugin by "Silvers" and adding the "Fix movement speed bug when jumping or staggering" code
<br /> * @notes from that plugin to your plugins PreThinkPost function before setting the m_flLaggedMovementValue value. This fixes bugs with the m_flLaggedMovementValue
<br /> * @Notes causing player to jump faster or slower when the value is changed from 1.0.
<br /> *
<br /> * @Notes View the "Weapons Movement Speed" plugin source to make this plugin optionally used if detected.
<br /> * @Notes Example code usage: SetEntPropFloat(client, Prop_Send, "m_flLaggedMovementValue", L4D_LaggedMovement(client, 2.0));
<br /> *
<br /> * @param client Client index of the person we're changing the speed value on
<br /> * @param value The speed we want to set on this player
<br /> * @param forced If forcing the value it will override all other plugins setting the value
<br /> *
<br /> * @return The speed value we need to set
<br /> */
<br /></span><span style="color: #0000BB">native float L4D_LaggedMovement</span><span style="color: #007700">(</span><span style="color: #0000BB">int client</span><span style="color: #007700">, </span><span style="color: #0000BB">float value</span><span style="color: #007700">, </span><span style="color: #0000BB">bool forced </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><br /><br /><u><font size="2"><b>CVars:</b></font></u><br /><br />Saved to <font color="Green">l4d_lagged_movement.cfg</font> in your servers <font color="Green">cfgsourcemod</font> 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">// When plugins compete to set a players speed value should the final value be: 1=Average of both. 2=Combined value added from both.
<br /></span><span style="color: #0000BB">l4d_lagged_movement_type </span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">// Lagged Movement - Plugin Conflict Resolver plugin version.
<br /></span><span style="color: #0000BB">l4d_lagged_movement_version
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><br /><br /><u><font size="2"><b>Changes:</b></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">1.0 (12-Nov-2022)<br /> - Initial release.</code><hr />
</div><br /><br /><u><font size="2"><b>Installation:</b></font></u><ol style="list-style-type: decimal"><li>Click "<b>Get Plugin</b>" and put the .smx file into your servers <font color="Green">addonssourcemodplugins</font> folder.</li>
</ol></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...09"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1668253590">GetSource</a> (l4d_lagged_movement.sp - 5.8 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse
Adminek AMXX.PL
Rejestracja: 08.01.2008Aktualnie: Nieaktywny
Poza forum Ostatnio: 06.02.2014 16:02





Statystyki
- Grupa: Bot
- Całość postów: 7 288
- Odwiedzin: 70 877
- Tytuł: Admin :)
- Wiek: 15 lat
- Urodziny: Styczeń 8, 2008
-
Płeć
Mężczyzna
-
Lokalizacja
AMXX.PL
Narzędzia użytkownika
Ostatnio byli
Moje tematy
[L4D/L4D2] Self Help Items (nov 12 2022)
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 "1" - allow using adrenaline to revive<br />selfrevive_bot "0" - let bots self revive, requires selfrevive_noitem to be 1<br />selfrevive_delay "0.0" - Self revive delay<br />selfrevive_delay_incap "0.0" - Self revive delay for incapacitation<br />selfrevive_delay_ledge "0.0" - Self revive delay<br />selfrevive_duration "3.0" - Self revive duration<br />selfrevive_duration_incap "5.0" - Self revive duration for incapacitation, setting higher than 5 will disable animation<br />selfrevive_duration_ledge "4.5" - Self revive duration for ledge grab, setting higher than 5 will disable animation<br />selfrevive_grab "1" - Self revive for smoker grab, 0:Disable, 1:Enable<br />selfrevive_hint_delay "4.0" - Self revive hint delay<br />selfrevive_incap "1" - Self revive for incapacitation, 0:Disable, 1:Enable<br />selfrevive_itempriority "0" - set this to 1 if you want medkit to be used before pills/adrenaline<br />selfrevive_kill "0" - Do not kill special infected when breaking free; 1: Kill special infected when breaking free<br />selfrevive_ledge "1" - Self revive for ledge grabs, 0:Disable, 1:Enable<br />selfrevive_medkit "1" - allow using medkit to revive<br />selfrevive_noitem "1" - allow reviving without items<br />selfrevive_noitem_health "10.0" - how much temporary health you will have after reviving with no item<br />selfrevive_pills "1" - allow using pills to revive<br />selfrevive_pounce "1" - Self revive for hunter pounce, 0:Disable, 1:Enable<br />selfrevive_pummel "1" - Self revive for charger pummel , 0:Disable, 1:Enable<br />selfrevive_ride "1" - Self revive for jockey ride, 0:Disable, 1:Enable<br />selfrevive_versus "0" - 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ł
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">selfrevive_adrenaline "1" - allow using adrenaline to revive<br />selfrevive_bot "0" - let bots self revive, requires selfrevive_noitem to be 1<br />selfrevive_delay "0.0" - Self revive delay<br />selfrevive_delay_incap "0.0" - Self revive delay for incapacitation<br />selfrevive_delay_ledge "0.0" - Self revive delay<br />selfrevive_duration "3.0" - Self revive duration<br />selfrevive_duration_incap "5.0" - Self revive duration for incapacitation, setting higher than 5 will disable animation<br />selfrevive_duration_ledge "4.5" - Self revive duration for ledge grab, setting higher than 5 will disable animation<br />selfrevive_grab "1" - Self revive for smoker grab, 0:Disable, 1:Enable<br />selfrevive_hint_delay "4.0" - Self revive hint delay<br />selfrevive_incap "1" - Self revive for incapacitation, 0:Disable, 1:Enable<br />selfrevive_itempriority "0" - set this to 1 if you want medkit to be used before pills/adrenaline<br />selfrevive_kill "0" - Do not kill special infected when breaking free; 1: Kill special infected when breaking free<br />selfrevive_ledge "1" - Self revive for ledge grabs, 0:Disable, 1:Enable<br />selfrevive_medkit "1" - allow using medkit to revive<br />selfrevive_noitem "1" - allow reviving without items<br />selfrevive_noitem_health "10.0" - how much temporary health you will have after reviving with no item<br />selfrevive_pills "1" - allow using pills to revive<br />selfrevive_pounce "1" - Self revive for hunter pounce, 0:Disable, 1:Enable<br />selfrevive_pummel "1" - Self revive for charger pummel , 0:Disable, 1:Enable<br />selfrevive_ride "1" - Self revive for jockey ride, 0:Disable, 1:Enable<br />selfrevive_versus "0" - 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ł
[L4D2] Infinite Horde Control (1.0.0, 12 Oct. 2022)
11.11.2022 22:44
<div><b>About<b></b>:</b><br />This plugin provides you to control infinite horde events.<br /><br /><b>Features:</b><br /><i>Actions:</i><br />- <b>Hook start</b> of infinite horde event.<br />- <b>Hook end</b> of infinite horde event.<br />- <b>Blocking</b> infinite horde event script execution.<br />- <b>Changing</b> default infinite horde event on custom.<br />- <b>Pause / Unpause</b> current infinite horde event.<br /><br /><i>Info:</i><br />- Get status of current infinite horde (currently active or not).<br />- Get pause status of current infinite horde (currently paused or not).<br /><br /><b>Requirements and dependencies:</b><br />- SourceMod 1.11.<br />- <a href="https://forums.allie...d.php?t=321696"target="_blank" rel="noopener">[L4D & L4D2] Left 4 DHooks Direct</a>.<br />- <a href="https://forums.alliedmods.net/showthread.php?p=2662706" target="_blank" rel="noopener">[L4D2 & CS:GO & NMRiH] VScript File Replacer</a>.<br />- Colors Include (uploaded in this post).<br /><br /><b>ConVars:</b><br />Stored in <font color="SeaGreen">l4d2_infinite_horde_control.cfg</font> in your server <font color="SeaGreen">cfgsourcemod</font> folder.<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">l4d2_ihc_debug_mode </span><span style="color: #DD0000">"0" </span><span style="color: #007700">- </span><span style="color: #DD0000">"0 = disable debug mode | 1 = enabled debug mode"
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b>Admin commands:</b><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">sm_info </span><span style="color: #007700">- </span><span style="color: #DD0000">"Show debug map info"</span><span style="color: #007700">.
<br /></span><span style="color: #0000BB">sm_horde_pause </span><span style="color: #007700"><</span><span style="color: #DD0000">'time'</span><span style="color: #007700">> - </span><span style="color: #DD0000">"Pause/Unpause infinite horde (if command executed without argument (time) by default it equals 0.0 that means infinite pause)"</span><span style="color: #007700">.
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b>Forwards:</b><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 /><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">// Starts when infinite horde event has started
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeStart</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Starts when infinite horde event has stopped
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeEnd</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Starts when default infinite horde event script has been blocked
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeBlock</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Starts when default infinite horde event script has been overridden
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeOverride</span><span style="color: #007700">(</span><span style="color: #0000BB">char</span><span style="color: #007700">[] </span><span style="color: #0000BB">defaultScript</span><span style="color: #007700">, </span><span style="color: #0000BB">char</span><span style="color: #007700">[] </span><span style="color: #0000BB">overrideScript</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">// Starts when active infinite horde has been paused
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordePause</span><span style="color: #007700">(</span><span style="color: #0000BB">float pause_duration</span><span style="color: #007700">, </span><span style="color: #0000BB">float pause_start_time</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">// Starts when active infinite horde has been unpaused
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeUnpause</span><span style="color: #007700">(</span><span style="color: #0000BB">float pause_end_time</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><b>Natives:</b><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 /><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">// Get current status of infinite horde
<br />// returns <true> if infinite horde is currently active, <false> otherwise
<br /></span><span style="color: #0000BB">native bool IsInfiniteHordeActive</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Get current status of active infinite horde
<br />// returns <true> if infinite horde is currently paused, <false> otherwise
<br /></span><span style="color: #0000BB">native bool IsInfiniteHordePaused</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Pause active infinite horde
<br />// <pause_duration> - the time during which the pause will be valid (default 0.0 - means infinite pause)
<br />// no return
<br /></span><span style="color: #0000BB">native int PauseInfiniteHorde</span><span style="color: #007700">(</span><span style="color: #0000BB">float pause_duration </span><span style="color: #007700">= </span><span style="color: #0000BB">0.0</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">// Unpause active infinite horde
<br />// no return
<br /></span><span style="color: #0000BB">native int UnpauseInfiniteHorde</span><span style="color: #007700">();
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><b>Changelog:</b><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 /><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">1.0.0. (12 Oct. 2022) <br /> - Initial release.</code><hr />
</div></div>
</div>
</div><br /><br /><b>Installation:</b><br />Put <font color="SeaGreen">l4d2_infinite_horde_control.cfg</font> in <font color="seagreen">sourcemod/configs/</font> folder.<br />Put <font color="Blue">l4d2_infinite_horde_control.inc</font> in <font color="blue">sourcemod/scripting/include</font> folder.<br />Put <font color="Sienna">colors.inc</font> in <font color="sienna">sourcemod/scripting/include</font> folder.</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...97"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1668203449">GetSource</a> (l4d2_infinite_horde_control.sp - 21.7 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...control.inc</a>(2.1 KB)
</td>
</tr><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...control.cfg</a>(4.4 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...>colors.inc</a>(24.5 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
<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">l4d2_ihc_debug_mode </span><span style="color: #DD0000">"0" </span><span style="color: #007700">- </span><span style="color: #DD0000">"0 = disable debug mode | 1 = enabled debug mode"
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b>Admin commands:</b><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">sm_info </span><span style="color: #007700">- </span><span style="color: #DD0000">"Show debug map info"</span><span style="color: #007700">.
<br /></span><span style="color: #0000BB">sm_horde_pause </span><span style="color: #007700"><</span><span style="color: #DD0000">'time'</span><span style="color: #007700">> - </span><span style="color: #DD0000">"Pause/Unpause infinite horde (if command executed without argument (time) by default it equals 0.0 that means infinite pause)"</span><span style="color: #007700">.
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b>Forwards:</b><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 /><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">// Starts when infinite horde event has started
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeStart</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Starts when infinite horde event has stopped
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeEnd</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Starts when default infinite horde event script has been blocked
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeBlock</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Starts when default infinite horde event script has been overridden
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeOverride</span><span style="color: #007700">(</span><span style="color: #0000BB">char</span><span style="color: #007700">[] </span><span style="color: #0000BB">defaultScript</span><span style="color: #007700">, </span><span style="color: #0000BB">char</span><span style="color: #007700">[] </span><span style="color: #0000BB">overrideScript</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">// Starts when active infinite horde has been paused
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordePause</span><span style="color: #007700">(</span><span style="color: #0000BB">float pause_duration</span><span style="color: #007700">, </span><span style="color: #0000BB">float pause_start_time</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">// Starts when active infinite horde has been unpaused
<br /></span><span style="color: #0000BB">forward void OnInfiniteHordeUnpause</span><span style="color: #007700">(</span><span style="color: #0000BB">float pause_end_time</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><b>Natives:</b><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 /><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">// Get current status of infinite horde
<br />// returns <true> if infinite horde is currently active, <false> otherwise
<br /></span><span style="color: #0000BB">native bool IsInfiniteHordeActive</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Get current status of active infinite horde
<br />// returns <true> if infinite horde is currently paused, <false> otherwise
<br /></span><span style="color: #0000BB">native bool IsInfiniteHordePaused</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Pause active infinite horde
<br />// <pause_duration> - the time during which the pause will be valid (default 0.0 - means infinite pause)
<br />// no return
<br /></span><span style="color: #0000BB">native int PauseInfiniteHorde</span><span style="color: #007700">(</span><span style="color: #0000BB">float pause_duration </span><span style="color: #007700">= </span><span style="color: #0000BB">0.0</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">// Unpause active infinite horde
<br />// no return
<br /></span><span style="color: #0000BB">native int UnpauseInfiniteHorde</span><span style="color: #007700">();
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div>
</div>
</div><br /><br /><b>Changelog:</b><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 /><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">1.0.0. (12 Oct. 2022) <br /> - Initial release.</code><hr />
</div></div>
</div>
</div><br /><br /><b>Installation:</b><br />Put <font color="SeaGreen">l4d2_infinite_horde_control.cfg</font> in <font color="seagreen">sourcemod/configs/</font> folder.<br />Put <font color="Blue">l4d2_infinite_horde_control.inc</font> in <font color="blue">sourcemod/scripting/include</font> folder.<br />Put <font color="Sienna">colors.inc</font> in <font color="sienna">sourcemod/scripting/include</font> folder.</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...97"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1668203449">GetSource</a> (l4d2_infinite_horde_control.sp - 21.7 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...control.inc</a>(2.1 KB)
</td>
</tr><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...control.cfg</a>(4.4 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...>colors.inc</a>(24.5 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
[TF2] Robin (v1.0 11Nov2022)
11.11.2022 09:35
<div><b><u>Description:</u></b><br />This plugin allows Admins with the slay flag to target themselves or other players and make them become Robin, Batman's faithful sidekick. Robin is a powerful scout who has 3000 health and is armed with enhanced abilities, extraordinary weapons, a grappling hook, and 20 'Stealth' spells. The player cannot use healthpacks.<br /><br /><b><u>Important Note:</u></b><br />This plugin was designed for use on a server running Uber Upgrades. The power in this plugin is considered normal in that environment. If you are running a regular vanilla TF2 server you should consider editing the plugin to tone down the Robin abilities before using.<br /><br /><b><u>Credits:</u></b><br />The plugin is makes use of code developed by Pelipoika, FlaminSarge, Jaster, luki1412, manicogaming, StrikeR14, and Phil25. Thanks for sharing!<br /><br /><b><u>Admin Commands:</u></b><br />!robin<br />!robin <target><br />!robin<br />!berobin <target><br /><br /><b><u>Command Examples:</u></b><br />!Robin (makes YOU the Robin)<br />!Robin Chucky (makes player named Chucky the Robin)<br />!Robin @red (makes all players on RED team the Robin)<br /><br /><b><u>Dependencies:</u></b><br />This plugin requires TF2Attributes by FlaminSarge or nosoop. Here's a link: <a href="https://github.com/F.../tf2attributes"target="_blank" rel="nofollow noopener">https://github.com/F...tributes</a><br /><br /><b><u>Video of the Robin plugin:</u></b><br /><iframe width="420" height="315" src="https://www.youtube.com/embed/aKsHq6d4LHc?rel=0" frameborder="0" allowfullscreen></iframe><br /><br /><b><u>Installation:</u></b><br />Put robin.smx into the folder: /sourcemod/plugins/ <br />Change map<br /><br /><b><u>Change Log:</u></b><br />v1.0 11Nov2022: Initial release</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...79"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1668155631">GetSource</a> (robin.sp - 22.8 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...">robin.smx</a>(13.9 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
<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...79"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1668155631">GetSource</a> (robin.sp - 22.8 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...">robin.smx</a>(13.9 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
[TF2] Batman (v1.0 11Nov2022)
11.11.2022 09:26
<div><b><u>Description:</u></b><br />This plugin allows Admins with the slay flag to target themselves or other players and make them become the Batman. The Batman is a powerful soldier who has 3000 health and is armed with enhanced abilities, extraordinary weapons, a grappling hook, and 50 'Swarm of Bat' spells. The player cannot use healthpacks.<br /><br /><b><u>Important Note:</u></b><br />This plugin was designed for use on a server running Uber Upgrades. The power in this plugin is considered normal in that environment. If you are running a regular vanilla TF2 server you should consider editing the plugin to tone down the Batman abilities before using.<br /><br /><b><u>Credits:</u></b><br />The plugin is makes use of code developed by Pelipoika, FlaminSarge, Jaster, luki1412, manicogaming, StrikeR14, and Phil25. Thanks for sharing!<br /><br /><b><u>Admin Commands:</u></b><br />!batman<br />!batman<target><br />!bebatman<br />!bebatman <target><br /><br /><b><u>Command Examples:</u></b><br />!batman (makes YOU the Batman)<br />!batman Randy (makes player named Randy the Batman)<br />!batman @red (makes all players on RED team the Batman)<br /><br /><b><u>Dependencies:</u></b><br />This plugin requires TF2Attributes by FlaminSarge or nosoop. Here's a link: <a href="https://github.com/F.../tf2attributes"target="_blank" rel="nofollow noopener">https://github.com/F...tributes</a><br />The plugin checks to see if you are running 'Roll the Dice Revamped' by Phil25. If you are then Batman will also initially receive a brief period of Homing Projectiles. The use of this plugin is optional. Here's a link to 'Roll the Dice revamped': <a href="https://forums.alliedmods.net/showthread.php?t=278579" target="_blank" rel="noopener">https://forums.allie...t=278579</a><br /><br /><b><u>Video of the Batman plugin:</u></b><br /><iframe width="420" height="315" src="https://www.youtube.com/embed/JhviFNJb86Q?rel=0" frameborder="0" allowfullscreen></iframe><br /><br /><b><u>Installation:</u></b><br />Put batman.smx into the folder: /sourcemod/plugins/ <br />Change map<br /><br /><b><u>Change Log:</u></b><br />v1.0 11Nov2022: Initial release</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...77"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1668155025">GetSource</a> (batman.sp - 17.6 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...>batman.smx</a>(12.6 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
<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...77"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1668155025">GetSource</a> (batman.sp - 17.6 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...>batman.smx</a>(12.6 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
- AMXX.pl: Support AMX Mod X i SourceMod
- → Przeglądanie profilu: Tematy: Adminek AMXX.PL
- Regulamin