Speech and audio
Speech and audio
How do you play an audio file to accompany windowed NPC speech in FoT? I can't seem to get it working. I have the speech node, and I have the mp3 with the spoken dialogue, but I don't know how to get the bastard to say the lines.
"You're going to have a tough time doing that without your head, palooka."
- the Vault Dweller
- the Vault Dweller
- Jimmyjay86
- Hero of the Glowing Lands
- Posts: 2102
- Joined: Thu Apr 18, 2002 4:02 am
- Location: Wisconsin
- Contact:
- PaladinHeart
- Strider
- Posts: 747
- Joined: Sun Feb 02, 2003 5:28 am
- Contact:
RE
Yes there is some very complicated rules about the correct folder path. I think this is edited in the campaign editor or some text file. Im not sure. I believe someone wrote a tutorial or such on it a while back but I can't recall the details.
"For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. " -John 3:16
Hopes. Dreams. You have to live these things. If not, they will remain prisoner within the confines of your mind for the rest of your life.
Hopes. Dreams. You have to live these things. If not, they will remain prisoner within the confines of your mind for the rest of your life.
I know the sound file info is not edited in a mission's speech.txt.
I know it should go in a subdirectory of locale/missions, (at least that's how the loc_mis*.bos files are setup) but I don't how the game determines what folders reference what missions.
I know it should go in a subdirectory of locale/missions, (at least that's how the loc_mis*.bos files are setup) but I don't how the game determines what folders reference what missions.
"You're going to have a tough time doing that without your head, palooka."
- the Vault Dweller
- the Vault Dweller
- Jimmyjay86
- Hero of the Glowing Lands
- Posts: 2102
- Joined: Thu Apr 18, 2002 4:02 am
- Location: Wisconsin
- Contact:
I think the folder name just has to be the same as the mission name. So if your mission name was "retlaw01.mis" then the folder name would be "core/locale/missions/retlaw01/". For much of the game this is the way it works, so I wouldn't be surprised. One thing to avoid in creating file names is to avoid using spaces and keep everything lower case. You can use an "_" in place of a space.
- PaladinHeart
- Strider
- Posts: 747
- Joined: Sun Feb 02, 2003 5:28 am
- Contact:
RE
You could try using one of the game's default dialogue sound files first. That way you'd know when you have it right, and not have to worry about whether or not your sound file is compatible until you have it right.
Its always best to eliminate, as many things that could be wrong, as is possible.
Its always best to eliminate, as many things that could be wrong, as is possible.
"For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. " -John 3:16
Hopes. Dreams. You have to live these things. If not, they will remain prisoner within the confines of your mind for the rest of your life.
Hopes. Dreams. You have to live these things. If not, they will remain prisoner within the confines of your mind for the rest of your life.
BINGOOO!
Despite the fact that the speech.txt file is loaded into and then incorporated into the level, audio files must be stored in the same directory as the speech file for the game to reference them.
My supply guy, voiced by me, now says his lines like a good little trooper.
Now I just need to dig up a female voice actor to augment my friend and myself and I'll be set.
Thanks for the help!
BTW, I noticed this when looking at loc-mis_A.bos, because something all the audio files had in common was that they were in the same folder as the speech files.
Despite the fact that the speech.txt file is loaded into and then incorporated into the level, audio files must be stored in the same directory as the speech file for the game to reference them.
My supply guy, voiced by me, now says his lines like a good little trooper.
Now I just need to dig up a female voice actor to augment my friend and myself and I'll be set.
Thanks for the help!
BTW, I noticed this when looking at loc-mis_A.bos, because something all the audio files had in common was that they were in the same folder as the speech files.
"You're going to have a tough time doing that without your head, palooka."
- the Vault Dweller
- the Vault Dweller
I now have my supply sergeant and bartender speaking. Now all I need to do is coble together some mission briefings and my commander can speak, too.
Next challenge is finding a female to voice the one character. If I were still up at college it would be no problem, but summertime is another story.
Next challenge is finding a female to voice the one character. If I were still up at college it would be no problem, but summertime is another story.
"You're going to have a tough time doing that without your head, palooka."
- the Vault Dweller
- the Vault Dweller