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

[TF2] Permanent Crit Vote


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Plugin ID:
1751
Plugin Version:
0.0.4b
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Saves crit preference of the players and sets crit on or off depending on peoples preference
    Old 06-21-2010 , 02:53   [TF2] Permanent Crit Vote
    Reply With Quote #1

    TF2 Permanent Critvote
    current version 0.0.4b

    Description:

    The plugins will ask the player once for his Critvote preference and saves it. 30 Seconds after the map began it will calculate if Crits will be on or off. Players who don't have yet set a preference are not counted in the calculation.

    Features:
    • Stores Preferences using Clientprefs
    • Players can change their preference by saying "!crit"
    • Percentage of people who need to vote for on/off adjustable by cvar
    • Generates Plugin Config
    • Broadcasts the result of the calculation (after the calculation and to late joiners)
    • timers adjustable by cvar
    Commands:
    • "!crit"
    Cvars:
    • tf2_perm_crit_version - Showing Version of the Plugin
    • tf2_perm_crit_percent - Percentage of people who need to vote for Crits on in order to activate crits
    • tf2_perm_crit_show_info - Show information if Crits are on/off to late joiners
    • tf2_perm_crit_info_delay - Delay between late joining the server and announcing if Crits are on/off
    • tf2_perm_crit_calc_delay - Delay between late joining the server and announcing if Crits are on/off
    • tf2_perm_crit_pref_delay - Delay between joining the server and asking the player for his preference if it is not set. Should be shorter that the calc delay
    Installation:
    • Place the tf2_perm_crit.smx in the /sourcemod/plugins dir.
    • make sure clientprefs are activated and configured
    Changelog:
    Quote:
    0.0.4b
    announcement for late joiners was broadcasted to everybody

    0.0.4
    added announcement for late joiners (enabled by cvar)
    added several cvars to set delays

    0.0.3
    cvar for percentage instead of fixed >= 50%
    Add output how many people voted on/off

    0.0.2
    Asking players with no set preference for their preference

    0.0.1
    Initial version
    Future Updates:
    • Translations
    Bugs:
    • currently none
    Notes:

    • delete the old plugin config to generate the new one

    Thanks:

    r5053: for the original TF2 Critvote
    Grrrrrrrrrrrrrrrrrrr: for using cookies in his quake sounds [revamped] plugin..where I could look up infos on how to work with them

    Attached Files
    File Type: sp Get Plugin or Get Source (tf2_perm_crit.sp - 2527 views - 7.3 KB)
    __________________
    brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

    www.unterwasserpyromanen.de

    Last edited by Sillium; 07-15-2010 at 15:21.
    Sillium is offline
     



    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 19:29.


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