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

From SCS Modding Wiki
Jump to navigation Jump to search
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:
 +
    /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 ==
 +
{|class="wikitable"
 +
!Name
 +
![[Documentation/Engine/Units#Attribute_types|Type]]
 +
!Default Value
 +
!Description
 +
|-
 +
|pack_name
 +
|string
 +
|
 +
|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
 +
|string
 +
|
 +
|When true (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:40, 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 When true (e.g. pack_dir: "/sound/navigation/english_skye_uk")
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)