I'm trying to add some voice-acting to my mod (viewtopic.php?f=181&t=424589), mainly a more threatening Betty (Ship computer).
Has anyone succeeded in adding more "Voices" to the game?
On my side, the text lines are added, and if you enable subtitles, they are written down as if they are being pronounced... but no sound at all.
Here is what I have (Updated to add a proper example):
https://github.com/AlbertoRota/add_voic ... al_example
Debug traces get written down, no error in between, the subtitles correctly show "The battle is over, abandon your ship immediately!", but no sound is played at all.
Can you help me?
[Solved] Adding more voice lines
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 78
- Joined: Fri, 22. Feb 13, 17:34
[Solved] Adding more voice lines
Last edited by Alberto.Rota on Thu, 23. Apr 20, 09:46, edited 2 times in total.
-
- Posts: 78
- Joined: Fri, 22. Feb 13, 17:34
Re: [Question] Adding more voice lines
I've uploaded a minimal example showing the problem to my GitHub, you are welcome to download and point me in the right direction:
https://github.com/AlbertoRota/add_voic ... al_example
It should basically play "/voice/99972009/normal/4401.ogg" every time you or any of your ships shoot to any other ship.
But as stated, the "The battle is over, abandon your ship immediately!" is written down in the ClosedCaption/Subtitles, and in the log, no error between "Custom voice: Before speak" and "Custom voice: After speak".
Any help will be welcome.
https://github.com/AlbertoRota/add_voic ... al_example
It should basically play "/voice/99972009/normal/4401.ogg" every time you or any of your ships shoot to any other ship.
But as stated, the "The battle is over, abandon your ship immediately!" is written down in the ClosedCaption/Subtitles, and in the log, no error between "Custom voice: Before speak" and "Custom voice: After speak".

Any help will be welcome.
-
- Posts: 282
- Joined: Fri, 14. Sep 18, 14:47
Re: [Question] Adding more voice lines
Hey, saw your message.Alberto.Rota wrote: ↑Wed, 22. Apr 20, 18:24 I've uploaded a minimal example showing the problem to my GitHub, you are welcome to download and point me in the right direction:
https://github.com/AlbertoRota/add_voic ... al_example
It should basically play "/voice/99972009/normal/4401.ogg" every time you or any of your ships shoot to any other ship.
But as stated, the "The battle is over, abandon your ship immediately!" is written down in the ClosedCaption/Subtitles, and in the log, no error between "Custom voice: Before speak" and "Custom voice: After speak".![]()
Any help will be welcome.
You did copy the right things of my mod, but forgot to change the extensions folder in your sound_library.xml.

<sample start="extensions\ror\voice\99972009\normal" />
And if you want to create a mod with more voice lines for the public, you should change your page id, because they have to be unique.
-
- Posts: 78
- Joined: Fri, 22. Feb 13, 17:34
Re: [SOLVED] Adding more voice lines
You are absolutely right! I failed to notice that for some reason, thank you very much for pointing it out!!!sco1981 wrote: ↑Wed, 22. Apr 20, 19:05Hey, saw your message.Alberto.Rota wrote: ↑Wed, 22. Apr 20, 18:24 I've uploaded a minimal example showing the problem to my GitHub, you are welcome to download and point me in the right direction:
https://github.com/AlbertoRota/add_voic ... al_example
It should basically play "/voice/99972009/normal/4401.ogg" every time you or any of your ships shoot to any other ship.
But as stated, the "The battle is over, abandon your ship immediately!" is written down in the ClosedCaption/Subtitles, and in the log, no error between "Custom voice: Before speak" and "Custom voice: After speak".![]()
Any help will be welcome.
You did copy the right things of my mod, but forgot to change the extensions folder in your sound_library.xml.![]()
<sample start="extensions\ror\voice\99972009\normal" />
And if you want to create a mod with more voice lines for the public, you should change your page id, because they have to be unique.
I'm going to update the title to SOLVED and to update the GitHub example, just in case it can help any other modders.