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

[TF2] Status Reveal


Post New Thread Reply   
 
Thread Tools Display Modes
Author
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Plugin ID:
2440
Plugin Version:
0.2.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Reveal the premium or F2P status
    Old 07-18-2011 , 14:18   [TF2] Status Reveal
    Reply With Quote #1

    TF2 Status Reveal

    Description:
    Reveals everyones Premium and Free to Play status at the end of the round
    Example:
    Changelog:
    v0.1
    first release
    v0.2
    Added: support for animated sprites
    Added: Cvar for defining the sprites to use
    Added: Cvars for animated sprites
    Fixed a server crash that at least I had on my server
    v0.2.1
    Shortened some cvars
    Cvars:
    tf2_status_reveal_version:
    Plugin Version
    More Cvars:
    PHP Code:
    // Enable/Disable Status Reveal
    // -
    // Default: "1"
    tf2_status_reveal_enable "1"

    // Set the sprite to use for F2P players, relative to the materials folder. 
    // >>> DO NOT INCLUDE THE .vtf .vmt file extension! <<<
    // -
    // Default: "custom/free"
    tf2_srs_free "custom/free"

    // Set the sprite to use for Premium players, relative to the materials folder. 
    // >>> DO NOT INCLUDE THE .vtf .vmt file extension! <<<
    // -
    // Default: "custom/premium"
    tf2_srs_premium "custom/premium"

    // Set to 1 if the F2P sprite is animated.
    // -
    // Default: "0"
    tf2_srs_free_animated "0"

    // Rate at which the F2P sprite should animate. 
    // Increase if the it animates to slow, decrease if it animates to fast
    // -
    // Default: "4.0"
    tf2_srs_free_framerate "4.0"

    // Set to 1 if the Premium sprite is animated.
    // -
    // Default: "0"
    tf2_srs_prem_animated "0"

    // Rate at which the Premium sprite should animate. 
    // Increase if the it animates to slow, decrease if it animates to fast
    // -
    // Default: "4.0"
    tf2_srs_prem_framerate "4.0" 
    Notes:
    This plugin requires the SteamTools extension
    Credits:
    asherkin for his SteamTools extension and the way to get the Premium/F2P status
    toazron1 for his Donator Recognition plugin where I got the idea from and did
    a lot of copy'n paste
    Installation:
    Upload the custom folder conatinig the *.vmt *.vtf files to your materials folder.
    Get the latest SteamTools version and put it in your addons/sourcemod/extensions folder.
    Place the .smx file in your addons/sourcemod/plugins folder.
    Place tf2_status_reveal.cfg in your cfg/sourcemod folder.
    Get Plugin will not work as it requires steamtools.inc to compile!
    Attached Files
    File Type: sp Get Plugin or Get Source (tf2_status_reveal.sp - 399 views - 8.8 KB)
    File Type: zip TF2_Status_Reveal_0.2.1.zip (27.7 KB, 528 views)

    Last edited by gH0sTy; 07-20-2011 at 06:15. Reason: Version 0.2.1
    gH0sTy is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-18-2011 , 14:51   Re: [TF2] Status Reveal
    Reply With Quote #2

    Looks cool!

    Does this push the materials down to the clients or do we need to use the sm_downloader plugin?
    __________________
    Extreme_One is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-18-2011 , 14:53   Re: [TF2] Status Reveal
    Reply With Quote #3

    WHAT THE HELL DOES THIS ACTUALLY ADD SPRITES ABOVE PEOPLE'S HEADS?
    if so, you are my new favourite coder!!!!!!
    __________________
    napalm00 is offline
    gH0sTy
    SourceMod Donor
    Join Date: Jul 2008
    Location: DE
    Old 07-18-2011 , 15:52   Re: [TF2] Status Reveal
    Reply With Quote #4

    Quote:
    Originally Posted by Extreme_One View Post
    Looks cool!

    Does this push the materials down to the clients or do we need to use the sm_downloader plugin?
    Clients will download the files on connect, no extra plugin needed. Don't forget to place them on your sv_downloadurl server if you use one.

    Quote:
    Originally Posted by napalm00 View Post
    WHAT THE HELL DOES THIS ACTUALLY ADD SPRITES ABOVE PEOPLE'S HEADS?
    That's what it does.
    gH0sTy is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 07-18-2011 , 15:57   Re: [TF2] Status Reveal
    Reply With Quote #5

    mm...looks good but i find it a bit useless myself but that's just me. Thanks for the plugin, i'm sure others would enjoy it.
    Drixevel is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-18-2011 , 17:02   Re: [TF2] Status Reveal
    Reply With Quote #6

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    mm...looks good but i find it a bit useless myself but that's just me. Thanks for the plugin, i'm sure others would enjoy it.
    dude i love this thing

    @gH0sTy : can you also add animated sprays? i'm asking this because i see it supports .vmt and .vtf files
    __________________
    napalm00 is offline
    Tylerst
    Veteran Member
    Join Date: Oct 2010
    Old 07-18-2011 , 18:26   Re: [TF2] Status Reveal
    Reply With Quote #7

    Quote:
    Originally Posted by napalm00 View Post
    dude i love this thing

    @gH0sTy : can you also add animated sprays? i'm asking this because i see it supports .vmt and .vtf files
    Look what you've done gH0sTy.

    Now I forsee a pokemon battle plugin with everyone in a trade map summoning animated sprites above their heads and choosing attacks from a menu. With levels, exp, and possibility of pokemon trading all stored within a sql database.

    Oh... that wasn't where you were going with that question? My mistake
    Tylerst is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-19-2011 , 01:52   Re: [TF2] Status Reveal
    Reply With Quote #8

    Quote:
    Originally Posted by Tylerst View Post
    Look what you've done gH0sTy.

    Now I forsee a pokemon battle plugin with everyone in a trade map summoning animated sprites above their heads and choosing attacks from a menu. With levels, exp, and possibility of pokemon trading all stored within a sql database.

    Oh... that wasn't where you were going with that question? My mistake
    SHH SHADDAP DAMNIT!
    no i wasn't thinking of a thing like that, only some animated ponies for my pony-lover admins
    __________________
    napalm00 is offline
    Kjaer
    Senior Member
    Join Date: Oct 2009
    Location: Canada
    Old 07-19-2011 , 05:39   Re: [TF2] Status Reveal
    Reply With Quote #9

    Can someone explain this sudden urge of pony fetishes that are being presented? I don't understand. And the plugin looks cool, better and easier on the eyes than the plugins that simple add [F2P] tags on people.
    __________________
    If you require server assistance add me!
    Kjaer is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-19-2011 , 05:41   Re: [TF2] Status Reveal
    Reply With Quote #10

    Quote:
    Originally Posted by Kjaer View Post
    Can someone explain this sudden urge of pony fetishes that are being presented? I don't understand. And the plugin looks cool, better and easier on the eyes than the plugins that simple add [F2P] tags on people.
    i don't undertand that too and tbh i hate ponies
    __________________
    napalm00 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 22:03.


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