Custom sentences for Speak
I need a SpeakAll() to speak "the flag has returned" but the default sentences only have "your flag has returned" and "the enemy flag has returned". In Push there is SpeakAll("CTF_BALLRETURN") which says "the ball has returned".
All of these are done by using the default sentences from the sentences.txt file. How can I make a custom sentence using lua? If I type SpeakAll("vox/female/the flag has returned"), nothing happens. SpeakAll("the flag has returned") doesn't work either. Is this even possible? Maybe I need a custom sentences.txt and include it with BSP zip? Why has this have to be made so difficult? :p |
Maybe try SpeakAll("vox/female/the.flag.has.returned") ?
|
we're still working out a way to do this :( it would be good if custom maps could just parse strings, or something defined at the top of the lua
i think they said they had problems getting the engine to precache stuff |
All times are GMT. The time now is 01:25 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.