Sentences.txt problem

Sentences.txt problem

Re: Sentences.txt problem Posted by Loco on Sun Aug 15th 2004 at 3:04pm
Loco
615 posts
Posted 2004-08-15 3:04pm
Loco
member
615 posts 121 snarkmarks Registered: Aug 29th 2003 Occupation: Student Location: UK
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.
Re: Sentences.txt problem Posted by G.Ballblue on Sun Aug 15th 2004 at 4:01pm
G.Ballblue
1511 posts
Posted 2004-08-15 4:01pm
1511 posts 211 snarkmarks Registered: May 16th 2004 Occupation: Student Location: A secret Nuclear Bunker on Mars
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
Re: Sentences.txt problem Posted by omegaslayer on Sun Aug 15th 2004 at 7:18pm
omegaslayer
2481 posts
Posted 2004-08-15 7:18pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
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....
Re: Sentences.txt problem Posted by Leperous on Sun Aug 15th 2004 at 9:45pm
Leperous
3382 posts
Posted 2004-08-15 9:45pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
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)
Re: Sentences.txt problem Posted by fizscy46 on Mon Aug 16th 2004 at 2:19am
fizscy46
334 posts
Posted 2004-08-16 2:19am
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
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
Re: Sentences.txt problem Posted by Loco on Mon Aug 16th 2004 at 9:29am
Loco
615 posts
Posted 2004-08-16 9:29am
Loco
member
615 posts 121 snarkmarks Registered: Aug 29th 2003 Occupation: Student Location: UK
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.
Re: Sentences.txt problem Posted by Leperous on Wed Aug 18th 2004 at 4:04pm
Leperous
3382 posts
Posted 2004-08-18 4:04pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Playing with Steam Half-Life, or the 'original' version? Where's your custom sentences.txt file kept?
Re: Sentences.txt problem Posted by Loco on Wed Aug 18th 2004 at 7:17pm
Loco
615 posts
Posted 2004-08-18 7:17pm
Loco
member
615 posts 121 snarkmarks Registered: Aug 29th 2003 Occupation: Student Location: UK
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.