| View previous topic :: View next topic |
| Author |
Message |
kgsuarez
Joined: 06 Oct 2004 Posts: 214 Location: Miami, Florida, USA
|
Posted: Sun Apr 24, 2005 9:52 pm Post subject: Assigning a sound to an event? |
|
|
| 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 |
|
 |
EAF274 Johan
Joined: 27 Mar 2005 Posts: 127 Location: Gent, Belgium
|
Posted: Mon Apr 25, 2005 3:12 am Post subject: |
|
|
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 |
|
 |
|
|
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
|