Raised This Month: $202 Target: $400
 50% 

[Hidden:Source] Dynamic Round Timer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Plugin ID:
629
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
The Hidden: Source
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Alters the round time based on the number of IRIS.
    Old 11-11-2008 , 15:13   [Hidden:Source] Dynamic Round Timer
    Reply With Quote #1

    This plugin is written for Hidden:Source Beta 4a

    Code:
    /*
     * Hidden:SourceMod - Dynamic Round Time
     *
     * Description:
     *  Alters the round time based on the number of IRIS.
     *
     * Associated CVars:
     *  hsm_dtr_basetime [seconds] : Base time for round. Default 150
     *  hsm_dtr_inctime [seconds]  : Additional time for each IRIS player. Default 30
     *  hsm_dtr_randtime [seconds] : Additional random time added per round. Default 30
     *
     * Changelog:
     *  v1.0.0
     *   Initial release
     *
     * Contact:
     *  Phaedrus: (http://forum.hidden-source.com/member.php?u=4634)
     *  Paegus: [email protected] (http://forum.hidden-source.com/member.php?u=2439)
     *  SourceMod: http://www.sourcemod.net > Community > Forums > SourceMod
     *  Hidden:Source: http://www.hidden-source.com > Forums > Server Admins
     */
    Thanks to Phaedrus for pointing out the obvious flaw in the original method
    Attached Files
    File Type: sp Get Plugin or Get Source (hsm_drt.sp - 1033 views - 2.5 KB)
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod

    Last edited by psychonic; 03-23-2010 at 12:19. Reason: Reason: changed "game" field to newly created category "The Hidden"
    paegus is offline
    Reply


    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 15:47.


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