Difference between revisions of "Documentation/Engine/Units/sound data voice navigation"

From SCS Modding Wiki
Jump to navigation Jump to search
Line 24: Line 24:
 
|string
 
|string
 
|
 
|
|When true (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>)
|-
 
|volume
 
|float
 
|1.0
 
|Playback volume relative to recorded level (0.0 is full attenuation, 1.0 is straight through, 2.0 is twice as loud)
 
 
|}
 
|}

Revision as of 12:42, 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")