Adding voices with subtitles

Avatar
morrock
23 Posts
Posted Jun 15, 2011
Hi, first post, lurked for a decent amount of time though. I'm working on a portal 2 mod with a character who speaks through a PA, just like GLaDOS or Cave Johnson. I'm wondering what would be the best way to do this, how was it done in Portal: Prelude?

I know I can do it as an ambient generic, but doesn't that also keep sounding playing when the game is paused?

And how would I go about adding subtitles to the game?

Advertisement
Registered users don’t see ads! Register now!
Avatar
rossman231
17 Posts
Posted Jun 15, 2011
Replied 38 minutes later
Go to the Valve Developer Wiki, which you should always go to first when you have a mapping question, type in "subtitles" and hit search. This quickly leads you to http://developer.valvesoftware.com/wiki/Closed_Captions which conveniently answers all of your questions.
Avatar
morrock
23 Posts
Posted Jun 15, 2011
Replied 48 minutes later
Thanks. Sorry, I did exactly that, but I typed in "subtitle" instead of "subtitles." As you can see, that makes a big difference, heh.
Avatar
Vordwann
767 Posts
Posted Jun 15, 2011
Replied 1 hour later
Also, Ambient Generics stop when you pause the game in Portal 2
Avatar
CosmicD
125 Posts
Posted Oct 29, 2011
Replied 4 months later
there is a file captions_english.txt in there but it only seems to contain captions for effects, the subtitles are somewhere else and I have yet to find it. Would be cool to be able to add subtitles to my mod.
Avatar
ChickenMobile
2,460 Posts
Posted Oct 30, 2011
Replied 20 hours later

Ahem:

http://developer.valvesoftware.com/wiki ... _(Portal_2

I believe this will cover it for portal 2.

Avatar
Spam Nugget
492 Posts
Posted Oct 30, 2011
Replied 3 hours later

chickenmobile wrote:
Ahem:

http://developer.valvesoftware.com/wiki ... _(Portal_2

I believe this will cover it for portal 2.

Looks like they gave up before even putting in the closing bracket on the title. Such determination.

Avatar
Rubrica
305 Posts
Posted Oct 30, 2011
Replied 23 minutes later

I can't tell how serious you're being, so I'll mention that chickenmobile meant to link to this page:

http://developer.valvesoftware.com/wiki ... _(Portal_2

Avatar
ChickenMobile
2,460 Posts
Posted Oct 30, 2011
Replied 3 hours later

Rubrica wrote:
http://developer.valvesoftware.com/wiki/Subtitles_(Portal_2)

It misses out on the bracket too... strange.

Advertisement
Registered users don’t see ads! Register now!
Avatar
reepblue
894 Posts
Posted Oct 30, 2011
Replied 3 hours later
I did this. And believe me, its a mess. I remember I had to manually config captoncompiler, make a new subtitles english folder, then backup the scenes.image. If you don't back up subtitles_english/scenes.image, your game will break, and GLaDOS/Cave, will no longer work