| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
hpl3:community:other:managing_audio [2019/12/30 18:51] cadely [Preparing Voice Files (using VoiceHandler)] |
hpl3:community:other:managing_audio [2019/12/30 21:41] (current) cadely [Overview - Setting up Voices for Mods:] |
||
|---|---|---|---|
| Line 177: | Line 177: | ||
| </file> | </file> | ||
| - | 5. Rename each .ogg file of dialog to match the "File Name" in each voice handler line entry | + | 5. Add these two lines to your mod's "resources.cfg" file: |
| + | |||
| + | <code> | ||
| + | ... | ||
| + | <Directory Path="/lang/eng" AddSubDirs="true"/> | ||
| + | <Directory Path="/voices" AddSubDirs="true"/> | ||
| + | ... | ||
| + | </code> | ||
| + | |||
| + | 6. Rename each .ogg file of dialog to match the "File Name" in each voice handler line entry | ||
| * In VoiceHandler.exe under the "Subjects" tab, click the circular down arrow in a dialog line | * In VoiceHandler.exe under the "Subjects" tab, click the circular down arrow in a dialog line | ||
| Line 183: | Line 192: | ||
| * Rename the file to be [GeneratedName].ogg | * Rename the file to be [GeneratedName].ogg | ||
| - | 6. In your map's .hps script file, trigger the "Subject" from your map's .voice file by adding this line (replacing "SubjectName" with the Subject that dialog line is located in when you made a .voice file): | + | 7. In your map's .hps script file, trigger the "Subject" from your map's .voice file by adding this line (replacing "SubjectName" with the Subject that dialog line is located in when you made a .voice file): |
| <code> | <code> | ||
| Line 189: | Line 198: | ||
| </code> | </code> | ||
| - | 6. (optional) Get "Test Voice Over" button to work | + | 8. (optional) Get "Test Voice Over" button to work |
| * Copy VoiceHandler.exe, libvorbis.dll, and libogg.dll from the SOMA directory to your mod's directory, and launch VoiceHandler.exe from your mod directory. Then open your .voice file and you should be able to preview Subjects | * Copy VoiceHandler.exe, libvorbis.dll, and libogg.dll from the SOMA directory to your mod's directory, and launch VoiceHandler.exe from your mod directory. Then open your .voice file and you should be able to preview Subjects | ||