Raised This Month: $ Target: $400
 0% 

[Request] Custom menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
roots
Junior Member
Join Date: Apr 2020
Old 05-31-2021 , 17:18   [Request] Custom menu
Reply With Quote #1

Hello,

I spend a couple of hours to search for such a plugin with no success.
I'm trying to find a custom menu. All the option would be to play a sound which is triggered in chat.

I'm using: Sank Sound where I have added some words and I play some sounds in server.

Would be nice to push a key and choose a sound using the number.

Do you have some proposal or hints?

Thanks a lot!
roots is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 05-31-2021 , 19:32   Re: [Request] Custom menu
Reply With Quote #2

I think it is possible to edit speech.ini from cmdmenu plugin to play custom sounds.
Let me check.
MAJESTIC_SZ is offline
roots
Junior Member
Join Date: Apr 2020
Old 06-01-2021 , 17:09   Re: [Request] Custom menu
Reply With Quote #3

Quote:
Originally Posted by MAJESTIC_SZ View Post
I think it is possible to edit speech.ini from cmdmenu plugin to play custom sounds.
Let me check.
Our sounds are triggered by chat messages. For example if we wrote in chat "I will kill you" the server will play a sound. With this menu we don't know who triggered the sound

The player which came with the idea, would like to wrote in the chat "/menu" which could be bind to a key. And from there choose the sound. Is there a possibility to create a custom menu, which only types some messages in the chat?
btw, there is a limit of 64 items in that menu

p.s. I managed to get it working with the speech.ini: btw, for the people who are trying to use soeech.ini please consider the following:
Command for wav files: "spk path_to_sound_file"
Commands for mp3 files: "mp3 play sound/path_to_sound_file"

Last edited by roots; 06-01-2021 at 18:41.
roots is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 06-01-2021 , 18:55   Re: [Request] Custom menu
Reply With Quote #4

Quote:
Originally Posted by roots View Post
Our sounds are triggered by chat messages. For example if we wrote in chat "I will kill you" the server will play a sound. With this menu we don't know who triggered the sound

The player which came with the idea, would like to wrote in the chat "/menu" which could be bind to a key. And from there choose the sound. Is there a possibility to create a custom menu, which only types some messages in the chat?
btw, there is a limit of 64 items in that menu

p.s. I managed to get it working with the speech.ini: btw, for the people who are trying to use soeech.ini please consider the following:
Command for wav files: "spk path_to_sound_file"
Commands for mp3 files: "mp3 play sound/path_to_sound_file"
I have some questions...
That menu, do you want it for admins only or public? I guess its public.
Do you want everyone to hear de sound? Or only for the player that chose the sound?
Keep in mind that if more than 1 player chose a sound at the same time, both sounds will be played at the same time. This may be an abusive situation for your server.
MAJESTIC_SZ is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 05-31-2021 , 20:20   Re: [Request] Custom menu
Reply With Quote #5

Ok, i tryed and it works.
You can use speech.ini to do what you want.
I can do it for you, just send me the sounds. Upload it to some webhost and share the link.
Or i can explain to you how to do it yourself.
MAJESTIC_SZ is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-31-2021 , 21:24   Re: [Request] Custom menu
Reply With Quote #6

Quote:
Originally Posted by MAJESTIC_SZ View Post
Ok, i tryed and it works.
You can use speech.ini to do what you want.
I can do it for you, just send me the sounds. Upload it to some webhost and share the link.
Or i can explain to you how to do it yourself.
My guess is to do your best and share it to the community. This way, everyone can look up the answer to their possible problem.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 06-01-2021 , 18:52   Re: [Request] Custom menu
Reply With Quote #7

Quote:
Originally Posted by Napoleon_be View Post
My guess is to do your best and share it to the community. This way, everyone can look up the answer to their possible problem.
Sure, i will post everything here
MAJESTIC_SZ is offline
roots
Junior Member
Join Date: Apr 2020
Old 06-02-2021 , 02:23   Re: [Request] Custom menu
Reply With Quote #8

The menu must public. Everyone must hear the sound.
Not both sounds will play at the same time if the menu will use the "say" command. (this is managed by the Sank Sound plugin).
In case we use the speech.ini it's clear that both sounds will play at the same time!
Once again, the menu should post a custom message on the chat. ("say" console command)
Thanks
roots is offline
Reply



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 19:56.


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