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

Server Hud Logo


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Plugin ID:
2829
Plugin Version:
2.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    430 
    Plugin Description:
    Add a custom hud logo for everyone to see
    Old 03-06-2012 , 23:40   Server Hud Logo
    Reply With Quote #1

    Server Hud Logo

    Description:
    Add a custom hud logo for everyone to see. I saw other gaming communities using logos like this so I thought I'd create it for the public with more customization. The logo will appear on spawn. Supports team colors based off of Team Fortress's red and blue



    Click here for many color codes.
    Click here for hex to RGB converter.
    Control Variables:
    • sm_logo_enabled (default: 1) Enable/Disable the plugin
    Version Log:
    • Version 2.2
      • Added configuration file to permit using multiple logos
      • Removed control variables and replaced them with the config
    • Version 2.1.1
      • Hopefully fixed invalid timer handle errors
    • Version 2.1
      • Now supports all supported games without throwing errors
      • Fixed bug with bots spamming errors before map start
      • Made team colors less eye straining
    • Version 2.0.1
      • Fixed memory leaks
      • Returns an error if a specific game doesn't support hud text
    • Version 2.0
      • Completely re-optimized code
      • Changed infinite setting for sm_logo_holdtime
      • Now clears logo from screen on player death
    • Version 1.1+
      • Added changeable effects
      • Allows custom position of screen logo (SetHudTextParams X and Y values)
      • Added choice of color based on RGB values. Editted by TnTSCS
    • Version 1.0
      • Initial Release
    Installation:
    1) Add the files included in this post to their folders relative to sourcemod/addons
    • serverlogo.smx to plugins
    • serverlogo.cfg to configs
    Known Bugs:
    • All Hud effects may not work in every supported game. (Not yet compatible)
    Special Thanks:
    • TnTSCS
    My Plugins
    intox Gaming
    Attached Files
    File Type: sp Get Plugin or Get Source (serverlogo.sp - 7841 views - 8.6 KB)
    File Type: cfg serverhudlogo.cfg (1.9 KB, 5095 views)

    Last edited by ReFlexPoison; 05-19-2014 at 01:36. Reason: 2.2
    ReFlexPoison is offline
    341464
    Senior Member
    Join Date: Dec 2010
    Location: GetClientEyePosition
    Old 03-07-2012 , 00:56   Re: Server Logo
    Reply With Quote #2

    Hm, it looks like a really simple plugin, but wait, is timer really necessary?
    __________________
    341464 is offline
    Send a message via Skype™ to 341464
    GRUFTY
    Member
    Join Date: Sep 2019
    Old 08-18-2022 , 08:14   Re: Server Logo
    Reply With Quote #3

    A very good plugin. Good job. Unfortunately, I can't find the position at the top of the screen exactly in the middle. I've tried it with 1, etc., the logo always appears on the left at the edge.
    Greetings Grufty
    GRUFTY is offline
    loranger
    Senior Member
    Join Date: Jun 2011
    Old 03-07-2012 , 04:16   Re: Server Logo
    Reply With Quote #4

    interesting

    Last edited by loranger; 03-07-2012 at 04:41.
    loranger is offline
    dharma_bum
    Junior Member
    Join Date: Mar 2012
    Old 03-07-2012 , 04:37   Re: Server Logo
    Reply With Quote #5

    cool, I'll give it a spin. I know this was intended to be very barebones and simple but any thoughts on getting a small image to appear?

    your plugin has suddenly inspired me to picture a little logo from my steam group on the server. a brand if you will.

    anyways...just a thought
    dharma_bum is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 03-07-2012 , 10:52   Re: Server Logo
    Reply With Quote #6

    This ShowHudText works HL2MP also
    Bacardi is offline
    341464
    Senior Member
    Join Date: Dec 2010
    Location: GetClientEyePosition
    Old 03-07-2012 , 15:25   Re: [TF2 | HL2MP] Server Logo
    Reply With Quote #7

    I think Team Color should be possible.
    GetClientTeam, 1 = white, 2 = red, 3 = blue
    that'd be cool
    though the plugin is targeted on multi targets
    __________________

    Last edited by 341464; 03-07-2012 at 15:27.
    341464 is offline
    Send a message via Skype™ to 341464
    dharma_bum
    Junior Member
    Join Date: Mar 2012
    Old 03-07-2012 , 18:06   Re: [TF2 | HL2MP] Server Logo
    Reply With Quote #8

    Okay so its fine and all, and no bugs, but it seems like it gets covered up in...ctf. But probably payload and all the rest too.
    dharma_bum is offline
    341464
    Senior Member
    Join Date: Dec 2010
    Location: GetClientEyePosition
    Old 03-08-2012 , 04:23   Re: [TF2 | HL2MP] Server Logo
    Reply With Quote #9

    Quote:
    Originally Posted by ReFlexPoison View Post
    Well I suppose I will ask the forums for assistance. Like I said, I am a very nooby scripter. If you want to attempt to edit the code, I will add your name to the "Thanks To:" In all honesty I need all the help I can.
    Well, I'm a noobish coder too, I'm not sure how to do it on multi targets, but I'll try.
    __________________
    341464 is offline
    Send a message via Skype™ to 341464
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 03-08-2012 , 09:18   Re: [TF2 | HL2MP] Server Logo
    Reply With Quote #10

    Quote:
    Originally Posted by 341464 View Post
    Well, I'm a noobish coder too, I'm not sure how to do it on multi targets, but I'll try.
    I released a version where you can change the color for yourself if you would like to use that.
    ReFlexPoison is offline
    Reply


    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 03:34.


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