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] Shortstop "Shove" Animation Enabler


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

Napisano 20.01.2017 21:01

<div><div align="center"><br /><font size="4"><b>Shortstop &quot;Shove&quot; Animation Enabler</b></font><br /></div>Yeah, the Shortstop has a shove if you alt-fire (+attack2). It's the equivalent of using sm_slap on someone and adds a little flame particle at the shoved player's feet (almost like what that one sm_bring plugin does).<br /><br />But there's an unused world animation that would allow other players to see that you're shoving. Problem is, Valve is Valve, and the animation wasn't set up to play for one reason or another (perhaps they're saving this fix as a &quot;trump card&quot; when someone calls them out for not fixing things so they can say &quot;ha, we fixed the shortstop not having shove animations&quot;?)<br /><br />This thing enables the animations. There's a way to do this that doesn't require signatures and offsets that can/will break on updates, and isn't entirely a pain in the cun-ning linguals. If anyone wants to attempt to make it, here's the hint Pelipoika gave me: <a href="https://github.com/L...layer.cpp#L121"target="_blank">tf_player.cpp#L121</a> and <a href="https://github.com/LestaD/SourceEngine2007/blob/master/se2007/game/server/tf/tf_player.cpp#L1227" target="_blank">tf_player.cpp#L1227</a> (both relate to the TE_PlayerAnimEvent tempent and the code is from the 2007 source dev repo leak for TF2)<br /><br /><br /><font size="3"><b>Required Extensions:</b></font><br /><ul><li><a href="https://forums.alliedmods.net/showthread.php?t=180114" target="_blank">DHooks</a></li>
</ul><br /><font size="3"><b>Convars:</b></font><br /><ul><li><b>tf2_shortstopshove_version</b> - Standard version convar. Do not touch!</li>
</ul><br /><font size="3"><b>Installation Instructions:</b></font><br /><ol style="list-style-type: decimal"><li>Download the plugin (available via Github)</li>
<li>Extract the plugin to your server.</li>
<li>rcon sm plugins load tf2_shortstopshovefix</li>
<li>???</li>
<li>Profit!</li>
</ol><br /><font size="3"><b>Known Bugs:</b></font><br />If you use a thirdperson plugin, you'll notice sometimes that you don't do the shove animation. That's clientside. Serverside, other players will see the animation play every time you shove.<br /><br />IIRC, I forget exactly what Peli said the cause of it was but I believe it was something along the lines of a quirk in how the animation system works.<br /><br /><br /><font size="3"><b>Version History:</b></font><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Version History</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 /><b><u>1.0</u></b><br /><ul><li>Initial release</li>
</ul><br /></div>
</div>
</div><br /><br /><br /><font size="3"><b>Credits:</b></font><br /><b>Pelipoika</b> - Beat me to the punch when I was working on my own version of this and created the <a href="https://forums.allie...d.php?t=292910"target="_blank">original snippet</a>. He also helped me learn how to get offsets and signatures so I can attempt to keep the signatures for this updated (for Linux at least, I may need help getting the Windows signatures. I can get the Linux/Windows offsets from Asherkin's VTables dumper, and I have IDA to get the Linux signature).<br /><br /><br /><font size="3"><b>Problems? Suggestions?</b></font><br />There shouldn't be any errors or bugs in this plugin, but if you do happen to find any, please let me know on this thread and I'll try my best to correct the issues! And as well, if you have any suggestions for ways to rework my code, or suggestions of new things to add, let me know!<br /><br /><br /><div align="center"><a href="https://github.com/404UserNotFound/ShortstopShove" target="_blank"><img src="http://www.unfgaming.net/images/button_downloadongithub.png" border="0" alt="" /></a></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/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...32"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1484941966">GetSource</a> (tf2_shortstopshovefix.sp - 2.7 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...hovefix.smx</a>(5.5 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/txt.gif"alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...opshove.txt</a>(527 Bytes)


</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