Skocz do zawartości
  • Drogi gościu!

    Tutaj możesz się zarejestrować lub zalogować:

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


GLOBALELITE.pl

Rekomendowane odpowiedzi

  • GLOBALELITE.PL
[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

68747470733a2f2f737465616d75736572696d61
68747470733a2f2f737465616d75736572696d61

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 sp.gifGet Plugin or Get Source (countdownhud.sp - 6.7 KB)


Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=300178&goto=newpost

Odnośnik do odpowiedzi
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający

    Brak zarejestrowanych użytkowników przeglądających tę stronę.


O GLOBALELITE.PL


Chcemy pokazać absolutnie wszystkim, że człowiek jest zdolny do rzeczy wielkich! Potrzebujemy tylko waszej pomocy. Dzięki ciężkiej pracy chcemy udowodnić, że razem możemy wszystko! Szukamy ludzi ambitnych i skorych do poświeceń, ludzi którzy są godni, aby dołączyć do globalnej elity społeczności, którą traktuje się jak drugą rodzinę!

Istniejemy od 2014 r.

Motyw zrobiony przez doc

Strona zarządzana przez: Adam Plicha

Linki społecznościowe

Gdzie można nas znaleźć?


Facebook Teamspeak Discord

Linki forumowe

Linki z różnego rodzaju podaniami


Podanie o admina Prośba o unbana Propozycja Złóż skargę

Administracja

Oni odpowiedzą na Twoje pytania ;)


×
×
  • Dodaj nową pozycję...