debugspeed - "Top Speed" display

jerkstoresupjerkstoresup Join Date: 2011-06-22 Member: 105840Members
edited May 2012 in Modding
<div class="IPBDescription">Shows a peak next to the bar indicating your highest speed reached</div>This just adds a "peak" that shows the highest speed you've reached since enabling debugspeed, so that you can note your improvement, or try to break the game's limits.

This only changes "ns2/lua/GUISpeedDebug.lua". Grab my Build 206 version here:

<a href="http://db.tt/J1mb6aJw" target="_blank">GUISpeedDebug.lua + Top Speed Mod</a>

<!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo--><a href="http://db.tt/UeOvmqTo" target="_blank">.patch file</a>, if needed (diffutils).<!--sizec--></span><!--/sizec-->



Also I found a tiny bug along my way. debugspeed does not toggle off properly without this:

Line 230 in <b>ConsoleCommands_client.lua</b>:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->GetGUIManager():DestroyGUIScriptSingle(gSpeedDebug)<!--c2--></div><!--ec2-->
should be
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->GetGUIManager():DestroyGUIScriptSingle("GUISpeedDebug")<!--c2--></div><!--ec2-->

Screenshot
<img src="http://i.imgur.com/KidPQ.jpg" border="0" class="linked-image" />

In action
<center><object width="450" height="356"><param name="movie" value="http://www.youtube.com/v/HqEGLCy2ugQ"></param><embed src="http://www.youtube.com/v/HqEGLCy2ugQ" type="application/x-shockwave-flash" width="450" height="356"></embed></object></center>

Comments

Sign In or Register to comment.