<div><a href="https://redd.it/4t079a"target="_blank">Idea stolen from this post.</a><br /><br /><b>Description:<br /></b>Players speak their MvM loot responses when picking up rare weapons.<br /><br />Specifically:<br /><ul><li>Rare loot response:<ul><li>Assassin-grade weapons.</li> 
<li>The C.A.P.P.E.R and Giger Counter also fall into this category.</li>
</ul></li>
<li>Ultra rare loot response:<ul><li>Unusual, Elite-grade, or Australium weapons.</li>
<li>Batsaber, Golden Wrench, and the Saxxy also fall into this category.</li>
</ul> </li>
</ul>The weapon rarity depends on a hard-coded list of item defindices.<br /><br />The plugin does not have any externally configurable options (i.e., no config files or ConVars).<br /><br /><b>Things this plugin will clobber:</b><br />The plugin detects weapon pickups by checking that the weapon in a <tt>WeaponEquipPost</tt> event hook is equipped by a different person than the owner.<br />As a result, if you're equipping items that fit one of the criteria mentioned onto players <i>and</i> not setting the account ID before that hook is fired, then the voice response will play.<br /><br /><b>Dependencies:</b><br />Just SDKHooks is absolutely required.  Australium detection is handled by checking for the "is australium item" attribute via TF2Attributes.<br /><br /><b>Changelog:</b><br /><ul><li><b>0.1.0</b> (2015-07-16)<ul><li>Rewrote the lookup table handling.  Instead of checking the weapon's grading, we just check for its perceived rarity instead.  The table is also zero-terminated now, instead of specifying how long it should be.</li>
</ul></li>
<li><b>0.0.2</b> (2015-07-16)<ul><li>Changed weapon pickup detection method.  Does not require SourceMod 1.8+ for <tt>OnClientCommandKeyValues_Post</tt> anymore.</li>
<li>This also means picking up a weapon they own (e.g., from killing a player that picked up their weapon) will not trigger the response line.</li>
</ul></li>
<li><b>0.0.1</b> (2015-07-16)<ul><li>Initial release.</li>
</ul> </li>
</ul><a href="https://github.com/n...ickupResponses"target="_blank">Source code and releases on Github.</a></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...sponses.smx</a>(6.2 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
       
 
	
[TF2] Weapon Pickup Responses
		 Temat rozp. Adminek AMXX.PL, 16.07.2016 08:33
	
	
	
	
		
			Brak odpowiedzi do tego tematu
		
	
		
	Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych


 Forum
 
Forum
 Użytkownicy
 
Użytkownicy
 Kalendarz
 
Kalendarz
 Dodatki SourceMod
 
Dodatki SourceMod



![[TF2] Weapon Pickup Responses: post #1](https://amxx.pl/public/style_images/tctc91_luminous/icon_share.png) 
					







