View Single Post
Old 07-06-12, 06:50 PM   #17
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
what exactly are you trying to do
A bit complex to explain. I am trying to do some experiments with the whale whose conversion to SH5 was kindly granted by Jimbuna.

I got out simplifying by a strong measure its file structure. Originally the 3D model was contained in a dat file located in the library folder, and attached to the main unit's dat file as a dummy. It meant a double set of DAT, DSD and VAL, files. For sure there was a reason for doing it so, but for me it was quite difficult to track down the problem that made it to ctd on hydrophone station.

Now, the unit is working correctly (no more ctds, detectable on hydrophone, etc.), and I am giving it the final touches. As for sounds this is the plan:

work done

1) I've split the external song sound in 6 different was files sampling different wavelenght ranges, each with different min an max radius set in sdl, since (in real life and by a human ear) low frequencies should be heard from as far as 10 km or so, while high wavelenghts travel much lesser distances. I got out reproducing this effect in game, and I have to say that it is very nice. Besides this, I made the song sounds audible only underwater and, only the two lowest samples, inside the submarine. I wish to reduce a bit the volume of the sounds audible through the hull, but whenever I try, they "desappear".

2) The hydrophone song sound was split in 4 sub-sounds, following the same method as above, but with longer min and max ranges set in sdl file. As lon as I tested them, they worked like a charm. Obviously they are heard only on hydrophone, and at the maximum volume allowed by their ranges.

to do

3) a blowhole spout sound was added to the sdl file, and should be triggered by the corresponding particles. Should be audible only above water, on external camera.

4) taislapping and breaching sounds were also added to the sdl, and should be triggered by the corresponding particles, when the unit crosses given depths below or above the sea level. They should be audible both under and above water and, in lesser measure, inside the sub.

5) finally, a weak wake sound should loop while the whale is moving. This is the only sound tha should depend on unit's speed.

That's all
gap is offline   Reply With Quote