Please or Register to create posts and topics.

Splicing lines

There's a line GLaDOS says that I need: "Well, I'm back. The Aerial Faith Plate in here is sending me a distress signal." I only need the "Well, I'm back." part. So I made a trigger start it and then after a delay of seconds (an estimated time I think it would take to finish the "Well, I'm back." part) cancelled the line. The line will stop correctly in game, but the dialogue box won't go away until the full line would have been done, and it delays the next line that comes after that until the full line would have been done if I hadn't cancelled it, making it very choppy.

Maybe you could disable-reenable the subtitles in the console before the next line starts playing? ("closecaption 0/1" should work I think) Though that won't get the next part of the sentence out of the subtitle.
EDIT: and now that I think about it, if someone doesn't have it enabled, this would enable it for them, which is not quite ideal...

- Science isn't about why, it's about why not!

I'm not worried about the second line still appearing in the subtitle, while it's not ideal, it's not the problem...

You can edit the .wav file to get just the portion you need. In fact if you use the wave file, you might not need to edit it at all as the .wav files are one sentence each. You might have to unparse the file to access it, bu it should work.

Wow! That was...uh, yeah. Just, yeah.

I don't really want to edit voice files or do any pakratting in this map, I've done this before in the intro to Circuit (if the player solves the "puzzle" before the lines are finished) and it worked fine, now it won't...

Dr.Toaster Waffles wrote:
I don't really want to edit voice files or do any pakratting in this map, I've done this before in the intro to Circuit (if the player solves the "puzzle" before the lines are finished) and it worked fine, now it won't...

You don't need to use pakrat if you use the .wav files since they are already part of the game. You just tell the game which file to play and it will play fine.

Wow! That was...uh, yeah. Just, yeah.

If the problem is that no matter what you do, even though you already stopped the line (and maybe hid the closecaptions from the HUD like lord_blex suggested), the line still need its FULL time before any new line can be played (on no delay), I truly think that the best idea is what protoborg suggested: edit/cut that line and use it as a custom sound. I can help you on that with no problem, just let me know.

However, if you use a logic_choreographed_scene you can pause the lines, resume them, cancel them, etc. Also, you can choose several 'actions' if a line is already being played in its property "If an Actor is talking... " and make it interrupt the previous line for example...

I'd suggest you to read this guide about making GLaDOS speak ;)

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Oops, I figured out what I forgot to do; I didn't set the choreographed scene to start immidiately. :oops: