Difference between revisions of "Documentation/Engine/Units/sound data voice navigation"
< Documentation | Engine | Units
Jump to navigation
Jump to search
(→Sound data folder) |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''Sound data - voice navigation pack''' | '''Sound data - voice navigation pack''' | ||
− | + | The each voice navigation voice pack is defined in a separate configuration file. | |
Configuration file is located in this game data folder: | Configuration file is located in this game data folder: | ||
/base/sound/navigation | /base/sound/navigation | ||
Line 7: | Line 7: | ||
− | File is very | + | File is very simply unit with this attributes: |
== Attributes == | == Attributes == | ||
{|class="wikitable" | {|class="wikitable" | ||
Line 18: | Line 18: | ||
|string | |string | ||
| | | | ||
− | |Name of the pack (shown in the game). Format | + | |Name of the pack (shown in the game). Format <code>Language</code> - <code>Actor name</code> (e.g. <code>English - Skye (UK)</code>) |
|- | |- | ||
|pack_dir | |pack_dir | ||
Line 25: | Line 25: | ||
|Name of the folder with sound files. (e.g. <code>pack_dir: "/sound/navigation/english_skye_uk"</code>) | |Name of the folder with sound files. (e.g. <code>pack_dir: "/sound/navigation/english_skye_uk"</code>) | ||
|} | |} | ||
− | Good practice is | + | Good practice is use the same name for the configuration unity file and for the folder with sound data. |
== Sound data folder == | == Sound data folder == | ||
Files in the folder are in the ogg format (with .ogg extension). | Files in the folder are in the ogg format (with .ogg extension). | ||
Content of the file is determined by file name prefix (see next table). | Content of the file is determined by file name prefix (see next table). | ||
− | |||
Files with the same prefix are used for the same command and their usage is randomized. | Files with the same prefix are used for the same command and their usage is randomized. | ||
− | + | (''We strongly recommend using only one file commands. Randomization of this is very unintuitive.'') | |
− | (''We strongly recommend using only one file | ||
{|class="wikitable" | {|class="wikitable" | ||
!File prefix | !File prefix | ||
− | !Command | + | !Command |
!Remark | !Remark | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|and_then_exit_left | |and_then_exit_left | ||
− | |"... and then exit left | + | |"... and then exit left" |
− | |''The second part of the | + | |''The second part of the compund command.'' |
|- | |- | ||
|and_then_exit_right | |and_then_exit_right | ||
− | |"... and then exit right | + | |"... and then exit right" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| | | | ||
− | + | |''The second part of the compund command.'' | |
− | |||
− | |||
− | |'' | ||
|} | |} |
Revision as of 12:59, 11 July 2019
Sound data - voice navigation pack
The each voice navigation voice pack is defined in a separate configuration file. Configuration file is located in this game data folder:
/base/sound/navigation
The file can be named arbitrarily but good convention is "language_actor".sii
File is very simply unit with this attributes:
Attributes
Name | Type | Default Value | Description |
---|---|---|---|
pack_name | string | Name of the pack (shown in the game). Format Language - Actor name (e.g. English - Skye (UK) )
| |
pack_dir | string | Name of the folder with sound files. (e.g. pack_dir: "/sound/navigation/english_skye_uk" )
|
Good practice is use the same name for the configuration unity file and for the folder with sound data.
Sound data folder
Files in the folder are in the ogg format (with .ogg extension). Content of the file is determined by file name prefix (see next table). Files with the same prefix are used for the same command and their usage is randomized. (We strongly recommend using only one file commands. Randomization of this is very unintuitive.)
File prefix | Command | Remark | |
---|---|---|---|
and_then_exit_left | "... and then exit left" | The second part of the compund command. | |
and_then_exit_right | "... and then exit right" | The second part of the compund command. |