Page 1 of 1

Playing sound/music files from dialogue topic.

Posted: 05 Jul 2018, 23:51
by kuyondo
TESCS does not give us the ability to play a sound/music file when clicking on a dialogue topic in-game.

Although, We can use PlaySound or Streammusic command in the dialogue result, not all sounds and music from the game can be used.
Notably, only generic sounds such as npc screams, growls, door opening, etc.. is usable.Image

Notice this option is not available in TESCSImage
In other words, voice actors. :lol:

Re: Playing sound/music files from dialogue topic.

Posted: 07 Jul 2018, 20:19
by Thunderforge
How is Dagoth Ur voice etc managed if the vanilla CS can’t play them through dialogue?

Re: Playing sound/music files from dialogue topic.

Posted: 07 Jul 2018, 22:49
by Sslaxx
As stated above, via the dialogue results box.

Re: Playing sound/music files from dialogue topic.

Posted: 07 Jul 2018, 22:57
by Thunderforge
I'm confused, what is the difference between "dialogue results" and general dialogue?

Re: Playing sound/music files from dialogue topic.

Posted: 08 Jul 2018, 01:36
by Chris
I believe the dialog "Result" is a mini script that's run when the dialog entry is selected/displayed. You could put a Say/PlaySound command there, but that's kind of sloppy (the engine won't inherently know the connection between the audio file being played and the character's dialog entry, so for example it won't know to stop the audio when the next dialog comes up, and it won't know it doesn't have to restart it if the same dialog is displayed again while the audio is still playing). With more interactive dialog, like Oblivion or Skyrim, the engine would also need to know what audio to play and wait for before bringing up the next selections.

Re: Playing sound/music files from dialogue topic.

Posted: 08 Jul 2018, 02:30
by Amenophis
In fact, the second picture shows the dialogue editor in TES-CS. You can see in the bottom a box named "Results". That is the "Dialogue Results Box".

Re: Playing sound/music files from dialogue topic.

Posted: 08 Jul 2018, 08:39
by kuyondo
Thunderforge wrote:
07 Jul 2018, 20:19
How is Dagoth Ur voice etc managed if the vanilla CS can’t play them through dialogue?
Dagoth Ur's speech is played through a script. Not a dialogue result.
This can be demonstrated by opening dialogue with Dagoth Ur, click any topic. But he will not read out his dialogue.(or simply no sound is played)

Next,
We can use dialogue result to play sound and music(using playsound or streammusic command), but not all sounds in the game files can be played directly. (We need to create a new soundID first) which sucks. Notably, npc voice such as "This is the end of you s'wit!" or "You like to dance close to the fire don't you?" cannot be played unless you create a new soundID. (I mean, those sounds are part of the game files already, why do we need to create a new soundID?"

Furthermore, we need to allow these types of sound to played when clicking any dialogue topic, so we can make use of voice actors feature. Currently, TES-CS do not have this options.