09-23-2007, 12:03 AM | #1 |
Nutcracker
|
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? |
|
09-23-2007, 02:34 AM | #2 |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Maybe try SpeakAll("vox/female/the.flag.has.returned") ?
|
|
09-23-2007, 02:52 AM | #3 |
A Very Sound Guy!
Fortress Forever Staff
Join Date: May 2005
Location: UK
Posts Rated Helpful 15 Times
|
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 |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|