Raised This Month: $32 Target: $400
 8% 

[Hidden:Source] ScuzTools Spectator Hidden Trail


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Scuzzy
Senior Member
Join Date: Oct 2007
Plugin ID:
631
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
The Hidden: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin allows spectators to see the hidden a trail of color that also tells you how healthy the hidden is. It changes from Green with near full health, to Yellow/Orange with mid health, and Red to very little health.
    Old 11-13-2008 , 22:49   [Hidden:Source] ScuzTools Spectator Hidden Trail
    Reply With Quote #1

    Written for Hidden:Source Beta 4b

    Code:
    /*
     * [Hidden:Source] ScuzTools Hidden Color Trail v1.0 
     *
     * Description:
     *  Makes Subject 617 visible to the spectator team as a color trail which also tells them the health of the hidden.  Green=good, yellow/orange=not so good, red=almost dead.
     *
     * Changelog
     *  v1.0.0
     *   Initial release.
     *  v1.0.1
     *   Moved max client call to mapstart.
     *  v1.0.2
     *   Reorganized Clean Client to try and fix trail bug.
    */
    Saw something like this on a private server and was turned down by the author to be allowed to use it. So, I wrote my own. Big time thanks to SAMURAI16 for all his help in learning to use the BeamFollow command.

    The hidden will be Green when they have little to no damage, yellow/orange when they have take around half to 60%, and Red when things are getting bad.



    Known Bugs:
    (Might be fixed) Occasionally the trail will follow a player after they are hidden and become Iris. I've tried to combat this by using the KillPlayerAttachments function, but even though the Timer creating the trail is toast and the trail really should fade, it does not. It eventually does go away, but can be a distraction sometimes.
    Example Picture (ovr_docks, with one damaged hidden and one not so damaged hidden):
    Attached Files
    File Type: sp Get Plugin or Get Source (scuztools_hdnspec.sp - 3625 views - 5.9 KB)
    File Type: smx scuztools_hdnspec.smx (3.9 KB, 1078 views)

    Last edited by psychonic; 03-23-2010 at 12:17. Reason: Reason: changed "game" field to newly created category "The Hidden"
    Scuzzy 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 16:53.


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