Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[ANY] Saysounds ft edition (v1.8 2023-10-22)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
This saysounds plugin fixes a some bugs in existing other saysound plugin and adds new syntax.

This plugin tested in CS:GO and L4D2. Other source engine game is not tested but may work.
Also in CS:GO test has a 6000+ saysounds and working fine.


Video preview


About:
  • Dynamically precaches a sound. You can add 6000+ saysounds (Tested in Lupercalia CS:GO MG servver)
  • You can play saysounds as normal or with custom speed/pitch and custom length.
  • Formatted message.

Requirements:
  • SM 1.11+ - My release file is compiled in SM 1.11.0.6934.

What fixed from old saysounds plugin:
  • Fixed Saysounds is cancelled by next saysounds commands.

Saysound syntax
  • <sound>
  • <sound> @<speed>
  • <sound> %<length>
  • <sound> @<speed> %<length>
  • <sound> %<length> @<speed>
  • Sound: Yeah same as other saysounds plugin. e.g. test in chat
  • speed/pitch: use @ and specify speed. e.g. @120
  • length: use % and specifiy length in seconds. e.g. %0.5
So we combined the above, will become like this. test @120 %0.5

Cvars:
Code:

sm_saysounds_enable <0/1> - Toggle saysounds globally
sm_saysounds_interval <seconds> - Saysounds cooldown per player.
sm_saysounds_format_chat <0/1> - Cancel original message and send formatted message.
sm_saysounds_version - Shows a plugin version.

Commands:
Code:

sm_saysounds, sm_saysound, sm_ssmenu, sm_ss_menu - Opens settings menu.
sm_ss_volume <0~100>- Set the saysound volume. If no argument, will work as !ssmenu
sm_ss_speed <50~200>(You can change max and min range from source file) - Set the saysound speed/pitch. If no argument, will work as !ssmenu
sm_ss_length <0~> - Set the saysound length in seconds. If no argument, will work as !ssmenu
sm_ss_toggle - Toggle saysounds.
sm_ss_list sm_sslist - Show all of saysounds provided in server.
sm_ss_search <string> sm_sss <string> - Search saysounds.

Admin commands:
Code:

sm_ss_ban <player name> - Ban player from using saysounds. - If no argument, will show a player list menu.
sm_ss_unban <player name> - Unban player from using saysounds. - If no argument, will show a player list menu.

Known issues:
  • When player use %<time> syntax. It will stop all same sound when timer fired. (e.g. If someone use test %0.1 after someone use test with 5 seconds long sound, It stops all test sound after timer fired)

Todo:
  • Add temporary ban. (Currently we can only ban permanent)
  • Add self saysounds mute.

Installation:
Note: The old saysound plugin config will probably work. but play multiple file in 1 trigger is removed in this plugin.
like: Saysounds redux
  1. Download zip file from github repo
  2. Click code and select Download ZIP.
  3. Extract files.
  4. Move configs, plugins, translations folder to your sourcemod folder. scripting is are optional.
  5. Modify saysounds.cfg.
  6. Done.

If you want modify source file, requires multicolors to compile.

Changelog:
Code:

- 1.8 Initial release on alliedmodders forum.
You can download latest files from GitHub!

Attached Files
File Type: zip ftSaysoundsRelease_2023-10-22.zip (37.6 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...