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

[Hidden:Source] Weight Reporter


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Plugin ID:
598
Plugin Version:
1.0.3
Plugin Category:
General Purpose
Plugin Game:
The Hidden: Source
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Prints a player's chances of being hidden based on existing weight points when the round ends.
    Old 10-14-2008 , 06:33   [Hidden:Source] Weight Reporter
    Reply With Quote #1

    Written for Hidden:Source Beta 4b

    Code:
    /*
     * Hidden:SourceMod - Weight-Reporter
     *
     * Description:
     *  Prints a player's chances based on existing weight points when the round ends.
     *
     * Associated Cvars:
     *  hdn_selectmethod [0/1/2]     : The way the game chooses the next player. 0: Weighted, 1: Classing (Kill=Become), 2: Random. Default: 0
     *  hdn_hiddenrounds [rounds]    : The number of rounds a successful hidden can be hidden. Default: 5
     *  hsm_weighter_delay [seconds] : Seconds to wait after round ends before print out report. Should not exceed mp_chattime. Default: 0.25
     *  mp_chattime [seconds]        : Seconds between old round ending and new round starting.
     *
     * Installation:
     *  Please make sure to put the *.phrases.txt file in the .../addons/sourcemod/translations folder otherwise the plugin wont operate properly.
     *
     * Changelog:
     *  v1.0.3
     *   Removed hidden.inc dependency.
     *  v1.0.2
     *   Unloads automatically on Overrun maps.
     *  v1.0.1
     *   Added Language localization.
     *   Fixed bug where the chances would still be printed out even if hdn_hiddenrounds wasn't 1, and the hidden won but hadn't reach the limit. - thanks -SM-Sucker/The Dark Prince
     *   Changed myinfo:name to H:SM - WeighteR. It was copied from Carry the one.
     *  v1.0.0
     *   Initial Release.
     *
     * Known Issues:
     *  A player's chances at round end are not final. They can still suicide or give ammo, thus altering their weighting.
     *  Does not support Overrun map mode as I've never taken the time to understand how the selection method works for those maps.
     *
     */
    Attached Files
    File Type: sp Get Plugin or Get Source (hsm_weighter.sp - 3115 views - 6.9 KB)
    File Type: txt weighter.phrases.txt (195 Bytes, 1137 views)
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod

    Last edited by paegus; 08-27-2013 at 04:19. Reason: Reason: changed "game" field to newly created category "The Hidden"
    paegus 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 01:29.


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