Osmodium / PathfinderTextToSpeechMod

A mod that introduces text to speech in various parts of the game.
MIT License
14 stars 5 forks source link

Tutorial/Guide Request #27

Open curtwagner1984 opened 5 months ago

curtwagner1984 commented 5 months ago

Hi, I really appreciate your work, we also talked on Nexus.

I wonder if you'd be able to make a guide/short tutorial (or point me to existing guides) on how you been able to accomplish this mod.

What intrest me most is:

  1. How did you manage to create new UI elements and place them in the existing UI.
  2. How do you know to skip to the next dialog. (In auto mode, how do you know when the audio finished playing and you need to 'press' continue.
  3. How do you know when an audio for a dialog already exists (recoreded by read voice actors by Owlcat) so you don't need to generate audio.

Also, in the scope of unity mod manager and mods for Pathfinder games do you know if it's feasable to communicate with a local http server? For example if I want to send this server the dialog inforamtion, and it will handle the audio generation and then report back to the game when the playback has finished?

I'm sorry for leaving an issue here about this, it's just the nexus comments and post system is terrible and it's impossible to know when someone replied to you.

Thank you.

Edit:

Bonus: Is it possible to color each word that's being played in a diffrent color? Like in a karaoke so that the player can read with the audio in case he lost where it is in the text