Thread: talkey
View Single Post
  #2  
Old 01-18-2018, 04:09 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 9,444
Default

You can associate a sound file with a dialog line already.

For example, for this line (in Loc/English/npcChat.trn)
GenericTalk1 "How can I help you, ##1##?"

if you wanted a sound file to player when that is displayed you could add a line like the following to the DialogSoundSystem entry in systems.gdb:
GenericTalk1 Sounds/Dialog/genericTalk1.ogg
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, Din's Legacy, & Drox Operative 2
Patreon
Reply With Quote