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

[ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
AntiTeal
Junior Member
Join Date: Sep 2015
Plugin ID:
5753
Plugin Version:
1.6
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    11 
    Plugin Description:
    Detects whenever the map says a message that contains a timer, and counts down the exact message on a game_text hud.
    Old 08-08-2017 , 15:44   [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #1

    [ANY] CountdownHUD

    Description
    Detects whenever the map says a message that contains a timer, and counts down the exact message on a game_text hud. Has support for most phrases (feel free to tell me which ones don't work), and changes the exact message given from the map. The plugin is made for ZR servers to tell people when things are happening, but it should work on non-ZR servers.

    Server ConVars
    • sm_cdhud_version - CountdownHUD Version (1.6)
    • sm_cdhud_position - The X and Y position for the hud. (Default: "-1.0 0.125")
    • sm_cdhud_color - RGB color value for the hud. (Default: "0 255 0")
    • sm_cdhud_symbols - Determines whether >> and << are wrapped around the text (Default: "1")
    Phrases
    Plugin has support for all the phrases I've seen on any ZE map, if you have examples of phrases that don't work, please tell me so I can add them. The plugin also filters out symbols in its detection methods, so that phrases that have symbols in them in any place will still work. It also has support for phrases where the number and the word are combined (e.g 30sec)
    Examples of phrases:
    • ***The door will open in 30 seconds***
    • >>The door will open in 30 sec<<
    • ###The door will open in 30s###
    • ***The door will open in 30sec***
    • 30sec
    • 30
    Examples of phrases that are blacklisted to not trigger the plugin:
    • Powerup cooldown: 30 seconds
    • Recast 30sec
    Screenshots
    Spoiler

    Known Bugs
    • If the initial chat message contains two of the exact same numbers and is being counted down, the plugin will change both of those numbers. (e.g Door 30 is opening in 30 seconds -> Door 29 is opening in 29 seconds)
    Changelog
    • 1.6 - Plugin Release

    If you find any bugs or find any phrases that don't trigger the plugin (or any that shouldn't), feel free to give feedback so I can fix the plugin.
    Attached Files
    File Type: sp Get Plugin or Get Source (countdownhud.sp - 3408 views - 6.7 KB)
    AntiTeal is offline
     



    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 20:38.


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