View Single Post
Old 09-24-2002, 05:29 PM   #1
grottel
Grimling Code Editor
 
Join Date: Sep 2002
Server: Xev
Posts: 507
Interface Author - Click to view interfaces
Default Make Sounds based on Chat input

Basically, when someone comes up and says "Hail, Grottel". I want my computer to say "Hail" in the appropriate type voice file (which could be player specified). Doesn't have to be complete speech, but I give the ability of existing code floating on the internet its very possible to make EQ talk.

I would want the following features available:
- default triggers: chat strings, events
- default sounds when trigger are activated.
- customize list of triggers and specify external sound files for each trigger.

Currently, the game is running on its default sound triggers. Now while I have no idea how the engine is running it can be modeled as Trigger:Sound

Chat Triggers
Chat_You are low on food:"C:\sound\StomachGrowl.wav"
Chat_Long Live the king:"C:\sound\Trumpets.wav"
(result- when anyone says "Long live the king" I would hear the sound of trumpets playing.

Game Event Triggers
LevelUp:Ding (default)
DroppedItem:"C:\sound\DropIt.wav" (says "dont need that")
Hailed_Female:"C:\sound\girlsayshi.wav" (says "Hello")
Hailed_Male:"C:\sound\hail-mail.wav" (says "Hail, Grottel")
PickupCoin:KaChing (default)
BardSong_<Name>:"C:\sound\selo.mid" (plays a song)

and then there would be defaults that are there but they wouldn't let you modify

[zonename]BrowseVendorMusic:[zone]Music (default)
MoveGrassRun
MoveGrassWalk
MoveRockRun
MoveRockWalk
grottel is offline   Reply With Quote