How do I use VOX speech engine?
I want to use the vox speech engine in my plugin, to play sentances on round start etc.
I have tried to copy spk \'vox/hello and die\' and paste it in console, but it only says "hello" How do I use this? Bonus question, how do I precache multiple sounds? Thanks |
Re: How do I use VOX speech engine?
okay, so first of all, there is no precaching required for vox, as you are merely executing spk commands on clients (which work even in main menu of game with no precache whatsoever)
it only supports a dictionary of words, not everything, here is a decent dictionary of words and sentences supported https://pastebin.com/F7BicjiD to execute these in a chain, you need to use double quotes, so in console it would be spk "ass ass hello" with amxx it would be client_cmd(id, "spk ^"ass ass hello^""); as ^ is used by default instead of \ for escaping (in PAWN) |
Re: How do I use VOX speech engine?
Quote:
I wanted to know about precaching because I can only put one of these in my script: public plugin_precache() precache_sound("radio/bombpl.wav"); Thank you for clearifying the usage, I laught quite hard at "ass ass hole" btw. |
Re: How do I use VOX speech engine?
Quote:
|
Re: How do I use VOX speech engine?
Quote:
|
Re: How do I use VOX speech engine?
Quote:
This should do for his question Code:
|
Re: How do I use VOX speech engine?
Quote:
|
Re: How do I use VOX speech engine?
What if you wanted to have a spk sentence play in the speach menu. I have a sentence that needs to be in quotes but it won't play the whole sentence. Only the first word plays. spk "i have no i nice(s40) left _comma _period five(e40) back(s75), yourself call(e25) us(e50) coolant(s60)"
Or when trying to bind it won't work: bind "p" spk "i have no i nice(s40) left _comma _period five(e40) back(s75), yourself call(e25) us(e50) coolant(s60)" |
| All times are GMT -4. The time now is 17:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.