Fortress Forever

Fortress Forever (https://forums.fortress-forever.com/index.php)
-   Mapping (https://forums.fortress-forever.com/forumdisplay.php?f=13)
-   -   Custom sentences for Speak (https://forums.fortress-forever.com/showthread.php?t=11672)

A1win 09-23-2007 12:03 AM

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

DD` 09-23-2007 02:34 AM

Maybe try SpeakAll("vox/female/the.flag.has.returned") ?

mervaka 09-23-2007 02:52 AM

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.