| View previous topic :: View next topic |
| Author |
Message |
Mowgli
Joined: 25 Dec 2001 Posts: 169 Location: South Wales
|
Posted: Fri May 06, 2005 9:52 am Post subject: Can you link sounds to commands? |
|
|
I see in the CFG files that there are ones specific to each station onboard the boat. There are also numerous OGG files that are not being used. The developers obviously ran out of time - which is a pity as the radio station could have been a real fun place.
My question is, can I link an ogg file to the "Send Patrol Report" option at the Radio Operatiors station.
I have created some morse code files that I would like to be transmitted when I hit that option. |
|
| Back to top |
|
 |
Mowgli
Joined: 25 Dec 2001 Posts: 169 Location: South Wales
|
Posted: Fri May 06, 2005 11:25 pm Post subject: Please |
|
|
Come on guys. Someone must know.
Is it just me who wants to hear morse being transmitted when we send our patrol reports or receive orders.
The sound folder is full of radio report messages and are either disabled because it was always inteded as a nice east feature for a 1.3 patch or the work was never completed.
If anyone wants an mp3 morse file to drop in their gramaphone folder than post address and I will email. Very small file. |
|
| Back to top |
|
 |
tommyk
Joined: 22 Apr 2005 Posts: 313
|
Posted: Sat May 07, 2005 2:46 am Post subject: |
|
|
yes, now that even the first new model is done its time to get on the sounds a bit more deep.
Many sounds are there (as oggs) but will never be played in the game (like the 'tube loaded' which will hopefully be in patch 1.3)
there has to be a config-file that links 'action->sound'
anyone with hint where to start looking? |
|
| Back to top |
|
 |
Stary Wuj
Joined: 10 Jan 2002 Posts: 269 Location: Poland, Warsaw
|
Posted: Sat May 07, 2005 4:38 am Post subject: |
|
|
Great Idea !!!!
I think Sh3.sdl file in Sound catalogue is bound with .wav files.
And few, or one (suggestion - PUMP.dat file) in Library catalogue
are bound with .ogg files in game. Why PUMP file in my opinion ?
Because my friend found in German Forum this file in little modded version, when I replace this one with in-game "after patch 1.2" file I have HAPPY crew, when I destroy enemy ship, I use German voices BTW. Before replacing I never hear HAPPY crew in German voices version.
Sorry about my english, I'm not so stupid, only my english is
too basic
Stary Wuj |
|
| Back to top |
|
 |
Mowgli
Joined: 25 Dec 2001 Posts: 169 Location: South Wales
|
Posted: Sat May 07, 2005 6:03 am Post subject: This is a start |
|
|
These are the files in the cfg folder that call relevant ogg sound files in the speech 1-9 folders.
Message_CH.cfg Helmsman
Message_NA.cfg Navigator
Message_RA.cfg Radio Operator
Message_SO.cfg Sonar Operator
Message_WA.cfg Watch Officer
Message_WE.cfg Weapons Officer
The Sonar and Weapons Officer are good to look at to see how the associated sounds are played with a priority - the params are fairly straight forward.
I am going to experiment with these two guys for now. Will try to get extra reports going. |
|
| Back to top |
|
 |
EAF274 Johan
Joined: 27 Mar 2005 Posts: 127 Location: Gent, Belgium
|
Posted: Sat May 07, 2005 6:23 am Post subject: Re: Can you link sounds to commands? |
|
|
| Mowgli wrote: | | My question is, can I link an ogg file to the "Send Patrol Report" option at the Radio Operatiors station. |
There are two ways that could make this work:
1) the easy way use a audio program to change the RaM_x_Radio_message_sent.ogg sound file in all 1-9 folders so that you hear the morse code before the speech
2) use a hex editor to edit the RA.dat file in data\library so that your morse code sound is played before the entry PlayMsgRaM_K_,Contact_report_sent. Unfortunately you are on unknown territory, because so far nobody has got this to work.
Here's a list of all relevant files that I know:
- CH.dat, CH2.dat, CH_speech.dat (Chief Engineer)
- HelmA.dat, HelmF.dat (2 helmsmen in tower?)
- Nav.dat (navigator)
- POSW.dat, POSWR.dat (lookouts on bridge?)
- Pump.dat (standing helmsman in tower)
- RA.dat (radio/radar man)
- SN.dat, SN2.dat (sonar/hydrophone man)
- UZO.dat, UZOR.dat (lookouts on bridge?)
- WO.dat (WO and Weapons Officer)
- Phrases_Voice_1-9.dat (actors, I think these regulate the lip synchronisation as they are different for German and English versions)
I don't know what the exact funtion is of the .cfg files that Mowgli mentioned |
|
| Back to top |
|
 |
Stary Wuj
Joined: 10 Jan 2002 Posts: 269 Location: Poland, Warsaw
|
Posted: Sat May 07, 2005 9:52 am Post subject: |
|
|
Mowgli --> in German speaking crew I never heard "Depth charges in the water" sound from my Sonarman, mayby You can do something to repair this problem ?
Will be great !!
This sounds are in Sounds catalogue, but not used IMO.
Thank You
Stary Wuj |
|
| Back to top |
|
 |
