|
2.
|
|
|
Ren'Py includes support for playing back voice in conjunction with dialogue. This is done through the voice statement, which gives the voice filename to play::
|
|
|
|
Ren'Py поддерживает воспроизведение голоса совместно с диалогом. Это делается оператором voice, который дает имя файла с голосом для воспроизведения::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:8
|
|
3.
|
|
|
Normally, a playing voice is stopped at the start of the next interaction. The voice sustain statement can sustain voice playback through an interaction. ::
|
|
|
|
Воспроизведение голоса обычно прерывается при начале следующего действия. Оператор voice sustain может предотвратить это. ::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:15
|
|
4.
|
|
|
The :var:`config.voice_filename_format` variable allows you to customize the voice filename, making it possible to omit directories and extensions.
|
|
|
|
Переменная :var:`config.voice_filename_format` позволяет вам настроить имена файлов голоса, что позволит указывать имена файлов без папок или расширений.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:25
|
|
5.
|
|
|
Voice Tags
|
|
|
|
Голосовые теги
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:29
|
|
6.
|
|
|
Ren'Py includes a voice tag system that makes it possible to selectively mute or unmute a character's voice. To take advantage of this system, supply a voice_tag argument to each :func:`Character`, and use the :func:`SetVoiceMute` or :func:`ToggleVoiceMute` actions to allow the player to toggle the voice.
|
|
|
|
Ren'Py поддерживает систему тегов, которая позволит выборочно отключать или включать голоса персонажей. Для того, чтобы воспользоваться этой системой, передайте каждому персонажу (:func:`Character`) аргумент voice_tag и используйте функции :func:`SetVoiceMute` или :func:`ToggleVoiceMute`, чтобы позволить игроку выбирать голоса.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:31
|
|
7.
|
|
|
For example::
|
|
|
|
Например::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:37
|
|
8.
|
|
|
Automatic Voice
|
|
|
|
Автоматический выбор голоса
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:62
|
|
9.
|
|
|
Ren'Py includes support for automatically determining the voice file to play, making it possible to play back voice without having to put voice statements before each line of dialogue.
|
|
|
|
Ren'Py позволяет автоматически определить имя файла с голосом, что позволяет играть голос без использования оператора voice перед каждой строкой диалога.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:64
|
|
10.
|
|
|
This is done by creating voice files that match the identifier for each line of dialogue. To determine the identifiers to use , first export the dialogue to a spreadsheet by choosing from the launcher "Extract Dialogue", "Tab-delimited Spreadsheet (dialogue.tab)", and "Continue". This will produce a file, dialogue.tab, that can be loaded in a spreasheet program.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/voice.rst:68
|
|
11.
|
|
|
The first column of the spreadsheet is the identifier to use, with other columns giving more information about the dialogue.
|
|
|
|
Первая колонка таблицы будет содержать идентификаторы, а остальные - другую информацию о диалоге.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:74
|