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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
EHG
Senior Member
Join Date: May 2009
Location: 127.0.0.1
Plugin ID:
2316
Plugin Version:
1.1
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

    Description:
    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.

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

    Dependencies:
    sdkhooks2 for hooking the spawn room trigger on touch.
    http://forums.alliedmods.net/showthread.php?t=106748

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

    Last edited by EHG; 03-01-2012 at 11:49.
    EHG is offline
    Bacardi
    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
    xomp
    BANNED
    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
    DarthNinja
    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
    Reply



    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 13:26.


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