Raised This Month: $12 Target: $400
 3% 

[TF2] Medic Showammo 1.0.9


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Plugin ID:
2204
Plugin Version:
1.0.9
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Allows medics to see the ammo counts of the people they are healing
    Old 02-01-2011 , 04:51   [TF2] Medic Showammo 1.0.9
    Reply With Quote #1

    Description:
    People have been asking valve for a long time to show your healing target's ammo count. Uber someone and they have no ammo
    Well, with this plugin, you will be able to see the clip and total ammo of your target's primary weapon
    For Demomen, it shows both the primary and secondary.

    Uses client prefs to allow everyone to disable/enable, choose color, choose what charge level to begin seeing ammo acounts, and choose screen position for the message

    Cvars:
    sm_showammo_update_speed 0.5 // Speed to refresh medic ammo counts
    sm_showammo_charge_level 0.90 // charge level to begin displaying ammo counts

    Credits:
    Antithasys wrote a lot of the stocks i used, and made it real easy for me.

    Screenshot:
    http://cloud.steampowered.com/ugc/61...551BFB5038F23/

    Plans/Ideas:
    - Better labeling for the weapons?
    - healing spies....

    Changelog:
    Code:
    1.0.9
    - fix dumb is client in game error loggings :(
    
    1.0.8
    - fix counts for sniper/medic/pyro THANKS SO MUCH Tylerst
    
    1.0.7
    + add bottom left sync hud text position
    - fix typo with ammo counts with snipers
    
    1.0.6
    - fix move timer creation to OnPluginStart() mem leak :(
    
    1.0.5
    + add 2 convars to control who sees the ammo counts
    admins or everyone.
    
    1.0.4
    - change sync hud text to be the same duration as the update speed so 
    the colors show up better
    
    1.0.3
    - simplified message to show LOADED AMMO / MAX AMMO CLIP
    
    1.0.2
    - didnt upload  lulz
    
    1.1
      + add client pref settings for color, enabled, and position
      + add colors pink, green, and white
      - fix mistake with the default and min/max values for the charge level cvar. 
      --> min 0.0 max 1.0
      - replace 'Prim' and 'Sec' with #1 and #2
      --> still not sure if I like this :3
    Attached Files
    File Type: sp Get Plugin or Get Source (tf2_showammo.sp - 1726 views - 21.2 KB)
    __________________
    My Pluggies If you like, consider to me.

    Last edited by BrutalGoerge; 08-29-2012 at 14:04. Reason: Update
    BrutalGoerge is offline
     


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 05:31.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode