![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
Hi there,
I am currently working on importing a SHIII unit in SH5. Among other things, I am trying to set the volume of its sounds. For doing it I am using the AmbientVolume controller, that allows us to change sound volumes depending on both camera and parent object's location. Its main parameters are sorted in arrays. Each array is composed by an identifier (making reference to SounSource identifiers in the same dsd file) and by a group of volume modifiers for different camera and object position: Code:
ObjectAboveWater ObjectBelowWater CameraAboveWater CameraBelowWater CameraInterior CameraSonar - whenever I set two or more sounds to share the same identifier, trying to set their volume as a group, SounSource stops working and they can be heard "normally" in game as if the controller wasn't there. - If I am not mistaken, sound modifier parameters seem to be expressed as percentages of the original volume (0=silent, 1=100%); nonetheless, everytime I try to set a value <1, instead of being reduced sounds are zeroed. In other words, the controller behaves like an on/off trigger. Did anyone else experiment with it? I wonder whether I am missing something, or peraphs AmbientVolume is no longer fully supported by SH5? ![]() |
![]() |
![]() |
|
|