Sentences.txt problem
Post Reply
Quote
Re: Sentences.txt problem
Posted by Loco on Sun Aug 15th at 3:04pm 2004


I've added a sentence for the announcer to my sentences.txt, but it won't play. Every time it won't recognise the sentence name/group. I've tried using scripted_sentence, ambient generic and speaker, but none will recognise it! Does anyone know how it should be done.
[addsig]




Quote
Re: Sentences.txt problem
Posted by G.Ballblue on Sun Aug 15th at 4:01pm 2004


Well, I don't think you can actually edit the sentence file and have HL reconize it (wasn't programed in). I might be wrong though.

Wouldn't it be easier to get all the words you need (announcer sounds) and edit them to gether via sound program? Then you could play it back as a .wav

[addsig]




Quote
Re: Sentences.txt problem
Posted by omegaslayer on Sun Aug 15th at 7:18pm 2004


I dont think you can just add a sentence to the text file and have the HL engine read it...... That for text-to-speach programs.... I didnt think HL could do that....of coarse I could be wrong....

[addsig]




Quote
Re: Sentences.txt problem
Posted by Leperous on Sun Aug 15th at 9:45pm 2004


Have you been able to get other 'proper' sentences to work first? Remember that you need a preceding ! in the sentence name in your scripted_sentence entity. If it's not working then I guess either you have defined your sentence incorrectly, or that the game isn't reading your custom sentences.txt (and is using the original one)





Quote
Re: Sentences.txt problem
Posted by fizscy46 on Mon Aug 16th at 2:19am 2004


Make sure your custom sentances.txt file is in the correct location (In the sounds folder of the valve or mod directory) and make sure the sentance you added is formatted correctly [addsig]



Quote
Re: Sentences.txt problem
Posted by Loco on Mon Aug 16th at 9:29am 2004


The preset bunch for the speaker (c1a3 announcer etc.) work fine, and other things like NEAR_WAR work fine. This one still won't. It's formatted correctly, it's just not working! It claims it can't find the sentence group.
[addsig]




Quote
Re: Sentences.txt problem
Posted by Leperous on Wed Aug 18th at 4:04pm 2004


Playing with Steam Half-Life, or the 'original' version? Where's your custom sentences.txt file kept?



Quote
Re: Sentences.txt problem
Posted by Loco on Wed Aug 18th at 7:17pm 2004


Original. I've sort-of got it working. You have to treat it like a sentence group and as soon as the "speaker" is activated a sentence is played. The downside is then you have to deactivate meaning a multi_manager, but hey, it works.
[addsig]





Post Reply