Changes

Jump to navigation Jump to search

Documentation/Engine/Sound

229 bytes added, 07:21, 15 October 2020
no edit summary
The game uses two ways to define usage of sound object:
# Direct 'sound id':<br>"Sound id" is string in format "[bank filename]#[event name]". Where [bank filename] is file of the bank relative to the game "base" folder and [event name] is name of the event in the FMOD Studio project.<br>Example: ''"/sound/ui/ui.bank#click"''
# Sound reference file:<br>Sound reference file is used as link for the sound specification. It uses simple path to the soundref file (e.g. ''"/sound/ui/ui_click.soundref"'').  == Sound reference file == We prefer and we recommended to use sound reference file.* There are more possibilities to configure sound.* It is easier to change / modding individual sounds. 'Sound reference file structure:' Soundref file is text file (with UTF-8 encoding) and contents 'sound id' on the separate line with following format: source="[bank filename]#[event name]".<br>Example of content of the file ''"ui_click.soundref": source="/sound/ui/ui.bank#click"''
== Sound documentation ==
255
edits

Navigation menu