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

[TF2] The Hidden Mod Redux


  • 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 23.06.2016 15:06

<div><font size="5">The Hidden Mod Redux</font><br /><br />Originally created by Matheus28 - <a href="http://forums.allied...d.php?t=143577"target="_blank">link</a><br />Then modified and improved by atomic-penguin(Eric G. Wolfe) and Daniel Murray - <a href="https://forums.alliedmods.net/showthread.php?t=206742" target="_blank">link</a><br /><br />Now redux by me, luki1412 . I didn't want the mod to die, but the last version had a lot of problems. The main being - crash when giving player a knife. EquipPlayerWeapon is the cause. I didn't want to use TF2Items just so I can replace 1 weapon for 1 person. I couldnt find a way to fix this but I did at last. TF2 Items is not required. I loved this mod so Im bringing it back.<br /><br /><b>Description:</b><br />Never heard of this mod before? Its a The Hidden:Source-like mod for TF2. Basically a variant of One person vs Everyone else(like vs saxton hale). On the red team you have players(called team IRIS) with no special abilities but you have the quantity. On the blue team you have The Hidden. Its a permanently cloaked spy, only revealed when attacking or using his abilities. The objective is pretty simple - kill the hidden before he kills you.<br /><br /><b>What's different from the version by atomic-penguin and Daniel Murray?</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;"><ul><li>the hidden no longer has the ability to boo, he has a cluster bomb instead</li>
<li>added a lot of cvars so you can customize the mod</li>
<li>fixed all bugs I could find</li>
<li>players are no longer allowed to switch their team just to be on the same team as the hidden</li>
<li>the command for forcing the next hidden is now working correctly and wont make a spectator the next hidden</li>
<li>removed unused code and afk for hidden</li>
<li>added a hunger meter for the hidden, if it reaches 100%, the hidden dies</li>
<li>fixed the problem with tf2 assistances - if the hidden were to die from hunger or a suicide, tf2 would give the frag to the last person that damaged him. tf2 still showing the assistance but he wont become the next hidden</li>
<li>the next hidden selection is based on the damage done to the hidden(or selected randomly if not killed by a player)</li>
<li>the plugin now properly compiles even if you dont have the steamtools inc file</li>
<li>the hidden now takes no fall damage</li>
<li>the hidden's hp is now properly calculated based on the number of players on the server</li>
<li>you can now modify hp, the hidden gets after a kill and it is changed based on the class of victim</li>
<li>pounce modified so you can stick to the walls and look around</li>
<li>the cluster bomb for the hidden wont damage him, but if it kills an enemy the hidden gets hp back</li>
<li>code optimizations</li>
<li>there is a cvar for heavies/pyros but even if you allow them, their primary weapon will be removed</li>
<li>there is a cvar for engies, but even if you allow them, they cant build sentries and you can limit whether they can upgrade their dispenser and teleporter</li>
<li>there is a cvar for removing razorbacks</li>
<li>the autoexec is now properly named and the version cvar is removed from the config file</li>
<li>the hidden now wont die when he wins - he just gets his powers removed</li>
<li>setting multiple tf2 cvars so the mod is working properly</li>
</ul></div>
</div>
</div><br /><br /><b>Commands:</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 />sm_nexthidden &lt;player&gt; - a console command that forces the player specified to be the next hidden, regardless of who wins the round. Cant select a player that isnt on RED/BLU<br />/nexthidden - a chat command, doing the same mentioned above<br /></div>
</div>
</div><br /><br /><b>Cvars:</b><br />This plugin autocreates a config file, you can use to change cvars(in cfg/sourcemod).<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 />// Allow/disallow upgrading dispensers.<br />// -<br />// Default: &quot;0&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1.000000&quot;<br />sm_thehidden_allowdispenserupgrade &quot;0&quot;<br /><br />// Set whether engineers are allowed on team IRIS<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1.000000&quot;<br />sm_thehidden_allowengineer &quot;1&quot;<br /><br />// Set whether heavies are allowed on team IRIS<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1.000000&quot;<br />sm_thehidden_allowheavy &quot;1&quot;<br /><br />// Set whether pyros are allowed on team IRIS<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1.000000&quot;<br />sm_thehidden_allowpyro &quot;1&quot;<br /><br />// Allow/disallow razorbacks for snipers<br />// -<br />// Default: &quot;0&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1.000000&quot;<br />sm_thehidden_allowrazorback &quot;0&quot;<br /><br />// Allow/disallow upgrading teleporters.<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1.000000&quot;<br />sm_thehidden_allowteleporterupgrade &quot;1&quot;<br /><br />// Turn alltalk on and voice icons off.<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1.000000&quot;<br />sm_thehidden_alltalk &quot;1&quot;<br /><br />// Delay of the cluster bomb detonation.<br />// -<br />// Default: &quot;1.8&quot;<br />// Minimum: &quot;0.100000&quot;<br />// Maximum: &quot;100.000000&quot;<br />sm_thehidden_bombdetonationdelay &quot;1.8&quot;<br /><br />// Amount of bomb clusters(bomblets) inside a cluster bomb.<br />// -<br />// Default: &quot;10&quot;<br />// Minimum: &quot;1.000000&quot;<br />// Maximum: &quot;30.000000&quot;<br />sm_thehidden_bombletcount &quot;10&quot;<br /><br />// Magnitude of a bomblet.<br />// -<br />// Default: &quot;50&quot;<br />// Minimum: &quot;1.000000&quot;<br />// Maximum: &quot;1000.000000&quot;<br />sm_thehidden_bombletmagnitude &quot;50&quot;<br /><br />// Parameter(spread velocity) for a randomized direction, bomblets are going to use.<br />// -<br />// Default: &quot;60.0&quot;<br />// Minimum: &quot;1.000000&quot;<br />// Maximum: &quot;500.000000&quot;<br />sm_thehidden_bombletspreadvel &quot;60.0&quot;<br /><br />// Parameter(variation) for a randomized direction, bomblets are going to use.<br />// -<br />// Default: &quot;1.5&quot;<br />// Minimum: &quot;0.100000&quot;<br />// Maximum: &quot;10.000000&quot;<br />sm_thehidden_bombletvariation &quot;1.5&quot;<br /><br />// Parameter(vertical velocity) for a randomized direction, bomblets are going to use.<br />// - <br />// Default: &quot;90.0&quot;<br />// Minimum: &quot;1.000000&quot;<br />// Maximum: &quot;500.000000&quot;<br />sm_thehidden_bombletvertvel &quot;90.0&quot;<br /><br />// Cluster bomb throw speed.<br />// -<br />// Default: &quot;2000&quot;<br />// Minimum: &quot;1.000000&quot;<br />// Maximum: &quot;10000.000000&quot;<br />sm_thehidden_bombthrowspeed &quot;2000&quot;<br /><br />// Cluster bomb cooldown.<br />// - <br />// Default: &quot;20.0&quot;<br />// Minimum: &quot;1.000000&quot;<br />// Maximum: &quot;1000.000000&quot;<br />sm_thehidden_bombtime &quot;20.0&quot;<br /><br />// Enables/disables the hidden mod redux.<br />// -<br />// Default: &quot;1&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1.000000&quot;<br />sm_thehidden_enabled &quot;1&quot;<br /><br />// Amount of hp used for calculating the Hidden's starting/max hp.<br />// -<br />// Default: &quot;500&quot;<br />// Minimum: &quot;1.000000&quot;<br />// Maximum: &quot;10000.000000&quot;<br />sm_thehidden_hpbase &quot;500&quot;<br /><br />// Amount of hp the Hidden gets back after he kills a player. This value changes based on victim's class.<br />// -<br />// Default: &quot;50&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1000.000000&quot;<br />sm_thehidden_hpincreaseperkill &quot;50&quot;<br /><br />// This amount of hp, multiplied by the number of players, plus the base hp, equals The Hidden's hp.<br />// -<br />// Default: &quot;50&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;1000.000000&quot;<br />sm_thehidden_hpincreaseperplayer &quot;50&quot;<br /><br />// The Hidden's special jump's cooldown.<br />// -<br />// Default: &quot;0.1&quot;<br />// Minimum: &quot;0.100000&quot;<br />// Maximum: &quot;100.000000&quot;<br />sm_thehidden_jumptime &quot;0.1&quot;<br /><br />// The Hidden's pounce's max duration.<br />// -<br />// Default: &quot;10.0&quot;<br />// Minimum: &quot;1.000000&quot;<br />// Maximum: &quot;1000.000000&quot;<br />sm_thehidden_pouncetime &quot;10.0&quot;<br /><br />// Time til the Hidden dies without killing.<br />// -<br />// Default: &quot;120.0&quot;<br />// Minimum: &quot;10.000000&quot;<br />// Maximum: &quot;1000.000000&quot;<br />sm_thehidden_starvationtime &quot;120.0&quot;<br /><br />// How much time the Hidden is visible for, after throwing the cluster bomb.<br />// -<br />// Default: &quot;1.5&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;3.000000&quot;<br />sm_thehidden_visiblebomb &quot;1.5&quot;<br /><br />// How much time the Hidden is visible for, after taking weapon damage.<br />// -<br />// Default: &quot;0.5&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;3.000000&quot;<br />sm_thehidden_visibledamage &quot;0.5&quot;<br /><br />// How much time the Hidden is visible for, when splashed with jarate, mad milk, or bonked.<br />// -<br />// Default: &quot;1.0&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;3.000000&quot;<br />sm_thehidden_visiblejarate &quot;1.0&quot;<br /><br />// How much time the Hidden is visible for, when dashing.<br />// -<br />// Default: &quot;0.25&quot;<br />// Minimum: &quot;0.000000&quot;<br />// Maximum: &quot;3.000000&quot;<br />sm_thehidden_visiblepounce &quot;0.25&quot;<br /></div>
</div>
</div><br />Some of the cvars(mainly cooldown cvars) above wont take effect until the next round starts, because it would break the functionality of the mod. If it is a time period cvar, its not in seconds but in server ticks (0.01 is one tick). Default values should be fine for most servers.<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 />1.00 - Initial version<br /></div>
</div>
</div><br /><br /><b>Installation:</b><br />It was tested and made for sourcemod 1.8 so I recommend to compile it yourself, because the webcompiler uses 1.7. Might still work on 1.7, but I havent tested it on 1.7.<br />SteamTools is needed only for changing the game in server browser.<br /><br />Without SteamTools:<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 />1. Download the plugin(or the source and compile it yourself)<br />2. Put it in tfaddonssourcemodplugins<br />2. Change map<br /></div>
</div>
</div><br /><br />With SteamTools(<a href="https://forums.allie...d.php?t=170630"target="_blank">thread link</a>):<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 />1. Download the SteamTools extention and install it<br />2. Download the SteamTools include and put it in addonssourcemodscriptinginclude<br />3. Download The hidden mod redux .sp file and put it in addonssourcemodscripting<br />4. Compile the plugin<br />5. Put the compiled .smx from addonssourcemodscriptingcompile in tfaddonssourcemodplugins<br />6. Change map<br /></div>
</div>
</div><br /><br /><b>Thanks to:</b><br />- Matheus28 - for creating the original mod<br />- atomic-penguin(Eric G. Wolfe) and Daniel Murray - for updating the mod<br />- the person who created the cluster bomb code - sorry I forgot who that was, its been a while<br />- creators of SMLIB - I borrowed a couple of functions <br />- everyone who helped me test it or provided help with the code<br />- asherkin for SteamTools</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="http://www.sourcemod...68"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1466690573">GetSource</a> (TheHiddenModRedux.sp - 56.5 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