Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Assigning a sound to an event?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
kgsuarez



Joined: 06 Oct 2004
Posts: 214
Location: Miami, Florida, USA

PostPosted: Sun Apr 24, 2005 9:52 pm    Post subject: Assigning a sound to an event? Reply with quote

Is there a way to make a sound play when a certain event occurs? For example, I would like a voice notification when my RA receives a new contact report (convoy or single).
Back to top
View user's profile Send private message
EAF274 Johan



Joined: 27 Mar 2005
Posts: 127
Location: Gent, Belgium

PostPosted: Mon Apr 25, 2005 3:12 am    Post subject: Reply with quote

You will need a hex editor program to do this.

Look for .DAT files in the data\library directory. There are files for all the voices (Phrases_Voice1-9.dat) as well as files for every character: e.g. SO.dat (sonar), WO.dat (1st officer), CH.dat CH2.dat CH_speech.dat (chief engineer), PUMP.dat (3rd helmsman in the tower) etc.

In some files you will find the line "StateMachineClass". Such files contain a playlist for animations and sounds in different situations. E.g. in PUMP.dat:
UboatState -> Hunter_Success
LipsChangeSet -> SpeechHappy
FacialChangeSet -> ExpressionHappy
PlayPhrase -> Ono_Cheers04
PlayAnimIntr -> P_happy_s
PlayAnim -> PM_idle

This is about as much as I know about it. I have tried to edit some of those files to include some of the missing speech, but it never worked for me...
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group