<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Comic Sans MS"><div align="center"><font size="5">Ladder Gravity Fixer</font></div></font><div align="center"><br /><br />People have been asking for a fix for the player's gravity being reset for a while now, and I've browsed the forum to see if a fix is available but didn't seem to reach one. So I made one myself :)</div><br /><font face="Comic Sans MS"><font size="4">Description :</font></font><br /><br />Resets the player's gravity to the gravity they had after touching a ladder, works even if a new gravity was set while the player has been on a ladder while the command / function ran.<br /><br /><font color="#FF0000">For people who are interested of knowing how the plugin works (what it does in the code) :</font><br />The plugin checks on every frame what is the player's gravity and movetype (as when the player is on a ladder he gets a movetype that is called MOVETYPE_LADDER).<br />If the player is on a ladder, it checks if the gravity of the player is not 0.0 (the gravity the player gets on every frame he's on the ladder) to update the gravity change.<br />If the player is not on a ladder, the plugin checks if his previous movetype was MOVETYPE_LADDER (or in short, if the player was on a ladder in the last frame), if it was, the plugin sets the player's gravity back to what he had before.<br /><br /><font face="Comic Sans MS"><font size="4">Changelog :</font></font><ul><li>1.0 (May 9th 2014)<br />* Initial Release.</li>
</ul></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...?file_id=133331"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1399588219">Get Source</a> (laddergravityfix.sp - 886 Bytes)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
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
[CSS] Ladder Gravity Fixer
Temat rozp. Adminek AMXX.PL, 08.05.2014 23:32
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych