Playing sound/music files from dialogue topic.

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

Playing sound/music files from dialogue topic.

Post by kuyondo » 05 Jul 2018, 23:51

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: 495
Joined: 06 Jun 2017, 05:57
Github profile: https://github.com/Thunderforge

Re: Playing sound/music files from dialogue topic.

Post by Thunderforge » 07 Jul 2018, 20:19

How is Dagoth Ur voice etc managed if the vanilla CS can’t play them through dialogue?

User avatar
Sslaxx
Posts: 222
Joined: 12 Aug 2011, 18:59
Location: Malvern, UK
Github profile: https://github.com/Sslaxx/
Contact:

Re: Playing sound/music files from dialogue topic.

Post by Sslaxx » 07 Jul 2018, 22:49

As stated above, via the dialogue results box.
Stuart "Sslaxx" Moore.

User avatar
Thunderforge
Posts: 495
Joined: 06 Jun 2017, 05:57
Github profile: https://github.com/Thunderforge

Re: Playing sound/music files from dialogue topic.

Post by Thunderforge » 07 Jul 2018, 22:57

I'm confused, what is the difference between "dialogue results" and general dialogue?

Chris
Posts: 1513
Joined: 04 Sep 2011, 08:33

Re: Playing sound/music files from dialogue topic.

Post by Chris » 08 Jul 2018, 01:36

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: 249
Joined: 30 Oct 2011, 04:34
Location: Fortaleza - Ceará - Brasil

Re: Playing sound/music files from dialogue topic.

Post by Amenophis » 08 Jul 2018, 02:30

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".
My fixes and tweaks on vanilla and modded quests for Morrowind.
http://www.nexusmods.com/morrowind/mods/43107/?

User avatar
kuyondo
Posts: 221
Joined: 29 Mar 2016, 17:45

Re: Playing sound/music files from dialogue topic.

Post by kuyondo » 08 Jul 2018, 08:39

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.

Equinox
Posts: 15
Joined: 31 Jul 2018, 20:13

Re: Playing sound/music files from dialogue topic.

Post by Equinox » 20 Aug 2018, 13:40

I tried in OpenMW-CS, it doesnt work.
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests