|
13.
|
|
|
For example, if we have::
|
|
|
|
Например::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:82
|
|
14.
|
|
|
And the dialogue identifier is ``demo_minigame_03fc91ef``, then when the corresponding line is shown, Ren'Py will look for the file ``voice/demo_minigame_03fc91ef.ogg``. If the file exists, Ren'Py will play it.
|
|
|
|
Идентификатор диалога: ``demo_minigame_03fc91ef``. Ren'Py будет искать файл ``voice/demo_minigame_03fc91ef.ogg`` и воспроизведет его, если он существует.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:86
|
|
15.
|
|
|
Voice Functions
|
|
|
|
Функции голоса
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/voice.rst:93
|
|
16.
|
|
|
Plays `filename` on the voice channel. The equivalent of the voice statement.
|
|
|
|
Играет `filename` на голосовом канале. Аналогично оператору voice.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/voice:5
|
|
17.
|
|
|
`filename`
|
|
|
|
`filename`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/voice:11
|
|
18.
|
|
|
The filename to play. This is used with :var:`config.voice_filename_format` to produce the filename that will be played.
|
|
|
|
Имя файла для воспроизведения. Используется совместно с :var:`config.voice_filename_format` для создания полного имени файла.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/voice:9
|
|
19.
|
|
|
`tag`
|
|
|
|
`tag`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/voice:20
|
|
20.
|
|
|
If this is not None, it should be a string giving a voice tag to be played. If None, this takes its default value from the voice_tag of the Character that causes the next interaction.
|
|
|
|
Если не None, эта строка указывает на голосовой тег. Если None, принимает значение по умолчанию от voice_tag персонажа, вызывающего следующее взаимодействие.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/voice:14
|
|
21.
|
|
|
The voice tag is used to specify which character is speaking, to allow a user to mute or unmute the voices of particular characters.
|
|
|
|
Тег показывает на то, какой персонаж сейчас разговаривает, что позволит пользователю включать и выключать голоса отдельных персонажей.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/voice:19
|
|
22.
|
|
|
Returns true if it's possible to replay the current voice.
|
|
|
|
Возвращает true, если возможно проиграть текущий голос повторно.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/voice:25
|