Fortress Forever

Go Back   Fortress Forever > Editing > Mapping

Reply
 
Thread Tools Display Modes
Old 09-23-2007, 12:03 AM   #1
A1win
Nutcracker
 
A1win's Avatar
 
Join Date: Sep 2007
Location: Kuopio, Finland
Posts Rated Helpful 0 Times
Send a message via MSN to A1win
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?
A1win is offline   Reply With Quote


Old 09-23-2007, 02:34 AM   #2
DD`
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
Maybe try SpeakAll("vox/female/the.flag.has.returned") ?
DD` is offline   Reply With Quote


Old 09-23-2007, 02:52 AM   #3
mervaka
A Very Sound Guy!
Fortress Forever Staff
 
mervaka's Avatar
 
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
__________________
Support FF:
mervaka is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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. The time now is 09:50 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.