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

[Hidden:Source] Fake Tickrate


Post New Thread Reply   
 
Thread Tools Display Modes
Author
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Plugin ID:
827
Plugin Version:
Plugin Category:
All
Plugin Game:
The Hidden: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 03-17-2009 , 11:17   [Hidden:Source] Fake Tickrate
    Reply With Quote #1

    Written for Hidden:Source Beta 4b.

    It adjusts the rate at which Hidden players gain or lose stamina according to your desired tickrate. You can boost a -tickrate 33'd server to regenerate or drain (while clinging) as if the server was -tickrate 100'd. Similarly you can reduce a -tickrate 100's server to regenerate or drain as if it were -tickrate 33'd if you want to keep the network properties but give the Hiddens something else to worry about.

    Code:
    /*
     * Hidden:SourceMod - Fake Rate
     *
     * Description:
     *  Adjusts the Hidden's stamina regeneration and cling-drain rates to match desired tickrate.
     *
     * Convars:
     *  hsm_fr_tick [rate]        : The effective tickrate the Hidden's stamina flows at. Defaults to server's tickrate.
     *  hdn_staminadrain [factor] : The rate at which to drain stamin while clinging to the wall. Default: -0.095.
     *
     * Changelog:
     *  v1.0.1
     *   Added drain state for +aura. -Thx Darkhand.
     *  v1.0.0
     *   Initial release.
     *
     * Known issues:
     *  Regeneration & drain rates are approximate as I don't know the hard-coded rates. They seem to be:
     *   0.3 regeneration per tick on-ground.
     *   0.1 drain per tick in aura.
     *   hdn_staminadrain drain per tick while clinging.
     *
     * Contact:
     *  Paegus: [email protected]
     *  SourceMod: http://www.sourcemod.net > Community > Forums > SourceMod
     *  Hidden:Source: http://www.hidden-source.com > Forums > Server Admins
     */
    Attached Files
    File Type: sp Get Plugin or Get Source (hsm_fakerate.sp - 2108 views - 7.4 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
    paegus
    Senior Member
    Join Date: Nov 2004
    Location: Extreme low earth orbit
    Old 04-11-2009 , 13:36   Re: [Hidden:Source] Fake Tickrate
    Reply With Quote #2

    any reason this hasn't been approved yet?
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod
    paegus is offline
    BrutalGoerge
    AlliedModders Donor
    Join Date: Jul 2007
    Old 04-11-2009 , 14:01   Re: [Hidden:Source] Fake Tickrate
    Reply With Quote #3

    the approving stuff for the moderators is broke, and bail is out of country, and won't be back to fix it till mid may apparently.
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge 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 09:44.


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