Playing sound/music files from dialogue topic.

Feedback on past, current, and future development.
Post Reply
kuyondo
Posts: 243
Joined: 29 Mar 2016, 17:45

Playing sound/music files from dialogue topic.

Post 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:
User avatar
Thunderforge
Posts: 503
Joined: 06 Jun 2017, 05:57

Re: Playing sound/music files from dialogue topic.

Post by Thunderforge »

How is Dagoth Ur voice etc managed if the vanilla CS can’t play them through dialogue?
User avatar
Sslaxx
Posts: 233
Joined: 12 Aug 2011, 18:59
Location: Malvern, UK
Contact:

Re: Playing sound/music files from dialogue topic.

Post by Sslaxx »

As stated above, via the dialogue results box.
User avatar
Thunderforge
Posts: 503
Joined: 06 Jun 2017, 05:57

Re: Playing sound/music files from dialogue topic.

Post by Thunderforge »

I'm confused, what is the difference between "dialogue results" and general dialogue?
Chris
Posts: 1625
Joined: 04 Sep 2011, 08:33

Re: Playing sound/music files from dialogue topic.

Post 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.
User avatar
Amenophis
Posts: 320
Joined: 30 Oct 2011, 04:34
Location: Fortaleza - Ceará - Brasil

Re: Playing sound/music files from dialogue topic.

Post 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".
kuyondo
Posts: 243
Joined: 29 Mar 2016, 17:45

Re: Playing sound/music files from dialogue topic.

Post 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.
Post Reply