![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Engineer
![]() Join Date: May 2016
Posts: 217
Downloads: 151
Uploads: 0
|
![]()
In GWX, when you hit a ship with a torpedo, or destroy any kind of enemy (plane, ship, etc) the crew will cheer with a sound from the Das Boot movie.
In LSH3 you hear a "Yaaaah!". I also notice that on vanilla no "cheer" file is played at all. I know this sound files are "Ono_Cheers0X.ogg", but i cant figure out from where is the sound called from. In other words, in what file is it said that this file should be played when the proper events are triggered? it doesnt appear to be in sh3.sdl. What file did GWX & LSH3 modify to make the "cheers" sound file be called when appropiate? Im working on a mini-mod just to "enhance" vanilla a bit (for low end PCs), and i just want to make my crew cheer when appropiate. ![]() any help appreciated. |
![]() |
![]() |
![]() |
#2 |
The Old Man
![]() Join Date: Apr 2007
Posts: 1,304
Downloads: 35
Uploads: 0
|
![]()
Why don't you modify the "Torpedotreffer" ogg file of the Weapons Officer?
Add a short silent sequence and then let the crew 'yippieeee' - and maybe add the 'shhhh - silent!' order too. ![]() And for more fun - add Bernard telling the joke of the old woman and the horse while playing Wagner's Tannhaeuser Overture. You can add whatever you want to any sound file. Edit: Ono_Cheers01.ogg and Ono_Cheers02.ogg are in Vanilla - and GWX used them for the Yippieee, after hitting ships or aircraft. LSH left them unmodified. While you are at it - the creeking sound 04 at deep depth should have some comment of fear, by an unknown crew member in your own voice...
__________________
![]() ![]() 10 happy wolves rear 90 blinded, ensnared sheep. 90 happy sheep banish the wolves. Arrest the 1% - https://www.youtube.com/watch?v=dQ6hg1oNeGE Last edited by Mittelwaechter; 06-28-16 at 08:53 PM. |
![]() |
![]() |
![]() |
#3 |
Engineer
![]() Join Date: May 2016
Posts: 217
Downloads: 151
Uploads: 0
|
![]()
Hi! thanks for your answer.
I guess i could modify the torpedo file and append the "cheer" to it, but im REALLY curious of how GWX and LSH3 do it. I have looked in the sh3.sdl file (again), the .dat files for the submarines, the MESSAGE_XX files, check for sound dedicated .dat files under Library/, files under Crew/... I just cant find it How do they call this file to be played! googling arround i read there is some bug in vanilla in wich people with speech set to german dont hear the cheers while ppl with english voices do, but i have not found how they fixed it. |
![]() |
![]() |
![]() |
#4 |
The Old Man
![]() Join Date: Apr 2007
Posts: 1,304
Downloads: 35
Uploads: 0
|
![]()
LSH didn't mod the original Vanilla file. If someone had problems playing the file - maybe they solved the problem by replacing a German cfg file with an English one (it might even be a patch problem - solved by 1.4b).
I don't know the bug and can't help you here, but the LSH team is around... GWX/A Modder replaced the original Vanilla Yeah/Jawohl soundfile - triggered from sh3.msg or SH3Sound.act or Sound.act or whatever - I don't know. Obviously they created no new trigger, didn't call the file from an unknown source, but simply replaced the soundfile with another one. The 'call' at the correct moment is perfectly programmed - somewhere. To program a new event/trigger/message call, I guess you would have to have the Software Development Kit Ubisoft promised to provide, but refused to hand out. A Hex Editor and a few intense weeks of try and error might do the job. But I could be completely wrong here... EDIT: edit: - no, I changed my mind... ![]() Edit3: http://www.dependencywalker.com/
__________________
![]() ![]() 10 happy wolves rear 90 blinded, ensnared sheep. 90 happy sheep banish the wolves. Arrest the 1% - https://www.youtube.com/watch?v=dQ6hg1oNeGE Last edited by Mittelwaechter; 06-29-16 at 05:06 AM. |
![]() |
![]() |
![]() |
#5 |
Engineer
![]() Join Date: May 2016
Posts: 217
Downloads: 151
Uploads: 0
|
![]()
I dont think dependency walker would work here, because it will show that the sound file is called by sh3.exe, but it wont tell me wich configuration file tells the .exe to call that file.
I just cant figure out. I have tried placing sound related files from GWX (e.g. sh3.sdl), quadruple check the .dat files under library for anything related to speech, looked under Cfg, etc. the only other .dat files i found on GWX & LSH are related to lipsinking. And still those dang cheers are never heard! ![]() I really like the little mod i made, added dragable stopwatch from GWX, atmosphere of LSH, set visual range to 12km, added a nomograph, bearing overlay, etc. A lot of goodies to make vanilla play better. And it feels nice, game loads extremely fast, zero CTDs, i can save while submerged without CTDing later while loading (so far, still testing)... I like it! But i need my cheering when i destroy something! ![]() |
![]() |
![]() |
![]() |
#6 |
Engineer
![]() Join Date: May 2016
Posts: 217
Downloads: 151
Uploads: 0
|
![]()
Finally!
![]() That sound file ono cheers xx is defined to be called on an event called "hunter success", on a file called PUMP.dat in the library folder. Vanilla has it (wrongly) set to call ono_cheers04, wich is incorrect. Changed it to the correct ono_cheers01 in all instances, and it works! Man, that was hard to find! |
![]() |
![]() |
![]() |
#7 |
The Old Man
![]() Join Date: Apr 2007
Posts: 1,304
Downloads: 35
Uploads: 0
|
![]()
Congratulations!
![]() So could you trigger two different files - one for hunter success 'torpedo' and one for hunter success 'aircraft'? There's a cheers_01 and a cheers_02 in Vanilla. Are they called randomly - alternately? Or are they/could they be played accordingly to the different events?
__________________
![]() ![]() 10 happy wolves rear 90 blinded, ensnared sheep. 90 happy sheep banish the wolves. Arrest the 1% - https://www.youtube.com/watch?v=dQ6hg1oNeGE |
![]() |
![]() |
![]() |
#8 | ||
Engineer
![]() Join Date: May 2016
Posts: 217
Downloads: 151
Uploads: 0
|
![]() Quote:
Thats a good question!, to be honest i dint mess with it, i just corrected the values (see below). But there are 3 instances where the "ono_cheer" file is called, all 3 are in diferent sections, under "hunter success" parts that seem otherwise identical. Quote:
![]() Oh well, i got my cheering back! ![]() Now, its time for LESS modding, and MORE playing! ![]() My little mod came out very nice! looks nice, loads fast, no CTDs. Me likes! |
||
![]() |
![]() |
![]() |
#9 |
The Old Man
![]() Join Date: Apr 2007
Posts: 1,304
Downloads: 35
Uploads: 0
|
![]()
The pump sailor...
There is a hunter success in Stalker Idle and in Prey Idle triggered - both call cheers_01. Will do some testing myself... Great find! Have fun playing!
__________________
![]() ![]() 10 happy wolves rear 90 blinded, ensnared sheep. 90 happy sheep banish the wolves. Arrest the 1% - https://www.youtube.com/watch?v=dQ6hg1oNeGE |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|