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

[Hidden:Source] Fake Tickrate


  
 
 
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:
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 - 2115 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
     



    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 20:07.


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