tommyk
Joined: 22 Apr 2005 Posts: 313
|
Posted: Sat May 07, 2005 10:14 am Post subject: |
|
|
OK, I start with something I never heard but what is there
The OGG: [1-9]/WeO_K_Tube_1_ready_sir.ogg
And in the config:
[...]
[Msg5]
MsgId=5
Priority=2
Timeout=5
Param0=7
MsgOgg00=Tube_ready_sir
MsgOgg01=Tube_1_ready_sir
MsgOgg02=Tube_2_ready_sir
MsgOgg03=Tube_3_ready_sir
MsgOgg04=Tube_4_ready_sir
MsgOgg05=Tube_5_ready_sir
MsgOgg06=Tube_6_ready_sir
[...]
For me the part before is unclear. Where might be the trigger for this action (event happens->lets play acourding soundfile)
So I am looking for the dat-files...
I find in data/library such lines:
-> Created/Modified using Kashmir
Hmm, what Kashmir-Tool is that referring too? Maybe for animations?
well, the hunt begins
The WO.dat seems to be a scriptfile (sample without parameter)
Stalker_TalkToCaptain_Wait_Debut_Talking
OnCollision
LipsChangeSet SpeechAngry
FacialChangeSet ExpressionAngry
PlayAnimIntr WO_shk1
OnHitGreaterThan 15 { LipsChangeSet SpeechAngry FacialChangeSet ExpressionAngry
PlayAnimIntr WO_shk1 Camera on
EyeballSetTarget CrtCamera
PlayAnimIntr WO_turn_d_p
UboatState Stalker
LipsChangeSet SpeechNormal
FacialChangeSet ExpressionNormal
PlayAnimIntr WO_p4s1
UboatState ReadyForShake
[and so on] |
|
| Back to top |
|
 |
Fercyful
Joined: 21 Apr 2005 Posts: 46 Location: MDQ (Submarines Naval Base) - Argentina
|
Posted: Sat May 07, 2005 11:30 am Post subject: |
|
|
good luck in the hunt!!
Really hope you will can make a MOD for have all those "lost sounds" inside the game!! Maybe the developers left those .ogg files there for somebody MOD them or maybe they will add some of them in a future official patch... if that is not the case why they didn´t simple delete the "extra" unused .ogg files in the release, no? :know: |
|
| Back to top |
|
 |
tommyk
Joined: 22 Apr 2005 Posts: 313
|
Posted: Sat May 07, 2005 1:30 pm Post subject: |
|
|
> if that is not the case why they didn´t simple delete the "extra" unused .ogg files in the release, no?
absolutly right!
Because there is no "delete files we have not yet finished" on the project plan. but there is always room for a little patch
I guess the dev-team pointed their arrows very high (see what is structural changed from sh2) and just ran out of time...
A SDK would be great. Some things will already be done with the 1.3 patch (torpedo oggs, if I remember right).
Rest is up to ourselfs since there will most surely not be a DB-sound in any offizial patch  |
|
| Back to top |
|
 |
csengoi
Joined: 04 Apr 2005 Posts: 146 Location: Hungary
|
Posted: Mon May 09, 2005 12:58 pm Post subject: |
|
|
| So we have to wait for the patch? |
|
| Back to top |
|
 |
tommyk
Joined: 22 Apr 2005 Posts: 313
|
|
| Back to top |
|
 |
EAF274 Johan
Joined: 27 Mar 2005 Posts: 127 Location: Gent, Belgium
|
Posted: Tue May 10, 2005 1:27 pm Post subject: |
|
|
Maybe this info is useful on our quest to add sounds:
The patch (which adds the sounds for torpedo loading) does not seem to change any of the .cfg or .dat files. Instead, it changes the SH3sound.act, sound.act and lipsync.act files.
I had a brief look into these files with a hex editor but they don't make me any wiser. |
|
| Back to top |
|
 |
tommyk
Joined: 22 Apr 2005 Posts: 313
|
Posted: Tue May 10, 2005 1:31 pm Post subject: |
|
|
Ah, thanks for the hint!
I just made a backup from the whole v1.2-data-directory to compare the files and see the changes made to the now implemented "Torpedo loaded" sounds currently re-installing SH3... |
|
| Back to top |
|
 |
Fercyful
Joined: 21 Apr 2005 Posts: 46 Location: MDQ (Submarines Naval Base) - Argentina
|
Posted: Tue May 10, 2005 1:48 pm Post subject: |
|
|
| tommyk wrote: | Ah, thanks for the hint!
I just made a backup from the whole v1.2-data-directory to compare the files and see the changes made to the now implemented "Torpedo loaded" sounds currently re-installing SH3... |
tommyk !!! Hope you will find that clue... It can open a lot for MOD the other souds we all want. good luck and please post your results here  |
|
| Back to top |
|
 |
|