View Single Post
Author Message
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-27-2010 , 17:49   [CS:S/?] Speedometer v1.0.6 (Updated: 8/27/12)
Reply With Quote #1

Description:
  • Provides functionality to print out a user's current speed, with the ability to derive real-world units or any unit you wish to display.
  • (Previously approved by asherkin; reapproved to update version cvar)
Features:
  • Provides functionality for printing out a user's current velocity into one of three separate areas: center area, hint area, or key hint area.
  • Provides optional functionality for determining who the fastest player is each round.
  • Provides clientpref functionality to save speedometer settings.
  • Commands sm_meter and sm_speedometer to toggle speedometer display.
  • Translation support.
  • Ability to derive real world values from in-game units, so you can actually see a player's MPH or FPS.
    • This plugin works under the assumption that a "hammer unit" is roughly an inch, so all conversions should be made under the assumption of inches per second.
  • Supports running during OnGameFrame, for the most precise results, or every 0.1 to 2.0 seconds per user configuration.
ConVars:
  • sm_speedometer_method: Determines plugin functionality. (-1 = OnGameFrame(), 0 = Disabled, 0.1 <-> 2.0 = Refresh Delay)
  • sm_speedometer_factor: Optional numerical value that can be used to derive real world units from in-game velocity. Default: \"0.0\"
  • sm_speedometer_area: Determines printing area functionality. (0 = Hint, 1 = Center, 2 = Hud Hint* (Note: May be CPU intensive))
  • sm_speedometer_fastest: If enabled, the player with the highest velocity will be displayed at the end of the round.
  • sm_speedometer_default: If enabled, new clients will start with the speedometer enabled.
Installation:
  • Place sm_speedometer.smx within /sourcemod/plugins/
  • Place sm_speedometer.phrases.txt within /sourcemod/translations/
Notice:
  • If you are experincing a "swish" noise with sm_speedometer_area set to 0, please ensure sv_hudhint_sound is set to 0 in your server configuration file.
Attached Files
File Type: sp Get Plugin or Get Source (sm_speedometer.sp - 6868 views - 15.2 KB)
File Type: txt sm_speedometer.phrases.txt (1,006 Bytes, 3830 views)
__________________

Last edited by thetwistedpanda; 08-28-2012 at 11:07.
thetwistedpanda is offline