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

[TF2] Custom Uber Time


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Ugleh
Member
Join Date: Oct 2009
Plugin ID:
2315
Plugin Version:
0.1.2
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows the admin to set how long ubers can last.
    Unapprover:
    Reason for Unapproving:
    doesn't appear useful beyond setting a cvar
    Old 04-24-2011 , 05:24   [TF2] Custom Uber Time
    Reply With Quote #1

    Custom Uber Time
    Allows you to set the amount of seconds a Deployed Uber can last. This includes your set time in seconds + the drain from 100 to 0.

    I also released a second version titled CustomUberTime_Alert which provides players with how much time they have left. This version also empty's there ubercharge once the time is up.


    The Center Text counts down from your set time.
    CVARs:
    sm_cut_enable <0/1> -Enable CUT
    sm_cut_seconds <60/120/180/etc> -Amount of Seconds for Deployed Ubers to last

    Changelog:
    Code:
    Version 0.1 - April 24, 2011
    * Initial Release.
    Version 0.1.2 April 24,2011
    * Added a second .sp with different features.
    Attached Files
    File Type: sp Get Plugin or Get Source (CustomUberTime.sp - 528 views - 2.0 KB)
    File Type: sp Get Plugin or Get Source (CustomUberTime_alert.sp - 515 views - 2.2 KB)

    Last edited by Ugleh; 04-24-2011 at 13:09.
    Ugleh is offline
    Ugleh
    Member
    Join Date: Oct 2009
    Old 04-24-2011 , 08:07   Re: [TF2] Custom Uber Time
    Reply With Quote #2

    Fixed a bug, if anyone had the old version, you probably knew seeing as it wasn't working.
    Ugleh is offline
    Tylerst
    Veteran Member
    Join Date: Oct 2010
    Old 04-25-2011 , 02:13   Re: [TF2] Custom Uber Time
    Reply With Quote #3

    Uh...wouldn't it be easier just to change it in game with the built in cvars?

    //Amount of seconds for uber to charge
    sm_cvar tf_medigun_charge_rate "40"

    //Amount of seconds for uber to last
    sm_cvar tf_medigun_chargerelease_rate "8"


    Now..if you added, say, setting this per player/admins only instead of everyone it would be useful, but as far as I can tell, this does nothing you cant do with the cvars.

    Last edited by Tylerst; 04-25-2011 at 03:04.
    Tylerst is offline
    Ugleh
    Member
    Join Date: Oct 2009
    Old 04-25-2011 , 13:57   Re: [TF2] Custom Uber Time
    Reply With Quote #4

    I didn't know about those cvars D:
    Ill work on the per player thing instead i guess, and scrap this.
    Ugleh is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 04-26-2011 , 17:57   Re: [TF2] Custom Uber Time
    Reply With Quote #5

    ...or rebuild this plugin and add that functionality.
    Drixevel is offline
    desynced
    Member
    Join Date: Feb 2010
    Old 05-21-2011 , 15:51   Re: [TF2] Custom Uber Time
    Reply With Quote #6

    Quote:
    Originally Posted by Tylerst View Post
    Uh...wouldn't it be easier just to change it in game with the built in cvars?

    //Amount of seconds for uber to charge
    sm_cvar tf_medigun_charge_rate "40"

    //Amount of seconds for uber to last
    sm_cvar tf_medigun_chargerelease_rate "8"


    Now..if you added, say, setting this per player/admins only instead of everyone it would be useful, but as far as I can tell, this does nothing you cant do with the cvars.
    sm_cvar tf_medigun_charge_rate "40"
    [SM] Unable to find cvar: tf_medigun_charge_rate

    sm_cvar tf_medigun_chargerelease_rate "8"
    [SM] Unable to find cvar: tf_medigun_chargerelease_rate
    desynced is offline
    Tylerst
    Veteran Member
    Join Date: Oct 2010
    Old 06-06-2011 , 11:10   Re: [TF2] Custom Uber Time
    Reply With Quote #7

    Quote:
    Originally Posted by desynced View Post
    sm_cvar tf_medigun_charge_rate "40"
    [SM] Unable to find cvar: tf_medigun_charge_rate

    sm_cvar tf_medigun_chargerelease_rate "8"
    [SM] Unable to find cvar: tf_medigun_chargerelease_rate
    Oops. Sorry, was going off memory and most of the tf2 specific things use tf_ at the begining.

    sm_cvar weapon_medigun_charge_rate "40"

    sm_cvar weapon_medigun_chargerelease_rate "8"
    Tylerst is offline
    Reply



    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 10:11.


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