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


[Any] Coordinate Printer

  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156

  • Postów:7 530
  • Lokalizacja:AMXX.PL

Napisano 08.10.2014 21:24

<!-- BEGIN TEMPLATE: postbit_external -->
<div>This plugin simply provides some basic commands that return coordinates, similar to the getpos or cl_showpos 1 commands. This plugin has some key differences, however. This plugin is aimed mainly toward plugin developers, or perhaps server admins who use plugins that need coordinates manually inserted into a config file.<br /><br />I made this because I'm working for 3 different server communities, configuring about 17 total map-specific plugins, and I got REALLY tired of needing to constantly resize myself, make sure I wasn't accidentally in third person, etc.<br /><br />The commands are:<ul><li><b>sm_coords</b>, which prints the coordinates returned by the Sourcemod function GetClientAbsOrigin(). These are the coordinates that you want to use if needing to teleport a player back to this exact position. This is *approximately* the same information provided by getpos and cl_showpos 1 if the player is both in first-person mode, AND has been sm_resize'd to near-zero.<br /><br /></li>
<li><b>sm_eyecoords</b>, which prints the coordinates returned by GetClientEyePosition(). This is the location at which a theoretical hitscan bullet would be CREATED were the player to shoot RIGHT NOW. This is the same information provided by getpos and cl_showpos 1, but only if the player is in regular first-person mode. Where getpos and cl_showpos 1 seem to show incorrect information if the player is in third-person mode, this command is not affected by these modes.<br /><br /></li>
<li><b>sm_eyeangles</b>, which prints the angles returned by GetClientEyeAngles(). This information is identical to the angles given by getpos and cl_showpos 1.<br /><br /></li>
<li><b>sm_absangles</b>, which prints the angles returned by GetClientAbsAngles(). In TF2, this seems to be the literal angle at which your player model's body (his feet, not his head) seems to be facing.<br /><br /></li>
<li><b>sm_aimcoords</b>, which provides the location of the solid point that the player is looking at. In this plugin, &quot;solid&quot; is defined as anything that would stop a hitscan bullet that isn't another player.<br /><br /></li>
<li>Each of these commands supports targeting other players. Any command user with access to the override &quot;sm_coordinates_targetothers&quot; (default access is the 'cheats' flag) can indicate a target as the sole argument of the command.</li>
</ul><br />The plugin requires custom includes. As such, it does not compile here on the forums. Includes required to compile the plugin are:<ul><li><a href="" target="_blank"></a></li>
<li><a href="http://ddhoward.bitb...ude/" target="_blank"></a> (<a href="" target="_blank">source</a>)</li>
</ul>The Updater plugin does NOT need to be installed for this plugin to function.<br /><br /><br />I eventually plan on providing support for specifying a custom trace mask for use in the sm_aimcoords command. Currently, the command uses MASK_SHOT. Also, please notify me if you find that one or more of the commands do not work on a particular game/mod.<br /><br /><br />DOWNLOADS:<ul><li><a href="http://ddhoward.bitb...natePrinter.smx" target="_blank">Plugin</a></li>
<li><a href="http://ddhoward.bitb...inatePrinter.sp" target="_blank">Source</a></li>
</ul><br /><br /><br /><font size="1"><div align="center">If you like what you see here, please consider donating~<br /><a href="https://www.paypal.c...M.gif:NonHosted" target="_blank"><img src="" border="0" alt="" /></a></div></font></div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych