getEnvSoundController problems and getAllEnvSoundControllers not returning sounds controllers correctly
Reviewed, NormalPublic

Description

First Bug :
The command getEnvSoundController not working for "meadow" and "windy" sounds controllers, returning all the time 0, but these two sound controllers are inside environment sound config in Tanoa config.

This command need to delete the support of "meadows" sound controller, because it's only for CfgWeapons and not for environment sounds and instead adding support of "meadow" sound controller, this one is for environment sounds.

This command need to delete the support of "wind" sound controller, because it's only for CfgVehicles and not for environment sounds and instead adding support of "windy" sound controller, this one is for environment sounds.

Second Bug :
getAllEnvSoundControllers returning "meadows" and "wind" sounds controllers instead of "meadow" and "windy" sounds controllers.

"meadows" sound controller is used for CfgWeapons and not environment sounds.
"wind" sound controller is used for CfgVehicles and not for environment sounds.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Sound
Steps To Reproduce

First Bug :

Set a very strong wind, with these lines :

setWind [50,50,true]

And use these lines to recover the value of "windy" sound controller :

position player getEnvSoundController "windy";

And you will see that's returning 0, but any sounds of Tanoa that's a volume with "windy" sound controller working fine, like sounds of wind in the leaves of tree

Second Bug :

Use these line :

getAllEnvSoundControllers (position player);

And you will see, this command returning "meadows" and "wind" sounds controllers instead of "meadow" and "windy" sounds controllers.
Another note : wind sound value from this command returning 0 all the time too.

NiiRoZz created this task.Wed, Jan 10, 6:21 PM
NiiRoZz renamed this task from getEnvSoundController problems and getAllEnvSoundControllers not returning sound controllers correctly to getEnvSoundController problems and getAllEnvSoundControllers not returning sounds controllers correctly.
NiiRoZz updated the task description. (Show Details)
NiiRoZz updated the task description. (Show Details)Wed, Jan 10, 6:23 PM
NiiRoZz updated the task description. (Show Details)
NiiRoZz edited Steps To Reproduce. (Show Details)Wed, Jan 10, 6:25 PM
Wulf changed the task status from New to Reviewed.Thu, Jan 11, 9:42 AM
Wulf added a subscriber: Wulf.

Hello.

Thank you for the report, we are aware of the issue and are looking into it.