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

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


Post New Thread Reply   
 
Thread Tools Display Modes
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 - 3367 views - 6.7 KB)
    AntiTeal is offline
    Agent Wesker
    Senior Member
    Join Date: Apr 2012
    Old 09-25-2017 , 13:37   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #2

    This is a great plugin, only issue I've seen is when console message is too long, gametext goes off-screen. Maybe check the length of messages before printing?
    Agent Wesker is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 12-19-2017 , 12:17   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #3

    just a heads up for any1 that is using this plugin
    plugin will bug out on maps like ze_30_seconds
    and if there are multipe doors that will open at once
    __________________
    8guawong is offline
    waylander3
    Senior Member
    Join Date: Sep 2015
    Location: Russia, Norilsk
    Old 03-07-2018 , 22:02   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #4

    On this map http://steamcommunity.com/sharedfile...?id=1241444522 doesnt show timer on HUD
    waylander3 is offline
    Oylsister
    Senior Member
    Join Date: Aug 2019
    Location: KhonKaen, Thailand
    Old 08-09-2019 , 01:19   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #5

    The plugin is worked as showing a green text on the screen. However, a console messages that should be also appeared on a chat tab, it didn't show at all.
    Oylsister is offline
    bebe9b
    Veteran Member
    Join Date: May 2009
    Location: Romania
    Old 08-18-2019 , 03:17   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #6

    Hi,
    After the last update csgo the plugin is not working ( no messages are desplay ).
    There are not erorr in the files logs.txt to determine the cause.

    Thx,
    __________________
    respecta si vei fi respectat
    bebe9b is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 08-18-2019 , 14:29   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #7

    Quote:
    Originally Posted by Oylsister View Post
    The plugin is worked as showing a green text on the screen. However, a console messages that should be also appeared on a chat tab, it didn't show at all.
    Quote:
    Originally Posted by bebe9b View Post
    Hi,
    After the last update csgo the plugin is not working ( no messages are desplay ).
    There are not erorr in the files logs.txt to determine the cause.

    Thx,
    install this and everything should work
    https://forums.alliedmods.net/showthread.php?p=2578442
    __________________
    8guawong is offline
    Oylsister
    Senior Member
    Join Date: Aug 2019
    Location: KhonKaen, Thailand
    Old 10-23-2019 , 13:53   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #8

    Quote:
    Originally Posted by 8guawong View Post
    install this and everything should work
    https://forums.alliedmods.net/showthread.php?p=2578442
    Well, it didn't solve my issues. However, I managed to fix it by using this plugin.

    https://forums.alliedmods.net/showthread.php?p=2375139
    Oylsister is offline
    Stewart Anubis
    Junior Member
    Join Date: Jul 2020
    Old 11-15-2020 , 14:46   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #9

    [ANY] Chat_Hud_Countdown_translator!

    https://github.com/Stewart-Anubis/Ch...own_translator

    https://github.com/Stewart-Anubis/Ch...chive/main.zip
    Stewart Anubis is offline
    Laser32
    AlliedModders Donor
    Join Date: Sep 2006
    Location: Germany (Schwerin)
    Old 09-23-2022 , 12:03   Re: [ANY / ZR?] CountdownHUD - Countdown timers based on messages from maps.
    Reply With Quote #10

    thx AntiTeal
    Laser32 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 06:27.


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