Raised This Month: $202 Target: $400

[TF2] Double Regen in Spawn (Invisible Hat Fix)

Post New Thread Reply   
Thread Tools Display Modes
Senior Member
Join Date: May 2009
Plugin ID:
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    This is a fix for equipped items being invisible until second regen.
    Old 04-24-2011 , 05:43   [TF2] Double Regen in Spawn (Invisible Hat Fix)
    Reply With Quote #1

    With the Hatless Update valve introduced some changes to the item system. A new bug exists where a players equipped item is invisible until a second regen/respawn. This plugin fixes that by making the player regen a second time if he is in spawn and has just changed his inventory.

    sm_DoubleRegen_delay "0.2" //Delay between the original regen and second.

    sdkhooks2 for hooking the spawn room trigger on touch.

    1.1 - fixed a typo in cvar
    1.0 - release
    Attached Files
    File Type: sp Get Plugin or Get Source (DoubleRegen.sp - 154 views - 2.5 KB)
    File Type: smx DoubleRegen.smx (3.4 KB, 175 views)

    Last edited by EHG; 03-01-2012 at 11:49.
    EHG is offline
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 04-24-2011 , 10:22   Re: [TF2] Double Regen in Spawn
    Reply With Quote #2

    You could upload compiled plugin (*.smx) also.
    Bacardi is offline
    Join Date: Jul 2008
    Old 04-24-2011 , 10:24   Re: [TF2] Double Regen in Spawn
    Reply With Quote #3

    Valve does not create bugs, only hats.

    This thread is now about hats.
    xomp is offline
    Send a message via Skype™ to xomp
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-04-2011 , 20:26   Re: [TF2] Double Regen in Spawn
    Reply With Quote #4

    Approved, although I'm not sure if TF2 still has this bug or not.
    EHG: You may want to consider a more descriptive name for people using the plugin search. It's not immediately clear what this plugin does from the title.
    DarthNinja 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 15:55.

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