Adding Sounds To Portal 2 SDK
Quote from FelixGriffin on September 3, 2012, 7:53 pmBasically, you can't. It's copyright infringement.
If you REALLY want to, and aren't going to release the dialogue with your map, you can extract the sounds from
- Code: Select all
portal content.gcf/sound/vo/aperture_ai
.
Basically, you can't. It's copyright infringement.
If you REALLY want to, and aren't going to release the dialogue with your map, you can extract the sounds from
- Code: Select all
portal content.gcf/sound/vo/aperture_ai
.
Quote from Faja_2485 on September 3, 2012, 8:49 pmFelixGriffin wrote:Basically, you can't. It's copyright infringement.If you REALLY want to, and aren't going to release the dialogue with your map, you can extract the sounds from
- Code: Select all
portal content.gcf/sound/vo/aperture_ai
.
Is there anyway to put your own voice in the map?
If you REALLY want to, and aren't going to release the dialogue with your map, you can extract the sounds from
- Code: Select all
portal content.gcf/sound/vo/aperture_ai
.
Is there anyway to put your own voice in the map?

Quote from FelixGriffin on September 3, 2012, 10:31 pmYes, there are a few options. First you'll need to record your voice, save it as a WAV file in portal2/sound/vo/faja or the like. The easy way is to add an ambient_generic to your level, with that sound. But to get it to work just like in the real game, with the dings before and after and not playing while paused, you need to make a full mod. It's really hard, so you probably don't want to do that.
Yes, there are a few options. First you'll need to record your voice, save it as a WAV file in portal2/sound/vo/faja or the like. The easy way is to add an ambient_generic to your level, with that sound. But to get it to work just like in the real game, with the dings before and after and not playing while paused, you need to make a full mod. It's really hard, so you probably don't want to do that.

Quote from ChickenMobile on September 4, 2012, 5:09 amThe dings are simple. I nicely made up how to set one up through some scripts. (click my sig to find it)
If you are lazy however: you could always play the subsequent scenes through a logic_choreographed_scene with your own timing (I believe there is a OnCompletion output so you can play scenes straight after each other).
The good thing about scenes is people in other languages will speak in their language (or if their language didn't get recorded by Valve: subtitles).Or if you are even lazier than that: play the ding sounds (preferably soundscripts so they can still see the subtitles) through an ambient_generic and trigger them through some timing.
The dings are simple. I nicely made up how to set one up through some scripts. (click my sig to find it)
If you are lazy however: you could always play the subsequent scenes through a logic_choreographed_scene with your own timing (I believe there is a OnCompletion output so you can play scenes straight after each other).
The good thing about scenes is people in other languages will speak in their language (or if their language didn't get recorded by Valve: subtitles).
Or if you are even lazier than that: play the ding sounds (preferably soundscripts so they can still see the subtitles) through an ambient_generic and trigger them through some timing.
Quote from FelixGriffin on September 4, 2012, 5:27 pmIn my contest entry I just used scenes and bypassed glados.nut, and got a nice ding working. If you want to do it that way I can give you a sample instance.
In my contest entry I just used scenes and bypassed glados.nut, and got a nice ding working. If you want to do it that way I can give you a sample instance.
Quote from Faja_2485 on September 4, 2012, 7:47 pmFelixGriffin wrote:Yes, there are a few options. First you'll need to record your voice, save it as a WAV file in portal2/sound/vo/faja or the like. The easy way is to add an ambient_generic to your level, with that sound. But to get it to work just like in the real game, with the dings before and after and not playing while paused, you need to make a full mod. It's really hard, so you probably don't want to do that.See I don't really care about the dings and what not, but I can't even get it working it just says "missing from disk/repository", which I have no clue what it means. The dings aren't a must, but if I can get them in there easily, then I will.
See I don't really care about the dings and what not, but I can't even get it working it just says "missing from disk/repository", which I have no clue what it means. The dings aren't a must, but if I can get them in there easily, then I will.

Quote from Faja_2485 on September 4, 2012, 7:49 pmChickenMobile wrote:The dings are simple. I nicely made up how to set one up through some scripts. (click my sig to find it)If you are lazy however: you could always play the subsequent scenes through a logic_choreographed_scene with your own timing (I believe there is a OnCompletion output so you can play scenes straight after each other).
The good thing about scenes is people in other languages will speak in their language (or if their language didn't get recorded by Valve: subtitles).Or if you are even lazier than that: play the ding sounds (preferably soundscripts so they can still see the subtitles) through an ambient_generic and trigger them through some timing.
I don't know much about .nut so adding all those files is pretty much impossible to me, plus I am only really making 3 maps (right now), so the files don't seem like a must.
If you are lazy however: you could always play the subsequent scenes through a logic_choreographed_scene with your own timing (I believe there is a OnCompletion output so you can play scenes straight after each other).
The good thing about scenes is people in other languages will speak in their language (or if their language didn't get recorded by Valve: subtitles).
Or if you are even lazier than that: play the ding sounds (preferably soundscripts so they can still see the subtitles) through an ambient_generic and trigger them through some timing.
I don't know much about .nut so adding all those files is pretty much impossible to me, plus I am only really making 3 maps (right now), so the files don't seem like a must.

Quote from FelixGriffin on September 4, 2012, 8:37 pmsnd_rebuildaudiocache
snd_rebuildaudiocache
Quote from Faja_2485 on September 5, 2012, 7:11 pmFelixGriffin wrote:snd_rebuildaudiocacheThanks and is there a super easy way to use my voice in the scene choreographer?
Thanks and is there a super easy way to use my voice in the scene choreographer?
