Custom content: Difference between revisions

No edit summary
Line 18: Line 18:


Annoyed that some words aren't pronounced correctly and don't want to create a bunch of autotexts? Make your own lexical additions! Open up the game's data folder (Windows: %appdata%\tko) (Linux: ~/.config/local/TKo/). Create a file called "lexicon.txt" and enter this text:
Annoyed that some words aren't pronounced correctly and don't want to create a bunch of autotexts? Make your own lexical additions! Open up the game's data folder (Windows: %appdata%\tko) (Linux: ~/.config/local/TKo/). Create a file called "lexicon.txt" and enter this text:
<code>
<pre>
# This is a comment
# This is a comment
text : hh eh0 l ow0
text : hh eh0 l ow0
</code>
</pre>
This is a lexical pronunciation file ("addenda") that is re-applied when you focus back in to the game. In this example, when writing "test" in the game, your character pronounces it as "hello" as spelled out by the phonemes ("hh eh0 l ow0"). You can refer to the TTS library (Festvox/Flite) [http://festvox.org/bsv/c4711.html phonome page] for a reference.
This is a lexical pronunciation file ("addenda") that is re-applied when you focus back in to the game. In this example, when writing "test" in the game, your character pronounces it as "hello" as spelled out by the phonemes ("hh eh0 l ow0"). You can refer to the TTS library (Festvox/Flite) [http://festvox.org/bsv/c4711.html phonome page] for a reference.